Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 09:21:19 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        David Xu <davidxu@FreeBSD.ORG>
Cc:        cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib Makefile
Message-ID:  <20051027062119.GC68470@ip.net.ua>
In-Reply-To: <200510270309.j9R39KkY031401@repoman.freebsd.org>
References:  <200510270309.j9R39KkY031401@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--CUfgB8w4ZwR/yMy5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 27, 2005 at 03:09:20AM +0000, David Xu wrote:
> davidxu     2005-10-27 03:09:20 UTC
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     lib                  Makefile=20
>   Log:
>   Disconnect libc_r from buildworld, it is still kept in the tree to
>   provide some baseline references, but users are encouraged to use
>   libpthread or libthr in real world.
>  =20
>   Discussed on: arch@
>  =20
>   Revision  Changes    Path
>   1.208     +1 -1      src/lib/Makefile
>=20
This should break alpha and sparc64 ports: on these architectures,
libpthread was symlinked to libc_r.  The magic is in makefiles:

# libpthread/Makefile
=2Eif ${MACHINE_ARCH} =3D=3D "alpha" || ${MACHINE_ARCH} =3D=3D "sparc64"
LIB=3Dkse
=2Eelse
LIB=3Dpthread
=2Eendif

# libc_r/Makefile
=2Eif ${MACHINE_ARCH} =3D=3D "alpha" || ${MACHINE_ARCH} =3D=3D "sparc64"
SYMLINKS+=3Dlib${LIB}.a ${LIBDIR}/libpthread.a
=2Eif !defined(NO_PIC)
SYMLINKS+=3Dlib${LIB}.so ${SHLIBDIR}/libpthread.so
=2Eendif
=2Eif !defined(NO_PROFILE)
SYMLINKS+=3Dlib${LIB}_p.a ${LIBDIR}/libpthread_p.a
=2Eendif
=2Eendif


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--CUfgB8w4ZwR/yMy5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDYHHfqRfpzJluFF4RAq26AJ9eH51qGxCE7nFegMhzQ8SAKGeTyQCeKzHQ
i/JXsz+3AIMdp7c3MdHegFY=
=TSlb
-----END PGP SIGNATURE-----

--CUfgB8w4ZwR/yMy5--



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