Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 09:38:32 -0500 (EST)
From:      Daniel Eischen <eischen@vigrid.com>
To:        "Jacques A. Vidrine" <nectar@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: HEADS UP: libkse -> libpthread switch
Message-ID:  <Pine.GSO.4.10.10401300931140.13821-100000@pcnet5.pcnet.com>
In-Reply-To: <20040130142603.GE99895@madman.celabo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 Jan 2004, Jacques A. Vidrine wrote:

> On Fri, Jan 30, 2004 at 07:34:02AM -0500, Daniel Eischen wrote:
> >       Until
> > 	the ports system is updated to handle this change, it is
> > 	recommended that folks install an /etc/libmap.conf(5) that
> > 	maps libc_r to libpthread.  
> 
> Why, exactly? (curious)
> 
> IMHO it is unacceptable to require /etc/libmap.conf to exist.  I know
> this is temporary, but I hope it is *really* temporary.

When you start [re]building ports now, they may pick up libpthread
instead of PTHREAD_LIBS (currently -lc_r).  Then you may have
things linked to both libc_r and libpthread, or new applications
may depend on libraries that were linked to libc_r.  You can't
depend on more than one threads library.

I suspect it's going to be a mess for a while, but use of
an appropriate libmap.conf should make things usable again.
After ports catches up to these changes and you rebuild all
your ports with the new threads library, then you'll no
longer need the libmap.conf.  Unless you have nvidia provided
drivers/libraries.

-- 
Dan Eischen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10401300931140.13821-100000>