Bug in ltmain.in
Joe Marcus Clarke
marcus at FreeBSD.org
Tue May 27 09:40:05 PDT 2003
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
--
Joe Marcus Clarke
FreeBSD GNOME Team :: marcus at FreeBSD.org
http://www.FreeBSD.org/gnome
-------------- next part --------------
--- 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" = "X-lc_r"; then
case $host in
- *-*-openbsd* | *-*-freebsd*)
+ *-*-openbsd* | *-*-freebsd4*)
# Do not include libc_r directly, use -pthread flag.
continue
;;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20030527/6f8847f7/attachment.bin
More information about the freebsd-gnome
mailing list