From owner-cvs-all@FreeBSD.ORG Thu Oct 27 07:04:31 2005 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51AF216A41F; Thu, 27 Oct 2005 07:04:31 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B590E43D49; Thu, 27 Oct 2005 07:04:30 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 97C4D1A3C32; Thu, 27 Oct 2005 00:04:30 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1F4E7512B5; Thu, 27 Oct 2005 03:04:29 -0400 (EDT) Date: Thu, 27 Oct 2005 03:04:28 -0400 From: Kris Kennaway To: David Xu Message-ID: <20051027070428.GA95514@xor.obsecurity.org> References: <200510270309.j9R39KkY031401@repoman.freebsd.org> <20051027062119.GC68470@ip.net.ua> <4360756D.1030708@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <4360756D.1030708@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Ruslan Ermilov , cvs-all@freebsd.org Subject: Re: cvs commit: src/lib Makefile X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2005 07:04:31 -0000 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Oct 27, 2005 at 02:36:29PM +0800, David Xu wrote: > Ruslan Ermilov wrote: >=20 > >This should break alpha and sparc64 ports: on these architectures, > >libpthread was symlinked to libc_r. The magic is in makefiles: > > > ># libpthread/Makefile > >.if ${MACHINE_ARCH} =3D=3D "alpha" || ${MACHINE_ARCH} =3D=3D "sparc64" > >LIB=3Dkse > >.else > >LIB=3Dpthread > >.endif > > > ># libc_r/Makefile > >.if ${MACHINE_ARCH} =3D=3D "alpha" || ${MACHINE_ARCH} =3D=3D "sparc64" > >SYMLINKS+=3Dlib${LIB}.a ${LIBDIR}/libpthread.a > >.if !defined(NO_PIC) > >SYMLINKS+=3Dlib${LIB}.so ${SHLIBDIR}/libpthread.so > >.endif > >.if !defined(NO_PROFILE) > >SYMLINKS+=3Dlib${LIB}_p.a ${LIBDIR}/libpthread_p.a > >.endif > >.endif > > > > > >Cheers, >=20 > Thanks for the information, last time, I have tested it on > panther, libthr works, at least works with test programs. > Would it be ok to let libthr be the libpthread ? I can not > test alpha, it seems beast still uses 5.4. I'd prefer the following: put libc_r back for now so it's easily available as a fallback, make libthr the default on sparc64 and alpha for a few weeks so that I and others can test it, and then flip the switch once you've fixed any problems that are found with it (in the past libthr did not work 100% on sparc, but you may have fixed it). Kris --zhXaljGHf11kAtnf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDYHv7Wry0BWjoQKURApzeAJ4+0MsF45GgUkn5yDGWgWQhWwYgOgCgrXrX wqGdUJWmPb14lJ6ngTEP1G8= =u8x+ -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--