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



Quoting Alexander Kabaev <kabaev@xxxxxxxxx> (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@ should be able to explain the technical details).

Bye,
Alexander.

--
Nobody wants constructive criticism.
It's all we can do to put up with constructive praise.

http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Missing dependencies on shared libraries
    ... If you explicitly include libc on the command line ... libraries don't have libc recorded in them because we don't add -lc on ... Why isn't ldd showing the dependency? ... La prueba mas fehaciente de que existe vida inteligente en otros ...
    (freebsd-hackers)
  • Re: DLLs that depend on each other
    ... decided to try splitting it into two separate libraries. ... The new lib was set to depend on the ... there were a lot of unresolved references. ... because it creates a circular dependency. ...
    (microsoft.public.vc.mfc)
  • Re: DLLs that depend on each other
    ... I find it hard to believe that there is "no way" to separate the entangled ... decided to try splitting it into two separate libraries. ... lib, there were a lot of unresolved references. ... because it creates a circular dependency. ...
    (microsoft.public.vc.mfc)
  • Re: Missing dependencies on shared libraries
    ... I found that ldd doesn't report libc as a dependency on most ... I'm trying to create a dependency in some libraries, ...
    (freebsd-hackers)
  • Re: Missing dependencies on shared libraries
    ... I found that ldd doesn't report libc as a dependency on most ... I'm trying to create a dependency in some libraries, ... La prueba mas fehaciente de que existe vida inteligente en otros ...
    (freebsd-hackers)