-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jeff Squyres wrote: | | From here, I get lots of [expected] messages about missing pthread | symbols. This is somewhat of a Big Problem; it did not happen with | 1.5.10 -- meaning that -pthead was passed down to the final link in | (ditto for LT <1.5.10 that I can remember). | | What happened? |
I broke it :(
I applied the attached patch to the branch last night. The ltmain.in bit should apply to your ltmain.sh too.
Opinions on how badly broken this is are welcome, perhaps I need to release a 1.5.14? :((
Peter - -- Peter O'Gorman - http://www.pogma.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (Darwin)
iQCVAwUBQgg5fLiDAg3OZTLPAQKvpgP+Kwk7tSTDicU5k7fd0NUgNAqmqUUNeTux lbY02iohCZJyXoUOSc1b96N+kl7JQo1eMUsTX9RUV+hViXKc6BlUpWhy58OsDGMl TdQ0B4izFqz2d7RLP1q5iTvXe3UKHsfzyGHl+z0f0A/lO2ECN8i8rdhlUOfDJMuN RsXSPOpnD/I= =bLom -----END PGP SIGNATURE-----
Index: ChangeLog 2005-02-07 Peter O'Gorman <[EMAIL PROTECTED]>
* ltmain.in: Add -pthread like flags when linking executables too. Reported by Andreas Schwab <[EMAIL PROTECTED]> Index: ltmain.in =================================================================== RCS file: /cvsroot/libtool/libtool/Attic/ltmain.in,v retrieving revision 1.334.2.60 diff -u -3 -p -u -r1.334.2.60 ltmain.in --- ltmain.in 5 Feb 2005 13:59:47 -0000 1.334.2.60 +++ ltmain.in 7 Feb 2005 14:02:09 -0000 @@ -1525,6 +1525,8 @@ EOF -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) compiler_flags="$compiler_flags $arg" + compile_command="$compile_command $arg" + finalize_command="$finalize_command $arg" continue ;;
_______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool