[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NPTL and static linking



ti, 2005-03-08 kello 13:00 -0800, Blunt Jackson kirjoitti:
> Does anyone know if this is an intentional decision on the part of the
> glibc/nptl crew to refuse to support static linking of the pthreads
> library (perhaps due to ongoing development)? 

I don't know the answer to your exact question, but I have general
comment that might be useful as well.

The glibc upstream maintainers have been against static linking for
some years now, for reasons that seem valid, but which I forget now. I
think there are problems with at least nss (name service switch), which
requires dynamic linking. They don't really guarantee that static
linking works for anything, even if doesn't use threads at all.

See archives of the glibc-alpha mailing list, on for example
http://dir.gmane.org/gmane.comp.lib.glibc.alpha, for more information.
Asking them on the list is probably not a good idea, however.

The FAQ in /usr/share/doc/libc6 is probably useful as well.



Reply to: