Date: Thu, 27 Oct 2005 03:04:28 -0400 From: Kris Kennaway <kris@obsecurity.org> To: David Xu <davidxu@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, Ruslan Ermilov <ru@freebsd.org>, cvs-all@freebsd.org Subject: Re: cvs commit: src/lib Makefile Message-ID: <20051027070428.GA95514@xor.obsecurity.org> In-Reply-To: <4360756D.1030708@freebsd.org> References: <200510270309.j9R39KkY031401@repoman.freebsd.org> <20051027062119.GC68470@ip.net.ua> <4360756D.1030708@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Thu, Oct 27, 2005 at 02:36:29PM +0800, David Xu wrote:
> Ruslan Ermilov wrote:
>
> >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,
>
> 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
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQFDYHv7Wry0BWjoQKURApzeAJ4+0MsF45GgUkn5yDGWgWQhWwYgOgCgrXrX
wqGdUJWmPb14lJ6ngTEP1G8=
=u8x+
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051027070428.GA95514>
