[Bug 215709] Use of thread_local produces linking errors [now with gcc]

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 3 17:03:41 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215709

--- Comment #4 from Konstantin Belousov <kib at FreeBSD.org> ---
Created attachment 178484
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=178484&action=edit
Provide __cxa_thread_atexit_impl(), split __cxa_thread_atexit() into separate
.o.

This patch should help with gcc libstdc++ configured on stable/11 with
__cxa_thread_atexit() already existing in libc. With the patch applied, gcc
configure should detect __cxa_thread_atexit_impl() and generate only a wrapper
cxa_thread_atexit() for libsupc++.

If gcc was configured on system where __cxa_thread_atexit(3) was not provided,
but used on a system where it is, the patch does not make a difference.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-threads mailing list