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

Khem Raj raj.khem at gmail.com
Wed May 10 05:56:21 UTC 2017


On Tue, May 9, 2017 at 10:53 PM, Jan Kiszka <jan.kiszka at siemens.com> wrote:
> On 2017-05-10 07:46, Khem Raj wrote:
>> 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
>
> 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?

yes it should be handled in the jdk build system., no I am not doing
this upstream

>
> Jan
>
> --
> Siemens AG, Corporate Technology, CT RDA ITP SES-DE
> Corporate Competence Center Embedded Linux



More information about the Openembedded-devel mailing list