Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Jan 2017 17:03:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-threads@FreeBSD.org
Subject:   [Bug 215709] Use of thread_local produces linking errors [now with gcc]
Message-ID:  <bug-215709-16-VimVHTFzqK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-215709-16@https.bugs.freebsd.org/bugzilla/>
References:  <bug-215709-16@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215709

--- Comment #4 from Konstantin Belousov <kib@FreeBSD.org> ---
Created attachment 178484
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178484&action=
=3Dedit
Provide __cxa_thread_atexit_impl(), split __cxa_thread_atexit() into separa=
te
.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 wrap=
per
cxa_thread_atexit() for libsupc++.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215709-16-VimVHTFzqK>