[oe] meta-java: Building openjre-8 on a non-gcc-6 host

Khem Raj raj.khem at gmail.com
Wed May 10 05:46:57 UTC 2017


On Tue, May 9, 2017 at 10:34 PM, Jan Kiszka <jan.kiszka at siemens.com> wrote:
> Hi all,
>
> seems like the current cross rules for openjre-8 at least break if the
> host compiler < gcc-6: -fno-lifetime-dse gets injected based on the
> cross compiler version, which is 6, but is also used for the few native
> pieces of that build.
>
> Any suggestions how to fix that properly? I had to temporarily redirect
> my default gcc from 4.8 to gcc-6.
>

see if you can check  -fno-lifetime-dse options is supported in
Makefiles before using the option, that way you can ensure that its
only used with
compilers which support it

> Thanks,
> Jan
>
> --
> Siemens AG, Corporate Technology, CT RDA ITP SES-DE
> Corporate Competence Center Embedded Linux
> --
> _______________________________________________
> 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