From owner-freebsd-threads@FreeBSD.ORG Sun Jun 8 19:33:54 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF74F37B401 for ; Sun, 8 Jun 2003 19:33:54 -0700 (PDT) Received: from basement.kutulu.org (pcp03610121pcs.longhl01.md.comcast.net [68.49.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id 13AEA43FBF for ; Sun, 8 Jun 2003 19:33:54 -0700 (PDT) (envelope-from kutulu@kutulu.org) Received: by basement.kutulu.org (Postfix, from userid 1001) id 5483DA98C; Sun, 8 Jun 2003 22:33:52 -0400 (EDT) Date: Sun, 8 Jun 2003 22:33:52 -0400 From: Michael Edenfield To: Daniel Eischen Message-ID: <20030609023352.GA93648@basement.kutulu.org> Mail-Followup-To: Michael Edenfield , Daniel Eischen , Petri Helenius , freebsd-threads@freebsd.org References: <20030608192058.GA37124@basement.kutulu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Mailer: Mutt http://www.mutt.org/ X-Accept-Language: en X-PGP-Key: http://www.kutulu.org/pgp/kutulu.asc X-PGP-Fingerprint: 1CE0 3C31 7013 D529 406D 37DC 09CC CD84 A46C 878F cc: freebsd-threads@freebsd.org Subject: Re: mysql X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jun 2003 02:33:55 -0000 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Daniel Eischen [030608 19:12]: > The other way is to set PTHREAD_LIBS=3D-lkse when building > the port. At least that _should_ work if the port is > set up correctly (sometimes, autoconf or libtool can > detect a threads library on its own and can override > whatever PTHREAD_LIBS is set to). I had forgotten about that way, which is much less work for just one=20 port. Unfortunately, mysql appears to be one of those few ports=20 that is too smart for it's own good :) It not only uses libtool, but=20 has quite a bit of Makefile logic to select between threading=20 libraries like libc_r and linuxthreads. End result, it completely=20 ignored PTHREAD_LIBS. Odd, since the configure script did appear to=20 figure out that it wanted "-pthread" on the linker line... Oh well. --Mike --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+4/IOCczNhKRsh48RAgsEAKCh483RYid4PEzLDtRu4qKPmAs/EACfX9uP QmRIn7BCsLqbC8MPYGst6Ns= =C/0S -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--