* [meta-oe][PATCH 0/3] libhugetlbfs and luajit update
@ 2014-07-16 6:23 ting.liu
2014-07-16 6:23 ` [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64 ting.liu
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: ting.liu @ 2014-07-16 6:23 UTC (permalink / raw)
To: openembedded-devel; +Cc: yocto
From: Ting Liu <b28495@freescale.com>
Since there are several libhugetlbfs patches to be applied, generate
the patches based on meta-openembedded-contrib (jansa/master branch):
commit 76afdeedacf4497893359c5e9cb335ada6729e12
Author: Martin Jansa <Martin.Jansa@gmail.com>
Date: Wed Jun 25 20:30:44 2014 +0200
python-cython: Add git version
Ting Liu (3):
libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64
libhugetlbfs: not build obj32 for powerpc64
luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc
.../libhugetlbfs/libhugetlbfs_git.bb | 6 +++++-
meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb | 2 +-
2 files changed, 6 insertions(+), 2 deletions(-)
--
1.7.3.4
^ permalink raw reply [flat|nested] 13+ messages in thread* [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64 2014-07-16 6:23 [meta-oe][PATCH 0/3] libhugetlbfs and luajit update ting.liu @ 2014-07-16 6:23 ` ting.liu 2014-07-16 13:27 ` Martin Jansa 2014-07-16 6:24 ` [meta-oe][PATCH 2/3] libhugetlbfs: not build obj32 for powerpc64 ting.liu ` (2 subsequent siblings) 3 siblings, 1 reply; 13+ messages in thread From: ting.liu @ 2014-07-16 6:23 UTC (permalink / raw) To: openembedded-devel; +Cc: yocto From: Ting Liu <b28495@freescale.com> In recent libhugetlbfs source, powerpc/powerpc64 is changed back to ppc/ppc64 (to match with the output of `uname -a`). Update the recipe to avoid build issue for now. Signed-off-by: Ting Liu <b28495@freescale.com> --- .../libhugetlbfs/libhugetlbfs_git.bb | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb index e8e0787..e554b26 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb @@ -25,7 +25,10 @@ S = "${WORKDIR}/git" COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*" LIBARGS = "LIB32=${baselib} LIB64=${baselib}" -EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=1" +LIBHUGETLBFS_ARCH = "${TARGET_ARCH}" +LIBHUGETLBFS_ARCH_powerpc = "ppc" +LIBHUGETLBFS_ARCH_powerpc64 = "ppc64" +EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=2" PARALLEL_MAKE = "" CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0" -- 1.7.3.4 ^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64 2014-07-16 6:23 ` [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64 ting.liu @ 2014-07-16 13:27 ` Martin Jansa 2014-07-17 7:09 ` ting.liu 0 siblings, 1 reply; 13+ messages in thread From: Martin Jansa @ 2014-07-16 13:27 UTC (permalink / raw) To: openembedded-devel; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 1698 bytes --] On Wed, Jul 16, 2014 at 02:23:59PM +0800, ting.liu@freescale.com wrote: > From: Ting Liu <b28495@freescale.com> > > In recent libhugetlbfs source, powerpc/powerpc64 is changed back to > ppc/ppc64 (to match with the output of `uname -a`). > > Update the recipe to avoid build issue for now. > > Signed-off-by: Ting Liu <b28495@freescale.com> > --- > .../libhugetlbfs/libhugetlbfs_git.bb | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > index e8e0787..e554b26 100644 > --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > @@ -25,7 +25,10 @@ S = "${WORKDIR}/git" > COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*" > > LIBARGS = "LIB32=${baselib} LIB64=${baselib}" > -EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=1" > +LIBHUGETLBFS_ARCH = "${TARGET_ARCH}" > +LIBHUGETLBFS_ARCH_powerpc = "ppc" > +LIBHUGETLBFS_ARCH_powerpc64 = "ppc64" > +EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=2" > PARALLEL_MAKE = "" > CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0" libhugetlbfs is currently failing with http://logs.nslu2-linux.org/buildlogs/oe/world/log.dependencies.20140714_130534.log/3_min/failed/libhugetlbfs.log and it also fails to build for qemux86-64 (log in last world status e-mail). Can we please fix it first? -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 188 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64 2014-07-16 13:27 ` Martin Jansa @ 2014-07-17 7:09 ` ting.liu 2014-07-23 8:51 ` Martin Jansa 0 siblings, 1 reply; 13+ messages in thread From: ting.liu @ 2014-07-17 7:09 UTC (permalink / raw) To: openembedded-devel@lists.openembedded.org > -----Original Message----- > From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded- > devel-bounces@lists.openembedded.org] On Behalf Of Martin Jansa > Sent: Wednesday, July 16, 2014 9:27 PM > To: openembedded-devel@lists.openembedded.org > Cc: yocto@mindchasers.com > Subject: Re: [oe] [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for > powerpc/powerpc64 > > On Wed, Jul 16, 2014 at 02:23:59PM +0800, ting.liu@freescale.com wrote: > > From: Ting Liu <b28495@freescale.com> > > > > In recent libhugetlbfs source, powerpc/powerpc64 is changed back to > > ppc/ppc64 (to match with the output of `uname -a`). > > > > Update the recipe to avoid build issue for now. > > > > Signed-off-by: Ting Liu <b28495@freescale.com> > > --- > > .../libhugetlbfs/libhugetlbfs_git.bb | 5 ++++- > > 1 files changed, 4 insertions(+), 1 deletions(-) > > > > diff --git > > a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > > b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > > index e8e0787..e554b26 100644 > > --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > > +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > > @@ -25,7 +25,10 @@ S = "${WORKDIR}/git" > > COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*" > > > > LIBARGS = "LIB32=${baselib} LIB64=${baselib}" > > -EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} > V=1" > > +LIBHUGETLBFS_ARCH = "${TARGET_ARCH}" > > +LIBHUGETLBFS_ARCH_powerpc = "ppc" > > +LIBHUGETLBFS_ARCH_powerpc64 = "ppc64" > > +EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' > ${LIBARGS} V=2" > > PARALLEL_MAKE = "" > > CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame- > pointer -g0" > > libhugetlbfs is currently failing with > http://logs.nslu2- > linux.org/buildlogs/oe/world/log.dependencies.20140714_130534.log/3_min/failed > /libhugetlbfs.log I think the issue was fixed by this patch: http://cgit.openembedded.org/meta-openembedded/commit/?h=master-next&id=66709a85a2c0d0fdfadbd9832cb8056e65b39a36 > > and it also fails to build for qemux86-64 (log in last world status e-mail). > > Can we please fix it first? > > -- > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64 2014-07-17 7:09 ` ting.liu @ 2014-07-23 8:51 ` Martin Jansa 2014-07-23 10:19 ` ting.liu 0 siblings, 1 reply; 13+ messages in thread From: Martin Jansa @ 2014-07-23 8:51 UTC (permalink / raw) To: openembedded-devel [-- Attachment #1: Type: text/plain, Size: 5345 bytes --] On Thu, Jul 17, 2014 at 07:09:18AM +0000, ting.liu@freescale.com wrote: > > -----Original Message----- > > From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded- > > devel-bounces@lists.openembedded.org] On Behalf Of Martin Jansa > > Sent: Wednesday, July 16, 2014 9:27 PM > > To: openembedded-devel@lists.openembedded.org > > Cc: yocto@mindchasers.com > > Subject: Re: [oe] [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for > > powerpc/powerpc64 > > > > On Wed, Jul 16, 2014 at 02:23:59PM +0800, ting.liu@freescale.com wrote: > > > From: Ting Liu <b28495@freescale.com> > > > > > > In recent libhugetlbfs source, powerpc/powerpc64 is changed back to > > > ppc/ppc64 (to match with the output of `uname -a`). > > > > > > Update the recipe to avoid build issue for now. > > > > > > Signed-off-by: Ting Liu <b28495@freescale.com> > > > --- > > > .../libhugetlbfs/libhugetlbfs_git.bb | 5 ++++- > > > 1 files changed, 4 insertions(+), 1 deletions(-) > > > > > > diff --git > > > a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > > > b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > > > index e8e0787..e554b26 100644 > > > --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > > > +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > > > @@ -25,7 +25,10 @@ S = "${WORKDIR}/git" > > > COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*" > > > > > > LIBARGS = "LIB32=${baselib} LIB64=${baselib}" > > > -EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} > > V=1" > > > +LIBHUGETLBFS_ARCH = "${TARGET_ARCH}" > > > +LIBHUGETLBFS_ARCH_powerpc = "ppc" > > > +LIBHUGETLBFS_ARCH_powerpc64 = "ppc64" > > > +EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' > > ${LIBARGS} V=2" > > > PARALLEL_MAKE = "" > > > CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame- > > pointer -g0" > > > > libhugetlbfs is currently failing with > > http://logs.nslu2- > > linux.org/buildlogs/oe/world/log.dependencies.20140714_130534.log/3_min/failed > > /libhugetlbfs.log > > I think the issue was fixed by this patch: > http://cgit.openembedded.org/meta-openembedded/commit/?h=master-next&id=66709a85a2c0d0fdfadbd9832cb8056e65b39a36 > > > > > and it also fails to build for qemux86-64 (log in last world status e-mail). > > with all the libhugetlbfs patches included I still get NOTE: recipe libhugetlbfs-1_2.18-r0: task do_compile: Started ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-eglibc/work/core2-64-oe-linux/libhugetlbfs/1_2.18-r0/temp/log.do_compile.7225) ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-eglibc/work/core2-64-oe-linux/libhugetlbfs/1_2.18-r0/temp/log.do_compile.7225 Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make ARCH=x86_64 OPT= -O2 -pipe -g -feliminate-unused-debug-types -fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0 CC=x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64 LIB32=lib LIB64=lib V=2 | ./localversion version ./libhugetlbfs_testprobes.h ./libhugetlbfs_privutils.h ./libhugetlbfs_internal.h ./libhugetlbfs_debug.h ./kernel-features.h ./hugetlbfs.h *.c *.lds Makefile | version update: 2.18 | version string: 2.18 (modified) | x86_64-oe-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64 -m32 -D__LIBHUGETLBFS__ -O2 -pipe -g -feliminate-unused-debug-types -fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0 -Wall -fPIC -o obj32/elflink.o -c elflink.c | In file included from /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/include/features.h:402:0, | from /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/include/stdio.h:27, | from elflink.c:23: | /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory | # include <gnu/stubs-32.h> | ^ | compilation terminated. | make: *** [obj32/elflink.o] Error 1 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/jenkins/oe/world/shr-core/tmp-eglibc/work/core2-64-oe-linux/libhugetlbfs/1_2.18-r0/temp/log.do_compile.7225) NOTE: recipe libhugetlbfs-1_2.18-r0: task do_compile: Failed ERROR: Task 25874 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb, do_compile) failed with exit code '1' > > Can we please fix it first? > > > > -- > > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com > -- > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 188 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64 2014-07-23 8:51 ` Martin Jansa @ 2014-07-23 10:19 ` ting.liu 0 siblings, 0 replies; 13+ messages in thread From: ting.liu @ 2014-07-23 10:19 UTC (permalink / raw) To: openembedded-devel@lists.openembedded.org > -----Original Message----- > From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded- > devel-bounces@lists.openembedded.org] On Behalf Of Martin Jansa > Sent: Wednesday, July 23, 2014 4:51 PM > To: openembedded-devel@lists.openembedded.org > Subject: Re: [oe] [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for > powerpc/powerpc64 > > On Thu, Jul 17, 2014 at 07:09:18AM +0000, ting.liu@freescale.com wrote: > > > -----Original Message----- > > > From: openembedded-devel-bounces@lists.openembedded.org > > > [mailto:openembedded- devel-bounces@lists.openembedded.org] On > > > Behalf Of Martin Jansa > > > Sent: Wednesday, July 16, 2014 9:27 PM > > > To: openembedded-devel@lists.openembedded.org > > > Cc: yocto@mindchasers.com > > > Subject: Re: [oe] [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH > > > ppc/ppc64 for > > > powerpc/powerpc64 > > > > > > On Wed, Jul 16, 2014 at 02:23:59PM +0800, ting.liu@freescale.com wrote: > > > > From: Ting Liu <b28495@freescale.com> > > > > > > > > In recent libhugetlbfs source, powerpc/powerpc64 is changed back > > > > to > > > > ppc/ppc64 (to match with the output of `uname -a`). > > > > > > > > Update the recipe to avoid build issue for now. > > > > > > > > Signed-off-by: Ting Liu <b28495@freescale.com> > > > > --- > > > > .../libhugetlbfs/libhugetlbfs_git.bb | 5 ++++- > > > > 1 files changed, 4 insertions(+), 1 deletions(-) > > > > > > > > diff --git > > > > a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > > > > b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > > > > index e8e0787..e554b26 100644 > > > > --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > > > > +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb > > > > @@ -25,7 +25,10 @@ S = "${WORKDIR}/git" > > > > COMPATIBLE_HOST = "(x86_64|powerpc|powerpc64|aarch64|arm).*-linux*" > > > > > > > > LIBARGS = "LIB32=${baselib} LIB64=${baselib}" > > > > -EXTRA_OEMAKE = "'ARCH=${TARGET_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' > > > > ${LIBARGS} > > > V=1" > > > > +LIBHUGETLBFS_ARCH = "${TARGET_ARCH}" > > > > +LIBHUGETLBFS_ARCH_powerpc = "ppc" > > > > +LIBHUGETLBFS_ARCH_powerpc64 = "ppc64" > > > > +EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' > > > ${LIBARGS} V=2" > > > > PARALLEL_MAKE = "" > > > > CFLAGS += "-fexpensive-optimizations -frename-registers > > > > -fomit-frame- > > > pointer -g0" > > > > > > libhugetlbfs is currently failing with > > > http://logs.nslu2- > > > linux.org/buildlogs/oe/world/log.dependencies.20140714_130534.log/3_ > > > min/failed > > > /libhugetlbfs.log > > > > I think the issue was fixed by this patch: > > http://cgit.openembedded.org/meta-openembedded/commit/?h=master-next&i > > d=66709a85a2c0d0fdfadbd9832cb8056e65b39a36 > > > > > > > > and it also fails to build for qemux86-64 (log in last world status e- > mail). > > > > > with all the libhugetlbfs patches included I still get > > NOTE: recipe libhugetlbfs-1_2.18-r0: task do_compile: Started > ERROR: Function failed: do_compile (log file is located at > /home/jenkins/oe/world/shr-core/tmp-eglibc/work/core2-64-oe- > linux/libhugetlbfs/1_2.18-r0/temp/log.do_compile.7225) > ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp- > eglibc/work/core2-64-oe-linux/libhugetlbfs/1_2.18-r0/temp/log.do_compile.7225 > Log data follows: > | DEBUG: Executing shell function do_compile > | NOTE: make ARCH=x86_64 OPT= -O2 -pipe -g > | -feliminate-unused-debug-types -fexpensive-optimizations > | -frename-registers -fomit-frame-pointer -g0 CC=x86_64-oe-linux-gcc > | -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wl,-O1 > | -Wl,--hash-style=gnu -Wl,--as-needed > | --sysroot=/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64 > LIB32=lib LIB64=lib V=2 ./localversion > version ./libhugetlbfs_testprobes.h ./libhugetlbfs_privutils.h ./libhugetlbfs_ > internal.h ./libhugetlbfs_debug.h ./kernel-features.h ./hugetlbfs.h *.c *.lds > Makefile version update: 2.18 version string: 2.18 (modified) x86_64-oe-linux- > gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -Wl,-O1 -Wl,--hash- > style=gnu -Wl,--as-needed --sysroot=/home/jenkins/oe/world/shr-core/tmp- > eglibc/sysroots/qemux86-64 -m32 -D__LIBHUGETLBFS__ -O2 -pipe -g -feliminate- > unused-debug-types -fexpensive-optimizations -frename-registers -fomit-frame- > pointer -g0 -Wall -fPIC -o obj32/elflink.o -c elflink.c In file included from > /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86- > 64/usr/include/features.h:402:0, > | from /home/jenkins/oe/world/shr-core/tmp- > eglibc/sysroots/qemux86-64/usr/include/stdio.h:27, > | from elflink.c:23: > | /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemux86-64/usr/inc > | lude/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or > directory # include <gnu/stubs-32.h> > | ^ > | compilation terminated. > | make: *** [obj32/elflink.o] Error 1 > | ERROR: oe_runmake failed > | WARNING: exit code 1 from a shell command. > | ERROR: Function failed: do_compile (log file is located at > | /home/jenkins/oe/world/shr-core/tmp-eglibc/work/core2-64-oe-linux/libh > | ugetlbfs/1_2.18-r0/temp/log.do_compile.7225) > NOTE: recipe libhugetlbfs-1_2.18-r0: task do_compile: Failed > ERROR: Task 25874 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta- > oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb, do_compile) failed with > exit code '1' So 'BUILDTYPE=NATIVEONLY' is needed for all 64bit platforms, not only powerpc64. > > > > Can we please fix it first? > > > > > > -- > > > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com > > -- > > _______________________________________________ > > Openembedded-devel mailing list > > Openembedded-devel@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > > -- > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* [meta-oe][PATCH 2/3] libhugetlbfs: not build obj32 for powerpc64 2014-07-16 6:23 [meta-oe][PATCH 0/3] libhugetlbfs and luajit update ting.liu 2014-07-16 6:23 ` [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64 ting.liu @ 2014-07-16 6:24 ` ting.liu 2014-07-16 6:24 ` [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc ting.liu 2014-12-09 10:31 ` [meta-oe][PATCH 0/3] libhugetlbfs and luajit update Martin Jansa 3 siblings, 0 replies; 13+ messages in thread From: ting.liu @ 2014-07-16 6:24 UTC (permalink / raw) To: openembedded-devel; +Cc: yocto From: Ting Liu <b28495@freescale.com> If obj32 needed, user can build lib32-libhugetlbfs. Fix the below build issue for 64bit powerpc boards: | fatal error: gnu/stubs-32.h: No such file or directory | # include <gnu/stubs-32.h> | ^ | compilation terminated. | make: *** [obj32/elflink.o] Error 1 Signed-off-by: Ting Liu <b28495@freescale.com> --- .../libhugetlbfs/libhugetlbfs_git.bb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb index e554b26..55d555b 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb @@ -29,6 +29,7 @@ LIBHUGETLBFS_ARCH = "${TARGET_ARCH}" LIBHUGETLBFS_ARCH_powerpc = "ppc" LIBHUGETLBFS_ARCH_powerpc64 = "ppc64" EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS} V=2" +EXTRA_OEMAKE_append_powerpc64 = " BUILDTYPE=NATIVEONLY" PARALLEL_MAKE = "" CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0" -- 1.7.3.4 ^ permalink raw reply related [flat|nested] 13+ messages in thread
* [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc 2014-07-16 6:23 [meta-oe][PATCH 0/3] libhugetlbfs and luajit update ting.liu 2014-07-16 6:23 ` [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64 ting.liu 2014-07-16 6:24 ` [meta-oe][PATCH 2/3] libhugetlbfs: not build obj32 for powerpc64 ting.liu @ 2014-07-16 6:24 ` ting.liu 2014-07-16 7:14 ` Martin Jansa 2014-07-16 13:43 ` Martin Jansa 2014-12-09 10:31 ` [meta-oe][PATCH 0/3] libhugetlbfs and luajit update Martin Jansa 3 siblings, 2 replies; 13+ messages in thread From: ting.liu @ 2014-07-16 6:24 UTC (permalink / raw) To: openembedded-devel; +Cc: yocto From: Ting Liu <b28495@freescale.com> fslmachine is too generic, use qoriq-ppc instead. The change had been applided in meta-fsl-ppc layer. Signed-off-by: Ting Liu <b28495@freescale.com> --- meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb index de3a40b..75885d6 100644 --- a/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb +++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb @@ -9,7 +9,7 @@ SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \ SRC_URI[md5sum] = "f14e9104be513913810cd59c8c658dc0" SRC_URI[sha256sum] = "55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79" -SRC_URI_append_fslmachine = " file://ppc-fixplt.patch " +SRC_URI_append_qoriq-ppc = " file://ppc-fixplt.patch " S = "${WORKDIR}/LuaJIT-${PV}" -- 1.7.3.4 ^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc 2014-07-16 6:24 ` [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc ting.liu @ 2014-07-16 7:14 ` Martin Jansa 2014-07-16 8:48 ` ting.liu 2014-07-16 13:43 ` Martin Jansa 1 sibling, 1 reply; 13+ messages in thread From: Martin Jansa @ 2014-07-16 7:14 UTC (permalink / raw) To: openembedded-devel; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 1406 bytes --] On Wed, Jul 16, 2014 at 02:24:01PM +0800, ting.liu@freescale.com wrote: > From: Ting Liu <b28495@freescale.com> > > fslmachine is too generic, use qoriq-ppc instead. > The change had been applided in meta-fsl-ppc layer. Should it be moved there completely as .bbappend? > Signed-off-by: Ting Liu <b28495@freescale.com> > --- > meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb > index de3a40b..75885d6 100644 > --- a/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb > +++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb > @@ -9,7 +9,7 @@ SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \ > SRC_URI[md5sum] = "f14e9104be513913810cd59c8c658dc0" > SRC_URI[sha256sum] = "55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79" > > -SRC_URI_append_fslmachine = " file://ppc-fixplt.patch " > +SRC_URI_append_qoriq-ppc = " file://ppc-fixplt.patch " > > S = "${WORKDIR}/LuaJIT-${PV}" > > -- > 1.7.3.4 > > -- > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 188 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc 2014-07-16 7:14 ` Martin Jansa @ 2014-07-16 8:48 ` ting.liu 0 siblings, 0 replies; 13+ messages in thread From: ting.liu @ 2014-07-16 8:48 UTC (permalink / raw) To: openembedded-devel@lists.openembedded.org; +Cc: yocto@mindchasers.com > -----Original Message----- > From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded- > devel-bounces@lists.openembedded.org] On Behalf Of Martin Jansa > Sent: Wednesday, July 16, 2014 3:14 PM > To: openembedded-devel@lists.openembedded.org > Cc: yocto@mindchasers.com > Subject: Re: [oe] [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES > fslmachine with qoriq-ppc > > On Wed, Jul 16, 2014 at 02:24:01PM +0800, ting.liu@freescale.com wrote: > > From: Ting Liu <b28495@freescale.com> > > > > fslmachine is too generic, use qoriq-ppc instead. > > The change had been applided in meta-fsl-ppc layer. > > Should it be moved there completely as .bbappend? It makes sense for me. Will send patch. Please ignore this one. Thanks. > > > Signed-off-by: Ting Liu <b28495@freescale.com> > > --- > > meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb > > b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb > > index de3a40b..75885d6 100644 > > --- a/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb > > +++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb > > @@ -9,7 +9,7 @@ SRC_URI = > > "http://luajit.org/download/LuaJIT-${PV}.tar.gz \ SRC_URI[md5sum] = > "f14e9104be513913810cd59c8c658dc0" > > SRC_URI[sha256sum] = > "55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79" > > > > -SRC_URI_append_fslmachine = " file://ppc-fixplt.patch " > > +SRC_URI_append_qoriq-ppc = " file://ppc-fixplt.patch " > > > > S = "${WORKDIR}/LuaJIT-${PV}" > > > > -- > > 1.7.3.4 > > > > -- > > _______________________________________________ > > Openembedded-devel mailing list > > Openembedded-devel@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > > -- > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc 2014-07-16 6:24 ` [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc ting.liu 2014-07-16 7:14 ` Martin Jansa @ 2014-07-16 13:43 ` Martin Jansa 2014-07-16 17:58 ` Martin Jansa 1 sibling, 1 reply; 13+ messages in thread From: Martin Jansa @ 2014-07-16 13:43 UTC (permalink / raw) To: openembedded-devel; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 2289 bytes --] On Wed, Jul 16, 2014 at 02:24:01PM +0800, ting.liu@freescale.com wrote: > From: Ting Liu <b28495@freescale.com> > > fslmachine is too generic, use qoriq-ppc instead. > The change had been applided in meta-fsl-ppc layer. BTW: target luajit seems to be using host's headers and sometimes failing. I've recently removed multilib headers from my host distro and now it's failing with: | In file included from /usr/include/features.h:403:0, | from /usr/include/sys/types.h:25, | from host/buildvm.h:9, | from host/buildvm_asm.c:6: | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory | # include <gnu/stubs-32.h> | ^ | compilation terminated. | Makefile:661: recipe for target 'host/buildvm_asm.o' failed | make[1]: *** [host/buildvm_asm.o] Error 1 | make[1]: Leaving directory '/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/luajit/2.0.3-r0/LuaJIT-2.0.3/src' | Makefile:103: recipe for target 'default' failed Shouldn't we disable all host builds in target luajit and use the tools only from luajit-native? > Signed-off-by: Ting Liu <b28495@freescale.com> > --- > meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb > index de3a40b..75885d6 100644 > --- a/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb > +++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb > @@ -9,7 +9,7 @@ SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \ > SRC_URI[md5sum] = "f14e9104be513913810cd59c8c658dc0" > SRC_URI[sha256sum] = "55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79" > > -SRC_URI_append_fslmachine = " file://ppc-fixplt.patch " > +SRC_URI_append_qoriq-ppc = " file://ppc-fixplt.patch " > > S = "${WORKDIR}/LuaJIT-${PV}" > > -- > 1.7.3.4 > > -- > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 188 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc 2014-07-16 13:43 ` Martin Jansa @ 2014-07-16 17:58 ` Martin Jansa 0 siblings, 0 replies; 13+ messages in thread From: Martin Jansa @ 2014-07-16 17:58 UTC (permalink / raw) To: openembedded-devel; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 2835 bytes --] On Wed, Jul 16, 2014 at 03:43:34PM +0200, Martin Jansa wrote: > On Wed, Jul 16, 2014 at 02:24:01PM +0800, ting.liu@freescale.com wrote: > > From: Ting Liu <b28495@freescale.com> > > > > fslmachine is too generic, use qoriq-ppc instead. > > The change had been applided in meta-fsl-ppc layer. > > BTW: target luajit seems to be using host's headers and sometimes > failing. > > I've recently removed multilib headers from my host distro and now it's > failing with: > > | In file included from /usr/include/features.h:403:0, > | from /usr/include/sys/types.h:25, > | from host/buildvm.h:9, > | from host/buildvm_asm.c:6: > | /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory > | # include <gnu/stubs-32.h> > | ^ > | compilation terminated. > | Makefile:661: recipe for target 'host/buildvm_asm.o' failed > | make[1]: *** [host/buildvm_asm.o] Error 1 > | make[1]: Leaving directory '/OE/build/shr-core/tmp-eglibc/work/arm920tt-oe-linux-gnueabi/luajit/2.0.3-r0/LuaJIT-2.0.3/src' > | Makefile:103: recipe for target 'default' failed > > Shouldn't we disable all host builds in target luajit and use the tools only from luajit-native? FYI: this is caused by -m32 we're passing in HOST_CC variable, dropping -m32 causes lua to complain about different sizes while cross-compiling. So in the end we require 32bit headers/libs on 64bit builders (this luajit is the only recipe requiring it in my images). /me enabling multilib again > > Signed-off-by: Ting Liu <b28495@freescale.com> > > --- > > meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb > > index de3a40b..75885d6 100644 > > --- a/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb > > +++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb > > @@ -9,7 +9,7 @@ SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \ > > SRC_URI[md5sum] = "f14e9104be513913810cd59c8c658dc0" > > SRC_URI[sha256sum] = "55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79" > > > > -SRC_URI_append_fslmachine = " file://ppc-fixplt.patch " > > +SRC_URI_append_qoriq-ppc = " file://ppc-fixplt.patch " > > > > S = "${WORKDIR}/LuaJIT-${PV}" > > > > -- > > 1.7.3.4 > > > > -- > > _______________________________________________ > > Openembedded-devel mailing list > > Openembedded-devel@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel > > -- > Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 188 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-oe][PATCH 0/3] libhugetlbfs and luajit update 2014-07-16 6:23 [meta-oe][PATCH 0/3] libhugetlbfs and luajit update ting.liu ` (2 preceding siblings ...) 2014-07-16 6:24 ` [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc ting.liu @ 2014-12-09 10:31 ` Martin Jansa 3 siblings, 0 replies; 13+ messages in thread From: Martin Jansa @ 2014-12-09 10:31 UTC (permalink / raw) To: openembedded-devel; +Cc: yocto [-- Attachment #1: Type: text/plain, Size: 1199 bytes --] On Wed, Jul 16, 2014 at 02:23:58PM +0800, ting.liu@freescale.com wrote: > From: Ting Liu <b28495@freescale.com> > > Since there are several libhugetlbfs patches to be applied, generate > the patches based on meta-openembedded-contrib (jansa/master branch): Fails to build for qemux86, check the logs from last world build. > commit 76afdeedacf4497893359c5e9cb335ada6729e12 > Author: Martin Jansa <Martin.Jansa@gmail.com> > Date: Wed Jun 25 20:30:44 2014 +0200 > > python-cython: Add git version > > Ting Liu (3): > libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64 > libhugetlbfs: not build obj32 for powerpc64 > luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc > > .../libhugetlbfs/libhugetlbfs_git.bb | 6 +++++- > meta-oe/recipes-devtools/luajit/luajit_2.0.3.bb | 2 +- > 2 files changed, 6 insertions(+), 2 deletions(-) > > -- > 1.7.3.4 > > -- > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 188 bytes --] ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2014-12-09 10:31 UTC | newest] Thread overview: 13+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-07-16 6:23 [meta-oe][PATCH 0/3] libhugetlbfs and luajit update ting.liu 2014-07-16 6:23 ` [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64 ting.liu 2014-07-16 13:27 ` Martin Jansa 2014-07-17 7:09 ` ting.liu 2014-07-23 8:51 ` Martin Jansa 2014-07-23 10:19 ` ting.liu 2014-07-16 6:24 ` [meta-oe][PATCH 2/3] libhugetlbfs: not build obj32 for powerpc64 ting.liu 2014-07-16 6:24 ` [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc ting.liu 2014-07-16 7:14 ` Martin Jansa 2014-07-16 8:48 ` ting.liu 2014-07-16 13:43 ` Martin Jansa 2014-07-16 17:58 ` Martin Jansa 2014-12-09 10:31 ` [meta-oe][PATCH 0/3] libhugetlbfs and luajit update Martin Jansa
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox