[Buildroot] [PATCH] luarocks: fix compilation on 64bits

Peter Korsgaard jacmet at uclibc.org
Wed Jan 15 12:14:54 UTC 2014


>>>>> "François" == François Perrad <francois.perrad at gadz.org> writes:

 > 2014/1/15 Peter Korsgaard <jacmet at uclibc.org>:
 >>>>>>> "Francois" == Francois Perrad <fperrad at gmail.com> writes:
 >> 
 >> > Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
 >> 
 >> Where did you see this? On the autobuilders? If yes, please add a link.
 >> 

 > in the latest autobuilder report, native Lua modules using the
 > `luarocks-package` infrastructure are broken :
 > x86_64 | lbase64-20120820-1 | NOK |
 > http://autobuild.buildroot.net/results/f28a624f89f4de249a1b7a718f5ae31109ba9171/
 > x86_64 | luabitop-1.0.2-1 | NOK |
 > http://autobuild.buildroot.net/results/1ead0a162a251d3e7bf8598036fa06c4befeb3d9/
 > x86_64 | luaexpat-1.2.0-1 | NOK |
 > http://autobuild.buildroot.net/results/0544cead086ba51b45dfa1df114787a8f22eaf8d/
 > x86_64 | luafilesystem-1.6.2-1 | NOK |
 > http://autobuild.buildroot.net/results/60161d13d596d41dd4059977eb947d72c172f0d5/

 >> It's not really about 32bits/64bits, but yes, x86-64 is one of the archs
 >> needing -fPIC.

 > Yes, x86_64

 >> What about BR2_PREFER_STATIC_LIB (for both CFLAGS and LDFLAGS lines)?

 > native Lua modules/extensions are always shared lib.

Ok, committed with a reworded commit message, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list