http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40183
Graham Reed <greed at pobox dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |greed at pobox dot com --- Comment #3 from Graham Reed <greed at pobox dot com> 2011-01-31 18:44:57 UTC --- (In reply to comment #2) > On SPARC, I only see this when configuring with gas and gld, which isn't > apparent in your g++ -v output. It looks like this is resolved with binutils-2.21. I used the gld from binutils-2.21 with the .o files produced by gas in binutils-2.20.1 and the gcc-4.5.2 compiler, and the tls/static-1.C test now passes. (Using gcc's -v feature to find out what the actual link command was; replacing collect2 with a direct call to ld seems to work well enough for this test.) I haven't tried x86-64 yet; I'm a bit short of CPU power on that one.