[oe] [meta-java] gcc6 support breaks build for gcc < 6
Winfried
winfried_mb2 at xmsnet.nl
Tue Jul 12 11:56:59 UTC 2016
>>> | ERROR: Function failed: do_configure (log file is located at
>>> /home/jacopo/yjp/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.2980
>>>
>>> I'm running on ubuntu 14.04 with gcc4.8 and openjdk 1.8, i don't
>>> think it's a side effect of the gcc6 patch, but in your opinion, i
>>> forgot something?
>>>
>>
>> this is building openjdk-8-native package. So you need to add a
>> bbappend for openjdk-8-native_72b05.bb as well
>
> already done:
>
> ➜ openjdk git:(develop) cat openjdk-8-native_72b05.bbappend
> CFLAGS_remove = "-fno-lifetime-dse"
> CXXFLAGS_remove = "-fno-lifetime-dse"
>
> openjdk-8 is not a recipe, correct? any suggestion?
>
> thank you. jacob
Here is the .bbappend that works for me:
wdobbe at tc-linux-build2:~/yocto/peek-krogoth/sources/meta-peek/recipes-core/openjdk>
cat openjdk-8-native_%.bbappend
CFLAGS_remove = "-fno-lifetime-dse"
CXXFLAGS_remove = "-fno-lifetime-dse"
More information about the Openembedded-devel
mailing list