Re: [PATCH] musl: Don't use gthr weak refs in libgcc PR91737

2019-11-17 Thread Rich Felker
On Sun, Nov 17, 2019 at 11:31:02AM -0700, Jeff Law wrote: > On 11/15/19 3:00 AM, Szabolcs Nagy wrote: > > The gthr weak reference based single thread detection is unsafe with > > static linking and in case of dynamic linking it's ineffective on musl > > since pthread symbols are defined in libc.so.

Re: [PATCH] musl: Don't use gthr weak refs in libgcc PR91737

2019-11-17 Thread Jeff Law
On 11/15/19 3:00 AM, Szabolcs Nagy wrote: > The gthr weak reference based single thread detection is unsafe with > static linking and in case of dynamic linking it's ineffective on musl > since pthread symbols are defined in libc.so. > > Ideally this should be fixed for all targets, since glibc pl