On 12/05/18 05:07, Khem Raj wrote:
> BUILD_LDFLAGS add --dynamic-linker to point to uninative but
> some binaries in luajit are for 32bit build host, so even if
> your host has the needed runtime, it will fail to execute because
> uninative ldso doesn't know about multilib
> 
> we get cyptic errors like
> 
> | make[1]: execvp: host/minilua: Accessing a corrupted shared library
> | make[1]: *** [Makefile:610: host/buildvm_arch.h] Error 127
> 
> Switch to using git for SRC_URI, master is pointing to latest
> 2.0 stable, it gets us all the patches done since last 2.0.5 relases
> in 2017
> 
> Signed-off-by: Khem Raj <raj.k...@gmail.com>
> ---
>  meta-oe/recipes-devtools/luajit/luajit_2.0.5.bb | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)
> 

I think HOST_LDFLAGS should remain for the native class.

Otherwise building luajit-native might fail.

I suggest adding something like this:

EXTRA_OEMAKE_remove_class-target = "'HOST_LDFLAGS=${BUILD_LDFLAGS}'"

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to