[Bug ld/11956] New: relocation truncated to fit R_MIPS_TLS_GD linking xulrunner

2010-08-30 Thread viriketo at gmail dot com
Hello, since some time ago (I think all 2.20 versions suffer from this problem too) xulrunner from firefox 3.6.8 (and some older) don't link properly in mips. This happens compiling for ABI n32. r0bertz did some analysis about the problem already two or three months ago, in the binutils mailing

[Bug ld/11956] relocation truncated to fit R_MIPS_TLS_GD linking xulrunner

2010-08-30 Thread viriketo at gmail dot com
--- Additional Comments From viriketo at gmail dot com 2010-08-30 07:38 --- Additional information: I was using gcc 4.5.1, glibc 2.12.1, kernel headers from 2.6.32, all natively built. gcc by default produces code for mips3 n32. -- http://sourceware.org/bugzilla/show_bug.cgi?id=11956

[Bug ld/11956] relocation truncated to fit R_MIPS_TLS_GD linking xulrunner

2010-08-30 Thread viriketo at gmail dot com
--- Additional Comments From viriketo at gmail dot com 2010-08-31 06:58 --- The problem may be related to a TLS variable exported in a shared object (in the global-dynamic way). The TLS variable is gTLSIsMainThread, and the errors from ld come for all the places where it is used. The up