From owner-freebsd-gnome@FreeBSD.ORG Tue May 27 09:40:04 2003 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B99D237B401 for ; Tue, 27 May 2003 09:40:04 -0700 (PDT) Received: from ms-smtp-01.southeast.rr.com (ms-smtp-01.southeast.rr.com [24.93.67.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1EB643F85 for ; Tue, 27 May 2003 09:40:03 -0700 (PDT) (envelope-from marcus@FreeBSD.org) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158])h4RGYmsb008754; Tue, 27 May 2003 12:34:48 -0400 (EDT) Received: from vpn-client-4.marcuscom.com (vpn-client-4.marcuscom.com [10.2.1.4])h4RGc1V8044142; Tue, 27 May 2003 12:38:05 -0400 (EDT) (envelope-from marcus@FreeBSD.org) X-Authentication-Warning: creme-brulee.marcuscom.com: vpn-client-4.marcuscom.com [10.2.1.4] didn't use HELO protocol From: Joe Marcus Clarke To: bug-libtool@gnu.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-czXWg5bsk9S90RPUIFTv" Organization: FreeBSD, Inc. Message-Id: <1054053580.317.21.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.3 (Preview Release) Date: 27 May 2003 12:39:40 -0400 X-Spam-Status: No, hits=-7.4 required=5.0 tests=BAYES_00,PGP_SIGNATURE_2 autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: FreeBSD GNOME Users Subject: Bug in ltmain.in X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 16:40:05 -0000 --=-czXWg5bsk9S90RPUIFTv Content-Type: multipart/mixed; boundary="=-DOmwN9cYK/XehMIUj9Hg" --=-DOmwN9cYK/XehMIUj9Hg Content-Type: text/plain Content-Transfer-Encoding: quoted-printable There is a bug that was introduced in rev 1.284 of ltmain.in, then later back ported to the 1.4 branch in 1.259.2.16. It makes the assumption that all versions of FreeBSD use -pthread. This is wrong. only FreeBSD 4.x uses -pthread. FreeBSD 5.x uses -lc_r, and thus this change breaks threaded applications on FreeBSD. The attached patch to HEAD fixes the problem. Can this be back-ported to the 1.4 branch as well? Thanks. Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: marcus@FreeBSD.org http://www.FreeBSD.org/gnome --=-DOmwN9cYK/XehMIUj9Hg Content-Disposition: attachment; filename=ltmain.in.diff Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; name=ltmain.in.diff; charset=ISO-8859-1 --- ltmain.in.orig Tue May 27 12:39:06 2003 +++ ltmain.in Tue May 27 12:39:16 2003 @@ -1277,7 +1277,7 @@ esac elif test "X$arg" =3D "X-lc_r"; then case $host in - *-*-openbsd* | *-*-freebsd*) + *-*-openbsd* | *-*-freebsd4*) # Do not include libc_r directly, use -pthread flag. continue ;; --=-DOmwN9cYK/XehMIUj9Hg-- --=-czXWg5bsk9S90RPUIFTv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+05TMb2iPiv4Uz4cRAuitAJ4oDOC5i3RNfPSkp5vnw9733NJgEQCfU/Al rOSBt1wBQsFoKeeehS+mWKw= =RjuI -----END PGP SIGNATURE----- --=-czXWg5bsk9S90RPUIFTv--