[oe] [meta-java] [PATCH] cacao-initial-native build issues on gcc 4.4

Otavio Salvador otavio at ossystems.com.br
Tue Jul 7 15:18:02 UTC 2015


On Wed, Jun 24, 2015 at 12:27 PM, Amy Fong <amy.fong at windriver.com> wrote:
> From 460ba5f0f8d995e430608ae41eb6527da61bcb3e Mon Sep 17 00:00:00 2001
> From: Amy Fong <amy.fong at windriver.com>
> Date: Tue, 23 Jun 2015 17:13:58 -0400
> Subject: [PATCH] cacao-initial-native build issues on gcc 4.4
>
> The following error is seen when cacao-initial is built with gcc 4.4:
>
>   LOG: [0x00007f595fed3700] We received a SIGSEGV and tried to handle it, but we were |
>   LOG: [0x00007f595fed3700] unable to find a Java method at: |
>   LOG: [0x00007f595fed3700] |
>   LOG: [0x00007f595fed3700] PC=0x0000000000459a37 |
>   LOG: [0x00007f595fed3700] |
>   LOG: [0x00007f595fed3700] Dumping the current stacktrace: |
>           at java.lang.String.<clinit>()V(String.java:185) |
>   LOG: [0x00007f595fed3700] Exiting... |
>   Aborted (core dumped)
>
> Adapting fix from the following (add -fno-strict-aliasing to CFLAGS):
>
>   2009-06-24 Andrew John Hughes <ahughes at redhat.com>
>
>   * patches/cacao/no-strict-aliasing.patch:
>   New patch to fix CACAO build on GCC 4.4 (see PR129).
>   * Makefile.am: Add new patch.
>   * HACKING: Update.
>
> Signed-off-by: Amy Fong <amy.fong at windriver.com>

There is no reason to have a GCC 4.4 fix in master; this should be
added to the customer layer.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750



More information about the Openembedded-devel mailing list