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] Provide pthread_atfork in libc_nonshared.a and libc.a.


On Thu, Oct 03, 2013 at 02:16:02AM -0400, Rich Felker wrote:
> The weak references are just wrong. Instead, the library should have
> strong references to symbols with weak _definitions_ in either (a
> hypothetical dependency) libpthread_stubs.so or libc.so that do
> nothing, and that get overridden by the strong definitions in
> libpthread.so. Or we could just do away with the silliness of having
> these functions in a separate .so file, make libpthread.so a stub, and
> put everything in libc.so. For this to work for glibc, though, a lot
> of mess with symbol versioning would be needed. In musl, it was easy.

Feel free to do it in musl if you like it; though, this constant musl
marketing IMNSHO doesn't belong to this list.

	Jakub


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