Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 08:59:01 -0700
From:      Scott Long <scottl@freebsd.org>
To:        deischen@freebsd.org
Cc:        current@freebsd.org
Subject:   Re: HEADS UP: libkse -> libpthread switch
Message-ID:  <401A7F45.6060900@freebsd.org>
In-Reply-To: <Pine.GSO.4.10.10401300722060.7499-100000@pcnet5.pcnet.com>
References:  <Pine.GSO.4.10.10401300722060.7499-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks a lot!

Daniel Eischen wrote:
> I added a note to updating:
> 
> 20040130:
> 	libkse has been renamed back to libpthread and is now the
> 	default threads library.  The gcc -pthread option has also
> 	been changed to link to libpthread instead of libc_r.  For
> 	alpha and sparc64 machines, libkse is not renamed and links
> 	are installed so that libpthread points to libc_r.  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.  If you have any binaries or
> 	libraries linked to libkse, then it is also recommended
> 	that you map libkse to libpthread.  Anyone that is using
> 	nvidia supplied drivers and libraries should use a libmap.conf
> 	that maps libpthread to libc_r since their drivers/libraries
> 	do not work with libpthread.
> 
> For the ports team, it is recommended that you don't install a
> libmap.conf so you can catch build problems.  You can use
> ldd to check libraries and binaries for use of multiple
> thread libraries.  Other than respecting PTHREAD_LIBS,
> I recommend that autoconf/libtool-type scripts first
> check for the existence of libpthread, then libc_r if
> libpthread isn't found.
> 
> ---------- Forwarded message ----------
> Date: Fri, 30 Jan 2004 04:13:17 -0800 (PST)
> From: Daniel Eischen <deischen@FreeBSD.org>
> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
> Subject: cvs commit: src/lib/libc_r Makefile src/lib/libpthread Makefile
> 
> deischen    2004/01/30 04:13:17 PST
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib/libc_r           Makefile 
>     lib/libpthread       Makefile 
>   Log:
>   Change libkse back to libpthread and make it the default
>   thread library for i386, amd64, and ia64.  For alpha
>   and sparc64 the library is not changed and remains libkse,
>   and links are installed so that libpthread -> libc_r.
>   
>   The gcc -pthread option will be changed in a separate
>   commit so that it links to -lpthread instead of -lc_r.
>   
>   Approved by:    re@
>   
>   Revision  Changes    Path
>   1.38      +10 -0     src/lib/libc_r/Makefile
>   1.50      +4 -0      src/lib/libpthread/Makefile
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 




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