Re: Bug#749290: g++-4.8: broken std::thread on Hurd
Am 20.08.2014 um 23:03 schrieb Samuel Thibault:
> Pino Toscano, le Mon 26 May 2014 08:34:47 +0200, a écrit :
>> It looks like to me there are two solutions:
>>
>> a) fix the GCC detection of threads on Hurd, so it uses only
>> pthread_key_create (or another internal symbol of Hurd's
>> libpthread)
>>
>> b) fix pthread_key_create in Hurd's libpthread, changing it to
>> __pthread_key_create and declaring pthread_key_create as strong
>> alias, just like it is done in NPTL
>>
>> IMHO most probably (b) is the most realistic and easy to do.
>
> I have now commited (b) in glibc. This fixes the webkitgtk build failure
> we've seen recently.
>
> I have updated the fixed libpthread on
>
> http://people.debian.org/~sthibault/tmp/libpthread-2.19.so
>
> (which thus now contains both the thousands-thread fix and std::thread
> fix).
I backported the proposed fix for PR61841 in 4.9.1-6, however this doesn't seem
to fix things.
However, please see Thomas Schwinge's mail to bug-hurd about this issue.
Reply to: