NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lib/51139: C++11 std::call_once() broken on NetBSD



On Sun, May 15, 2016 at 10:55:01AM +0000, Valery Ushakov wrote:
> The following reply was made to PR lib/51139; it has been noted by GNATS.
> 
> From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: Martin Husemann <martin%duskware.de@localhost>
> Subject: Re: lib/51139: C++11 std::call_once() broken on NetBSD
> Date: Sun, 15 May 2016 13:54:53 +0300
> 
>  On Sun, May 15, 2016 at 07:35:00 +0000, Martin Husemann wrote:
>  >  Name clash on weak symbols between libpthread and libstdc++ ?
>  
>  It works if -static, so more likely a bug ld.so vs. TLS.

That doesn't say much. With -static, the weak symbols are resolved
differently, most noticable all weak versions are completely ignored in
favor of the strong implementation.

Joerg


Home | Main Index | Thread Index | Old Index