Date: Wed, 3 Sep 2003 19:33:28 +0200 From: Kirill Ponomarew <krion@FreeBSD.org> To: deischen@freebsd.org Cc: ports@freebsd.org Subject: Re: Heads Up: cvs commit: src/contrib/gcc/config freebsd-spec.h (fwd) Message-ID: <20030903173328.GA57598@voodoo.oberon.net> In-Reply-To: <Pine.GSO.4.10.10309031147560.26195-100000@pcnet5.pcnet.com> References: <Pine.GSO.4.10.10309031147560.26195-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Wed, Sep 03, 2003 at 11:57:21AM -0400, Daniel Eischen wrote: =20 > In summary, using -pthread with gcc in -current will be an error. > Our ports should really be ${PTHREAD_LIBS} clean if we want to > support different thread libraries, even on port by port basis. >=20 > If we continue to allow -pthread, we'll end up with ports linked > to both libc_r and {libkse(M:N),libkse(1:1),libthr,linuxthreads,etc} > and this doesn't work; they ports will build fine, but they won't > run correctly. >=20 > I suggest that libtool, autoconf, etc., be taught about ${PTHREAD_LIBS} > and if defined, use that instead of -lc_r, -lpthread, etc. If > ${PTHREAD_LIBS} is not defined, then order of detection should > be -lpthread, then -lc_r last. I think, it would be great if portmgr do full run on bento and show build results. -Kirill --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/ViXoQC1G6a60JuURAiDFAKCrN/d7dY/LCUDjYj9bEUIo4do2CQCguZPu t48lwE0dGvTil7rq/rZwuLA= =zywz -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030903173328.GA57598>