[oe] [meta-java] gcc6 support breaks build for gcc < 6

Dan McGregor danismostlikely at gmail.com
Tue Jul 12 04:52:07 UTC 2016


On 11 Jul 2016 7:19 a.m., "Otavio Salvador" <
otavio.salvador at ossystems.com.br> wrote:
>
> Hello Dobbe,
>
> (Added Khem and Fabio on Cc)
>
> On Mon, Jul 11, 2016 at 8:37 AM, Winfried <winfried_mb2 at xmsnet.nl> wrote:
> > Commit  33ddb28a6428b02ddcc82d1954ecf27cd426fbb5 (openjdk-8: make GCC6
> > happy) adds gcc option -fno-lifetime-dse, which was added in gcc6. This
> > breaks the compilation of openjdk-native on hosts where gcc4 or gcc5 is
the
> > default compiler.
> >
> > If this is intentional, I think the README file should mention that
> > meta-java requires gcc6. Better would be to add the '-fno-lifetime-dse'
> > option only if gcc >= 6 is used for native compilation (if that is
> > possible).
>
> This is a non-desired side effect of the patch. Daniel, could you take
> a look on this?

Yep. I'll take a look in the morning.

>
> --
> 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
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list