[oe] meta-java: Building openjre-8 on a non-gcc-6 host
Jan Kiszka
jan.kiszka at siemens.com
Wed May 10 05:53:02 UTC 2017
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?
Jan
--
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux
More information about the Openembedded-devel
mailing list