Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: yocto@mindchasers.com
Subject: Re: [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc
Date: Wed, 16 Jul 2014 19:58:34 +0200	[thread overview]
Message-ID: <20140716175834.GH2433@jama> (raw)
In-Reply-To: <20140716134334.GZ2433@jama>

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

  reply	other threads:[~2014-07-16 17:58 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
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 [this message]
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=20140716175834.GH2433@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=yocto@mindchasers.com \
    /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