Relocation error - how to debug it ?
Ravi R
toravir@yahoo.com
Wed Apr 21 14:00:00 GMT 2010
Hi,
when linking an executable for mips, i hit this linker error:
/usr/lib/libpthread.a(pthread_create.o): In function `do_clone':
../nptl/sysdeps/pthread/createthread.c:79: relocation truncated to fit: R_MIPS_TLS_GOTTPREL against `errno'
the gcc i am using is close to:
c3.4.5-p6.mips64-octeon-linux-gcc
with the options like:
gcc -static ... -lpthread
Dunno how to go about figuring out what could be causing this problem. Any pointers/clues will be much appreciated.
thanks,
ravi
More information about the Binutils
mailing list