[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Problems compiling LuaJIT on Solaris.
- From: Will Metcalf <william.metcalf@...>
- Date: Tue, 14 Jun 2011 09:09:48 -0500
That worked! I have attached an updated patch if you would like to add the changes back into LuaJIT.
On Mon, Jun 13, 2011 at 7:07 PM, Mike Pall <email@example.com>
Will Metcalf wrote:Ick. Ok, so we'll forget about that.
> Removing visibility modification results in..
> A whole bunch of warnings similar to "lib_math.c:120: warning: visibility
> attribute not supported in this configuration; ignored"
> DYNLINK libluajit.so
> ld: fatal: relocation error: R_386_GOTOFF: file lj_err_dyn.o: symbol
> lj_err_allmsg: a GOT relative relocation must reference a local symbol
Looks like the Solaris linker exports all symbols by default.
> Trying to compile with BUILDMODE= static results in the following
> AR libluajit.a
> CC luajit.o
> BUILDVM ../lib/vmdef.lua
> LINK luajit
> ld: fatal: unrecognized option '-E'
> ld: fatal: use the -z help option for usage information
> collect2: ld returned 1 exit status
Try to comment out the following line in src/Makefile:
Description: Binary data