All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [meta-java] gcc6 support breaks build for gcc < 6
@ 2016-07-11 15:19 Winfried
  2016-07-11 22:32 ` [meta-java] gcc 4.8 and openjdk-8 Jacopo Malvestio
  2016-07-12 11:56 ` [meta-java] gcc6 support breaks build for gcc < 6 Winfried
  0 siblings, 2 replies; 9+ messages in thread
From: Winfried @ 2016-07-11 15:19 UTC (permalink / raw)
  To: openembedded-devel

> If you are not using default compiler then you have to take some action
> 
> add
> 
> CFLAGS_remove = " -fno-tree-dse"
> CXXFLAGS_remove = " -fno-tree-dse"
> 
> via a .bbappend in your layer.

Yes, to let meta-java compile with gcc 4.8 I added the following lines 
to a .bbappend file:

CFLAGS_remove = "-fno-lifetime-dse"
CXXFLAGS_remove = "-fno-lifetime-dse"

If that is the final solution, please add this to the README of the 
meta-java layer.

Thanks,
Winfried


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [meta-java] gcc 4.8 and openjdk-8
  2016-07-11 15:19 [meta-java] gcc6 support breaks build for gcc < 6 Winfried
@ 2016-07-11 22:32 ` Jacopo Malvestio
  2016-07-11 23:48   ` Khem Raj
  2016-07-12 11:56 ` [meta-java] gcc6 support breaks build for gcc < 6 Winfried
  1 sibling, 1 reply; 9+ messages in thread
From: Jacopo Malvestio @ 2016-07-11 22:32 UTC (permalink / raw)
  To: openembedded-devel

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?

thank you

--
Jacopo






^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] gcc 4.8 and openjdk-8
  2016-07-11 22:32 ` [meta-java] gcc 4.8 and openjdk-8 Jacopo Malvestio
@ 2016-07-11 23:48   ` Khem Raj
  2016-07-12  5:09     ` Jacopo Malvestio
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2016-07-11 23:48 UTC (permalink / raw)
  To: openembeded-devel

On Mon, Jul 11, 2016 at 3:32 PM, Jacopo Malvestio
<jacopo.malvestio@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

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] gcc 4.8 and openjdk-8
  2016-07-11 23:48   ` Khem Raj
@ 2016-07-12  5:09     ` Jacopo Malvestio
  2016-07-12 23:23       ` Khem Raj
  0 siblings, 1 reply; 9+ messages in thread
From: Jacopo Malvestio @ 2016-07-12  5:09 UTC (permalink / raw)
  To: openembedded-devel

On 12/07/2016 01:48, Khem Raj wrote:
> On Mon, Jul 11, 2016 at 3:32 PM, Jacopo Malvestio
> <jacopo.malvestio@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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] gcc6 support breaks build for gcc < 6
  2016-07-11 15:19 [meta-java] gcc6 support breaks build for gcc < 6 Winfried
  2016-07-11 22:32 ` [meta-java] gcc 4.8 and openjdk-8 Jacopo Malvestio
@ 2016-07-12 11:56 ` Winfried
  2016-07-12 16:48   ` Jacopo Malvestio
  1 sibling, 1 reply; 9+ messages in thread
From: Winfried @ 2016-07-12 11:56 UTC (permalink / raw)
  To: openembedded-devel

>>> | 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@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"


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] gcc6 support breaks build for gcc < 6
  2016-07-12 11:56 ` [meta-java] gcc6 support breaks build for gcc < 6 Winfried
@ 2016-07-12 16:48   ` Jacopo Malvestio
  0 siblings, 0 replies; 9+ messages in thread
From: Jacopo Malvestio @ 2016-07-12 16:48 UTC (permalink / raw)
  To: openembedded-devel

On 12/07/2016 13:56, Winfried wrote:
>>>> | 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@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"

new clean poky clone, with meta-openembedded, openembedded-core, and meta-java:master but the issue persit, what can i check?

