[Bug c/125418] [16/17 regression] c: tls_model("initial-exec") attribute ignored for hidden symbols with -fno-pie
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri May 22 20:37:50 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125418
--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Sam James from comment #6)
> Are there two bugs then?
>
> Alexander's testcase shows different behaviour for me with #if 1 on amd64:
> https://inbox.sourceware.org/gcc-patches/1265b575-5cad-ffbb-0780-
> 01149d3cf69a@ispras.ru/
The testcase is wrong. You can't have a hidden undefined symbol unless it is
also weak.
More information about the Gcc-bugs
mailing list