This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Polished patch (crash after pthread_exit)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]