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

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Mar 7 20:58:01 UTC 2014


Dear Fabio Porcedda,

On Fri, 7 Mar 2014 21:51:57 +0100, Fabio Porcedda wrote:

> Reading the gcc documentation the option -m32 work even on PowerPC:
> http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/RS_002f6000-and-PowerPC-Options.html

Ok, but not on ARM or MIPS, and probably not on many other 32 bits
architectures supported by Buildroot. Bottom line: testing 'gcc -m32'
is not a good way of testing whether the architecture is 32 bits or is
a 64 bits architecture capable of building and running 32 bits binaries.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list