Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH 1/3] libhugetlbfs: use ARCH ppc/ppc64 for powerpc/powerpc64
Date: Wed, 23 Jul 2014 10:51:10 +0200	[thread overview]
Message-ID: <20140723085110.GA22875@jama> (raw)
In-Reply-To: <960fede6c06346c78c13b2cc097255dc@BN1PR03MB156.namprd03.prod.outlook.com>

[-- 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 --]

  reply	other threads:[~2014-07-23  8:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140723085110.GA22875@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox