[oe] [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64

Martin Jansa martin.jansa at gmail.com
Wed Jul 23 08:51:10 UTC 2014


On Thu, Jul 17, 2014 at 07:09:18AM +0000, ting.liu at freescale.com wrote:
> > -----Original Message-----
> > From: openembedded-devel-bounces at lists.openembedded.org [mailto:openembedded-
> > devel-bounces at lists.openembedded.org] On Behalf Of Martin Jansa
> > Sent: Wednesday, July 16, 2014 9:27 PM
> > To: openembedded-devel at lists.openembedded.org
> > Cc: yocto at 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 at freescale.com wrote:
> > > From: Ting Liu <b28495 at 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 at 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 at gmail.com
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140723/7641cc68/attachment-0002.sig>


More information about the Openembedded-devel mailing list