➜  build git:(krogoth) ✗ MACHINE="qemux86" bitbake core-image-minimal
Parsing recipes: 100% |##################################################################################################################################| Time: 00:00:08
Parsing of 2453 .bb files complete (0 cached, 2453 parsed). 3435 targets, 157 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "i586-poky-linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.1"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta
meta-poky
meta-yocto-bsp    = "krogoth:98c57bb512ea6790db8604fcf0b88c81651d2ab4"
meta-oe           = "krogoth:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta              = "krogoth:dd330056ace289c8a9c5d77b6bb6e860b9f0913e"
meta-java         = "master:33fbcd43cae1b9c08704792547159d27f2fdbe50"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: openjdk-8-native-72b05-r0 do_configure: configure failed
ERROR: openjdk-8-native-72b05-r0 do_configure: Function failed: do_configure (log file is located at /home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.64381)
ERROR: Logfile of failure stored in: /home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.64381
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| automake (GNU automake) 1.15
| Copyright (C) 2014 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
|
| Written by Tom Tromey <tromey@redhat.com>
|        and Alexandre Duret-Lutz <adl@gnu.org>.
| AUTOV is 1
| NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/build/aclocal-copy/" autoreconf --verbose --install --force --exclude=autopoint -I /home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/common/autoconf/ -I /home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/common/autoconf/build-aux/
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=/home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/build/aclocal-copy/ -I /home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/common/autoconf/ -I /home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/common/autoconf/build-aux/ -I /home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/common/autoconf/ -I /home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/common/autoconf/build-aux/ --force
| autoreconf: configure.ac: tracing
| autoreconf: configure.ac: not using Libtool
| autoreconf: running: /home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/bin/autoconf --include=/home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/common/autoconf/ --include=/home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/common/autoconf/build-aux/ --force
| autoreconf: running: /home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/bin/autoheader --include=/home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/common/autoconf/ --include=/home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/jdk8u-e8bed1496ff2/common/autoconf/build-aux/ --force
| autoreconf: configure.ac: not using Automake
| autoreconf: running: gnu-configize
| autoreconf: Leaving directory `.'
| NOTE: Running ../jdk8u-e8bed1496ff2/common/autoconf/configure  --build=x86_64-linux             --host=x86_64-linux             --target=x86_64-linux                   --prefix=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr              --exec_prefix=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr              --bindir=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/bin                  --sbindir=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/sbin       --libexecdir=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/libexec                --datadir=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/share               --sysconfdir=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/etc               --sharedstatedir=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/com              --localstatedir=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/var
--libdir=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/lib                  --includedir=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/include               --oldincludedir=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/include               --infodir=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/share/info               --mandir=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/share/man            --disable-silent-rules                  --disable-dependency-tracking                     --disable-static    --with-jobs=40         --with-sys-root=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux     --with-tools-dir=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux     --with-boot-jdk=/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/lib/jvm/icedtea7-native     --with-extra-cflags='-isystem/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -fno-lifetime-dse
-fno-delete-null-pointer-checks  -DHEADLESS=true'     --with-extra-cxxflags='-isystem/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -D_GLIBCXX_USE_CXX11_ABI=0 -fno-lifetime-dse -fno-delete-null-pointer-checks  -DHEADLESS=true'     --with-extra-ldflags='-L/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/lib -L/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath-link,/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/lib -Wl,-rpath,/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/home/xyz/test_java/poky/build/tmp/sysroots/x86_64-linux/lib -Wl,-O1'     --with-stdc++lib=dynamic     --disable-ccache --disable-headful  --disable-nls        --with-build-number=b05         --with-update-version=72
| configure: WARNING: unrecognized options: --disable-silent-rules, --disable-dependency-tracking, --disable-static, --disable-nls
| configure: loading site script /home/xyz/test_java/poky/meta/site/endian-little
| configure: loading site script /home/xyz/test_java/poky/meta/site/common-linux
| configure: loading site script /home/xyz/test_java/poky/meta/site/common-glibc
| configure: loading site script /home/xyz/test_java/poky/meta/site/x86_64-linux
| configure: loading site script /home/xyz/test_java/poky/meta/site/common
| configure: loading site script /home/xyz/test_java/poky/meta-openembedded/meta-oe/site/endian-little
| configure: loading site script /home/xyz/test_java/poky/openembedded-core/meta/site/endian-little
| configure: loading site script /home/xyz/test_java/poky/openembedded-core/meta/site/common-linux
| configure: loading site script /home/xyz/test_java/poky/openembedded-core/meta/site/common-glibc
| configure: loading site script /home/xyz/test_java/poky/openembedded-core/meta/site/x86_64-linux
| configure: loading site script /home/xyz/test_java/poky/openembedded-core/meta/site/common
| configure: loading site script /home/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/build/aclocal-copy/ncurses_config
| configure: Configuration created at Tue Jul 12 18:23:22 CEST 2016.
| configure: configure script generated at timestamp @DATE_WHEN_GENERATED@.
| checking for basename... /usr/bin/basename
| checking for bash... /bin/bash
| checking for cat... /bin/cat
| checking for chmod... /bin/chmod
| checking for cmp... /usr/bin/cmp
| checking for comm... /usr/bin/comm
| checking for cp... /bin/cp
| checking for cpio... /bin/cpio
| checking for cut... /usr/bin/cut
| checking for date... /bin/date
| checking for gdiff... no
| checking for diff... /usr/bin/diff
| checking for dirname... /usr/bin/dirname
| checking for echo... /bin/echo
| checking for expr... /usr/bin/expr
| checking for file... /usr/bin/file
| checking for find... /usr/bin/find
| checking for head... /usr/bin/head
| checking for ln... /bin/ln
| checking for ls... /bin/ls
| checking for mkdir... /bin/mkdir
| checking for mktemp... /bin/mktemp
| checking for mv... /bin/mv
| checking for printf... /usr/bin/printf
| checking for rm... /bin/rm
| checking for sh... /bin/sh
| checking for sort... /usr/bin/sort
| checking for tail... /usr/bin/tail
| checking for tar... /bin/tar
| checking for tee... /usr/bin/tee
| checking for touch... /usr/bin/touch
| checking for tr... /usr/bin/tr
| checking for uname... /bin/uname
| checking for uniq... /usr/bin/uniq
| checking for wc... /usr/bin/wc
| checking for which... /usr/bin/which
| checking for xargs... /usr/bin/xargs
| checking for gawk... gawk
| checking for grep that handles long lines and -e... /bin/grep
| checking for egrep... /bin/grep -E
| checking for fgrep... /bin/grep -F
| checking for a sed that does not truncate output... (cached) sed
| checking for nawk... /usr/bin/nawk
| checking for cygpath... no
| checking for readlink... /bin/readlink
| checking for df... /bin/df
| checking for SetFile... no
| checking build system type... x86_64-pc-linux-gnu
| checking host system type... x86_64-pc-linux-gnu
| checking target system type... x86_64-pc-linux-gnu
| checking openjdk-build os-cpu... linux-x86_64
| checking openjdk-target os-cpu... linux-x86_64
| checking compilation type... native
| checking for presence of closed sources... no
| checking if closed source is suppressed (openjdk-only)... no
| checking which variant of the JDK to build... normal
| checking which interpreter of the JVM to build... template
| checking which variants of the JVM to build... server
| checking which debug level to use... release
| configure: Current directory is /home/xyz/test_java/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/xyz/test_java/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/xyz/test_java/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/xyz/test_java/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/xyz/test_java/poky/build/tmp/work/x86_64-linux/openjdk-8-native/72b05-r0/temp/log.do_configure.64381)
ERROR: Task 679 (/home/xyz/test_java/poky/meta-java/recipes-core/openjdk/openjdk-8-native_72b05.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2684 tasks of which 2683 didn't need to be rerun and 1 failed.
No currently running tasks (1902 of 2703)

Summary: 1 task failed:
  /home/xyz/test_java/poky/meta-java/recipes-core/openjdk/openjdk-8-native_72b05.bb, do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] gcc 4.8 and openjdk-8
  2016-07-12  5:09     ` Jacopo Malvestio
@ 2016-07-12 23:23       ` Khem Raj
  2016-07-15  9:47         ` Jacopo Malvestio
  0 siblings, 1 reply; 9+ messages in thread
From: Khem Raj @ 2016-07-12 23:23 UTC (permalink / raw)
  To: openembeded-devel

On Mon, Jul 11, 2016 at 10:09 PM, Jacopo Malvestio
<jacopo.malvestio@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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] gcc 4.8 and openjdk-8
  2016-07-12 23:23       ` Khem Raj
@ 2016-07-15  9:47         ` Jacopo Malvestio
  2016-07-15 18:03           ` Dan McGregor
  0 siblings, 1 reply; 9+ messages in thread
From: Jacopo Malvestio @ 2016-07-15  9:47 UTC (permalink / raw)
  To: openembedded-devel

On 13/07/2016 01:23, Khem Raj wrote:
> On Mon, Jul 11, 2016 at 10:09 PM, Jacopo Malvestio
> <jacopo.malvestio@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@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

reverted and works...

thank you

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [meta-java] gcc 4.8 and openjdk-8
  2016-07-15  9:47         ` Jacopo Malvestio
@ 2016-07-15 18:03           ` Dan McGregor
  0 siblings, 0 replies; 9+ messages in thread
From: Dan McGregor @ 2016-07-15 18:03 UTC (permalink / raw)
  To: openembeded-devel

On 15 July 2016 at 03:47, Jacopo Malvestio <jacopo.malvestio@gmail.com> wrote:
> On 13/07/2016 01:23, Khem Raj wrote:
>> On Mon, Jul 11, 2016 at 10:09 PM, Jacopo Malvestio
>> <jacopo.malvestio@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@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
>
> reverted and works...
>
> thank you

Another thing that may be worth trying is this repo:
https://dankm@bitbucket.org/dankm/meta-java.git, in the dankm/wip
branch I have a binary openjdk-8-native recipe. Just set the
PREFERRED_PROVIDER to openjdk-zulu-native.

It's something I only used as a build-time improvement when working on
the target recipes.


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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-07-15 18:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-11 15:19 [meta-java] gcc6 support breaks build for gcc < 6 Winfried
2016-07-11 22:32 ` [meta-java] gcc 4.8 and openjdk-8 Jacopo Malvestio
2016-07-11 23:48   ` Khem Raj
2016-07-12  5:09     ` Jacopo Malvestio
2016-07-12 23:23       ` Khem Raj
2016-07-15  9:47         ` Jacopo Malvestio
2016-07-15 18:03           ` Dan McGregor
2016-07-12 11:56 ` [meta-java] gcc6 support breaks build for gcc < 6 Winfried
2016-07-12 16:48   ` Jacopo Malvestio

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.