Re: HEADS UP: libkse -> libpthread switch

From: Scott Long <scottl_at_freebsd.org>
Date: Fri, 30 Jan 2004 08:59:01 -0700
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_at_
>   
>   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"
> 
Received on Fri Jan 30 2004 - 07:01:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:40 UTC