[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Problems compiling LuaJIT on Solaris.
- From: Mike Pall <mikelu-1106@...>
- Date: Tue, 14 Jun 2011 02:07:03 +0200
Will Metcalf wrote:
> 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
Ick. Ok, so we'll forget about that.
> 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
Looks like the Solaris linker exports all symbols by default.
Try to comment out the following line in src/Makefile: