HEADS UP: libkse -> libpthread switch

Scott Long scottl at freebsd.org
Fri Jan 30 08:01:27 PST 2004


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 at FreeBSD.org>
> To: src-committers at FreeBSD.org, cvs-src at FreeBSD.org, cvs-all at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> 




More information about the freebsd-ports mailing list