Skip site navigation (1)Skip section navigation (2)
Date:      27 May 2003 12:39:40 -0400
From:      Joe Marcus Clarke <marcus@FreeBSD.org>
To:        bug-libtool@gnu.org
Cc:        FreeBSD GNOME Users <gnome@FreeBSD.org>
Subject:   Bug in ltmain.in
Message-ID:  <1054053580.317.21.camel@gyros>

next in thread | raw e-mail | index | archive | help

--=-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--



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