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

[email protected]
Newsgroups gmane.os.freebsd.devel.threading
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215709

--- Comment #4 from Konstantin Belousov <[email protected]> ---
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-threads
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.