[Bug target/93146] C++ TLS init function not generated on AIX
andrew at ishiboo dot com
gcc-bugzilla@gcc.gnu.org
Fri Apr 17 19:35:21 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93146
Andrew Paprocki <andrew at ishiboo dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrew at ishiboo dot com
--- Comment #3 from Andrew Paprocki <andrew at ishiboo dot com> ---
Just wanted to echo that I hit this as well because gdb (I'm compiling 9.1) now
uses `thread_local`:
ld: 0711-317 ERROR: Undefined symbol: TLS init function for
thread_local_segv_handler
ld: 0711-317 ERROR: Undefined symbol: .TLS init function for
thread_local_segv_handler
Using `-fno-extern-tls-init` results in a successful build.
More information about the Gcc-bugs
mailing list