meta-java: Building openjre-8 on a non-gcc-6 host
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.
Thanks,
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center Embedded Linux
Quoted 10 lines · Jan Kiszka
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
Quoted 11 lines
Thanks,
Jan--
Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center Embedded Linux --
_______________________________________________
Openembedded-devel mailing list [email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Quoted 8 lines · Khem Raj
Quoted 7 lines · Jan Kiszka
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.
Quoted 8 lines
Quoted 3 lines
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
OK, that means another patch to openjdk, right? OTH, the injection comes from the recipes. Are you synchronizing with upstream on the those cross-build issues?
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center Embedded Linux
Quoted 13 lines · Jan Kiszka
Quoted 12 lines · Khem Raj
Quoted 10 lines · Jan Kiszka
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.
Quoted 8 lines
Quoted 4 lines
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 itOK, that means another patch to openjdk, right? OTH, the injection comes from the recipes. Are you synchronizing with upstream on the those cross-build issues?
yes it should be handled in the jdk build system., no I am not doing this upstream
Quoted 6 lines
Jan
--
Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center Embedded Linux