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

Otavio Salvador otavio.salvador at ossystems.com.br
Thu Dec 17 12:38:53 UTC 2015


On Wed, Dec 16, 2015 at 8:03 AM,  <jackie.huang at windriver.com> wrote:
> From: Amy Fong <amy.fong at windriver.com>
>
> 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>
> Signed-off-by: Jackie Huang <jackie.huang at windriver.com>

I understand there are people which uses old toolchain however I don't
think we ought to add support for this on master. I think this
specific patch should be handled by your vendor distro (or customer
layer) as it adds non-needed code for OE-Core supported toolchains.

I am nacking this patch!

-- 
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