|
From: | timo.teras at iki dot fi |
Subject: | [Bug gold/17699] incorrect R_386_TLS_DTPMOD32 relocation |
Date: | Thu, 11 Dec 2014 19:51:51 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17699 --- Comment #4 from Timo Teräs <timo.teras at iki dot fi> --- The minimal way to reproduce this seems to be: -- test.cc struct foo { int a; }; namespace { struct foo *get_global() throw() { static __thread struct foo global; return &global; } } // anonymous namespace -- And compile .so with: g++ -fPIC test.cc -shared -o test.so Without -fPIC it looks better. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |