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

Khem Raj raj.khem at gmail.com
Tue Jul 12 23:23:22 UTC 2016


On Mon, Jul 11, 2016 at 10:09 PM, Jacopo Malvestio
<jacopo.malvestio at gmail.com> wrote:
> 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?

Hmm can you revert.

http://git.yoctoproject.org/cgit/cgit.cgi/meta-java/commit/?id=33ddb28a6428b02ddcc82d1954ecf27cd426fbb5

>
> thank you. jacob
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel



More information about the Openembedded-devel mailing list