[Bug target/90912] Thread-local storage not working properly when compiling code with -fPIC and optimization on Solaris

ondrej at sury dot org gcc-bugzilla@gcc.gnu.org
Fri Jun 21 16:23:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90912

--- Comment #5 from Ondřej Surý <ondrej at sury dot org> ---
(In reply to Andrew Pinski from comment #4)
> Well GCC is producing correct code is GNU LD works with it.

No, not really.

> Report this bug to Sun^wOracle instead.

That said, we did this and it has been already fixed in GCC via PR84010.


More information about the Gcc-bugs mailing list