[oe] [meta-java] gcc 4.8 and openjdk-8

Jacopo Malvestio jacopo.malvestio at gmail.com
Tue Jul 12 05:09:32 UTC 2016


On 12/07/2016 01:48, Khem Raj wrote:
> On Mon, Jul 11, 2016 at 3:32 PM, Jacopo Malvestio
> <jacopo.malvestio at gmail.com> wrote:
>> Hello All,
>>
>> I've created a .bbappend file with:
>>
>> CFLAGS_remove = "-fno-lifetime-dse"
>> CXXFLAGS_remove = "-fno-lifetime-dse"
>>
>> but the do_configure step fail, bitbake -v openjdk-8 log:
>>
>> | configure: Current directory is /home/jacopo/yjp/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/build.
>> | configure: Since this is not the source root, configure will output the configuration here
>> | configure: (as opposed to creating a configuration in <src_root>/build/<conf-name>).
>> | configure: However, this directory is not empty. This is not allowed, since it could
>> | configure: seriously mess up just about everything.
>> | configure: Try 'cd /home/jacopo/yjp/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2' and restart configure
>> | configure: (or create a new empty directory and cd to it).
>> | configure: error: Will not continue creating configuration in /home/jacopo/yjp/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/build
>> | NOTE: The following config.log files may provide further information.
>> | NOTE: /home/jacopo/yjp/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/build/config.log
>> | ERROR: configure failed
>> | 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



More information about the Openembedded-devel mailing list