Re: [PATCH 12/13] libstdc++, libgfortran gthr workaround for musl

2015-04-22 Thread Kyrill Tkachov
On 22/04/15 14:17, Jeff Law wrote: On 04/20/2015 12:59 PM, Szabolcs Nagy wrote: libgcc/gthr-posix.h uses weak reference logic to determine if libpthread is linked into the application or not. This is broken unless there is special workaround with libc internal knowledge and even then static li

Re: [PATCH 12/13] libstdc++, libgfortran gthr workaround for musl

2015-04-22 Thread Jeff Law
On 04/20/2015 12:59 PM, Szabolcs Nagy wrote: libgcc/gthr-posix.h uses weak reference logic to determine if libpthread is linked into the application or not. This is broken unless there is special workaround with libc internal knowledge and even then static linking needs further manual link time

[PATCH 12/13] libstdc++, libgfortran gthr workaround for musl

2015-04-20 Thread Szabolcs Nagy
libgcc/gthr-posix.h uses weak reference logic to determine if libpthread is linked into the application or not. This is broken unless there is special workaround with libc internal knowledge and even then static linking needs further manual link time workaround, so this was disabled for os/generic