[Buildroot] luajit package fails to build on x86_64 for x86

François Perrad francois.perrad at gadz.org
Thu Mar 6 20:51:44 UTC 2014


2014-03-06 11:43 GMT+01:00 Fabio Porcedda <fabio.porcedda at gmail.com>:
> Hi all,
> luajit fails to build on a Ubuntu 13.10 x86_64 with the following defconfig:
>
> BR2_x86_generic=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_PACKAGE_LUAJIT=y
>
>
> with the following build error:
>
> CC        luajit.o
> HOSTLINK  host/minilua
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc.a when searching for -lgcc
> /usr/bin/ld: cannot find -lgcc
> /usr/bin/ld: skipping incompatible
> /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_s.so when searching for
> -lgcc_s
> /usr/bin/ld: cannot find -lgcc_s
> collect2: error: ld returned 1 exit status
> make[3]: *** [host/minilua] Error 1
> make[2]: *** [amalg] Error 2
> make[1]: *** [amalg] Error 2
> make: *** [/e/buildroot/br-tmp/output/build/luajit-2.0.2/.stamp_built] Error 2
>
>
> It builds fine for x86_64:
> BR2_x86_64=y
> BR2_TOOLCHAIN_EXTERNAL=y
> BR2_PACKAGE_LUAJIT=y
>
> Best regards

When Ubuntu 13.10 was released, I encoured many issues with it (but I
don't remember details and I didn't make investigations), so I stay
with 12.04 LTS. And now, I wait for 14.04 LTS.

Do you see this issue with BR-2014.02 or with the master head (the 3
lastest commits are mine) ?

François

> --
> Fabio Porcedda
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot


More information about the buildroot mailing list