This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Relocation error - how to debug it ?


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


      


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]