[OpenIndiana-discuss] Building xz
Paul Johnston
paul.johnston at manchester.ac.uk
Tue Nov 2 14:35:50 UTC 2010
Anyone had any luck building xz http://tukaani.org/xz/
./configure doesn't complain but running make I get:
ld: fatal: relocation error: R_386_GOTOFF: file
.libs/liblzma_la-block_encoder.o: symbol lzma_block_encoder_init: a GOT
relative relocation must reference a local symbol
I'm using gcc 4.3.3
paulj at openindiana:~/Downloads/xz-5.0.0$ gcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: ../gcc-4.3.3/configure --prefix=/usr/gcc/4.3
--libexecdir=/usr/gcc/4.3/lib --enable-bootstrap=yes
--enable-languages=c,c++,objc,fortran --enable-objc-gc --enable-shared
--disable-static --disable-libtool-lock --enable-concept-checks
--enable-libssp --enable-threads=posix --enable-tls=yes
--with-system-zlib --with-gnu-as --with-as=/usr/bin/gas --without-gnu-ld
--with-ld=/usr/ccs/bin/ld --with-gmp-include=/usr/include/gmp
--with-gmp-lib=/usr/lib --with-mpfr-include=/usr/include/mpfr
--with-mpfr-lib=/usr/lib --enable-c99 --enable-nls --enable-wchar_t
--enable-libstdcxx-allocator=mt --with-pic
Thread model: posix
gcc version 4.3.3 (GCC)
And oi_147
paulj at openindiana:~/Downloads/xz-5.0.0$ uname -a
SunOS openindiana 5.11 oi_147 i86pc i386 i86pc Solaris
The top hits on Google for "GOT relative relocation must reference a
local symbol" all refer to Solaris :-( in some way or another!
TIA Paul
More information about the OpenIndiana-discuss
mailing list