public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Relocation error - how to debug it ?
@ 2010-04-21 14:00 Ravi R
  2010-04-23 22:20 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Ravi R @ 2010-04-21 14:00 UTC (permalink / raw)
  To: binutils; +Cc: toravir

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


      

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-23 22:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-21 14:00 Relocation error - how to debug it ? Ravi R
2010-04-23 22:20 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).