From owner-freebsd-current@FreeBSD.ORG Fri Jan 30 08:01:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D94B216A4CF for ; Fri, 30 Jan 2004 08:01:27 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id CAF6543D4C for ; Fri, 30 Jan 2004 08:01:14 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 65703 invoked by uid 1002); 30 Jan 2004 16:01:14 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 30 Jan 2004 16:01:14 -0000 Message-ID: <401A7F45.6060900@freebsd.org> Date: Fri, 30 Jan 2004 08:59:01 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031103 X-Accept-Language: en-us, en MIME-Version: 1.0 To: deischen@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: ports@freebsd.org cc: current@freebsd.org Subject: Re: HEADS UP: libkse -> libpthread switch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 16:01:28 -0000 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 > 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" >