Re: "-pthread" == "-lpthread" for shared libs in -CURRENT

From: Alexander Kabaev <kabaev_at_gmail.com>
Date: Wed, 13 Jun 2007 09:53:47 -0400
On 6/13/07, Alexander Leidinger <Alexander_at_leidinger.net> wrote:
> Quoting Alexander Kabaev <kabaev_at_gmail.com> (from Wed, 13 Jun 2007
> 08:37:51 -0400):
>
> > I think this was related to the way we used to support threads in
> > 3.x/early 4.x releases. The program was supposed to link with either
> > libc or libc_r, but not both and having both libraries loaded at the
> > same time was really bad idea. Recording dependency to libc_r or libc
> > into shared libraries makes shared libraries that work in both threaded
> > and non-threaded programs impossible.
>
> So we can switch to recording the lib dependencies in libs now? I
> think this would help to let firefox do some SSO stuff with kerberos
> (loading it as a plugin causes it to moan because some depending lib
> is not loaded, bsam_at_ should be able to explain the technical details).
>

We alsways did. libc and libpthread were the only two weird ones in
pre-gcc 4.2 world, and that has changed back to what it should be when
gcc 4.2 was imported.

-- 
Alexander Kabaev
Received on Wed Jun 13 2007 - 11:53:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:12 UTC