Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Apr 2004 23:35:17 +0200
From:      Matthias Schuendehuette <msch@snafu.de>
To:        Daniel Eischen <eischen@vigrid.com>
Cc:        Tim Robbins <tjr@freebsd.org>
Subject:   Re: libpthread?
Message-ID:  <200404102335.18433.msch@snafu.de>
In-Reply-To: <Pine.GSO.4.10.10404101102390.20144-100000@pcnet5.pcnet.com>
References:  <Pine.GSO.4.10.10404101102390.20144-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Dan, Hi you others,

On Saturday 10 April 2004 17:10, Daniel Eischen wrote:
> On Sat, 10 Apr 2004, Tim Robbins wrote:
>
> You don't need to rebuild any ports if you globally
> map libc_r to libpthread with /etc/libmap.conf.  Over
> time, when all your ports are upgraded at your leisure,
> references to libc_r will be removed.  Of course,
> portupgrade -af would do the trick much quicker...

Yeah, that was the key-paragraph! I read this already in UPGRADING but 
obviously didn't understand it fully...

'portupgrade -af' is not an option here because of my ISDN-Line (64 
kbit/s). I'm perhaps one of the last users of hm's 'i4b'-package... :-)

> > The golden rule is: don't mix threading libraries within a program.
> > If a program is linked to libc_r, so must all the other
> > thread-aware libraries it links to be. The same goes for
> > libpthread.
>
> If you are coming from 5.2.1-RELEASE and before, and trying
> to upgrade to -release, the default threading library changed
> from libc_r to libpthread.  This would explain how you would
> be mixing threading libraries and why you need to (at least
> temporarily) use /etc/libmap.conf to choose one.

Yes, I'm coming from 5.0-current... :-)

> > The silver rule is: if you're using the nvidia driver, set up
> > your libmap.conf so that everything gets linked to libc_r.

So that's the "show-stopper" for the nvidia-driver - at least for me for 
the near future until it works with 'libpthread'.

Thank you very much for your explanations!
-- 
Ciao/BSD - Matthias

Matthias Schuendehuette	<msch [at] snafu.de>, Berlin (Germany)
PGP-Key at <pgp.mit.edu> and <wwwkeys.de.pgp.net> ID: 0xDDFB0A5F



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404102335.18433.msch>