On Tue, 29 Oct 2002, John Polstra wrote:

> In article <[EMAIL PROTECTED]>,
> Doug Rabson  <[EMAIL PROTECTED]> wrote:
> > On Tue, 29 Oct 2002, John Polstra wrote:
> > > When a symbol is defined in multiple libraries, the first library
> > > wins.  That's how it has always been in Unix, for archive libraries
> > > and for shared libraries.
> >
> > This is a big problem then since X11.so links to XThrStub.so. This means
> > that XThrStub will be ahead of libc_r in many situations.
>
> I think it would work if the symbol were defined strongly in libc_r.

I think so too. I was trying to work out why this wasn't how things were
done already. FWIW, linux's libpthread appears to be defining the
pthread_* symbols strongly.

-- 
Doug Rabson                             Mail:  [EMAIL PROTECTED]
                                        Phone: +44 20 8348 6160



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to