[oe] [meta-oe][PATCH 3/3] luajit: replace MACHINEOVERRIDES fslmachine with qoriq-ppc

Martin Jansa martin.jansa at gmail.com
Wed Jul 16 17:58:34 UTC 2014


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 at freescale.com wrote:
> > From: Ting Liu <b28495 at 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 at 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 at lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> -- 
> Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com



-- 
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/20140716/07d12c02/attachment-0002.sig>


More information about the Openembedded-devel mailing list