[PATCH] Polished patch (crash after pthread_exit)
Carlos O'Donell
carlos@redhat.com
Wed Jun 26 21:26:00 GMT 2013
On 06/26/2013 04:56 PM, Roland McGrath wrote:
>> I didn't either, I just discovered it, and it's probably hiding
>> a lot of problems. I think I'm going to revert this behaviour and
>> just start fixing the resulting bugs instead.
>
> Usually the rpm changelog will indicate when a change was made and (RH)
> bugzilla numbers it addressed, so you could find the original motivation.
> (Other times, Jakub just miraculously remembers all the details and will
> readily tell you more than you ever thought you wanted to know. ;-)
It was ~4.5 years ago that Fedora started doing this with
~~~
* Wed Feb 18 2009 Jakub Jelinek <jakub@redhat.com> 2.9.90-7
...
- ld -r the whole libpthread.a together to avoid endless issues with
-static ... -lpthread
...
~~~
In which we do:
~~~
...
$GCC -r -nostdlib -o libpthread.o -Wl,--whole-archive ./libpthread.a
rm libpthread.a
ar rcs libpthread.a libpthread.o
rm libpthread.o
...
~~~
I guess "endless issues" is as good a motivation as anything.
I see no BZ's associated with this change though.
I'll ask Jakub ;-)
Cheers,
Carlos.
More information about the Libc-alpha
mailing list