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

[-- Attachment #1 --]
On Thu, Oct 27, 2005 at 03:09:20AM +0000, David Xu wrote:
> davidxu     2005-10-27 03:09:20 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib                  Makefile 
>   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.
>   
>   Discussed on: arch@
>   
>   Revision  Changes    Path
>   1.208     +1 -1      src/lib/Makefile
> 
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} == "alpha" || ${MACHINE_ARCH} == "sparc64"
LIB=kse
.else
LIB=pthread
.endif

# libc_r/Makefile
.if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "sparc64"
SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
.if !defined(NO_PIC)
SYMLINKS+=lib${LIB}.so ${SHLIBDIR}/libpthread.so
.endif
.if !defined(NO_PROFILE)
SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libpthread_p.a
.endif
.endif


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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

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

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