[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool 1.5.12: -pthread lost
From: |
Andreas Schwab |
Subject: |
Re: libtool 1.5.12: -pthread lost |
Date: |
Mon, 07 Feb 2005 15:10:03 +0100 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Peter O'Gorman <address@hidden> writes:
> Andreas Schwab wrote:
>> Peter O'Gorman <address@hidden> writes:
>>
>>>Andreas Schwab wrote:
>>>
>>>>libtool is throwing away the -pthread flag during linking. It is now put
>>>>in compiler_flags instead of deplibs, but the former seems to be ignored.
>>>>Reverting this patch fixes the problem:
>>>>2005-01-16 Peter O'Gorman <address@hidden>
>>>> * ltmain.in: Don't pass through compiler-like thread flags when
>>>> using $LD to do the linking. Use compiler_flags instead.
>>>>Reported by address@hidden
>>>
>>>As long as you put quotes around "fixes" :)
>> Ok :-)
>
> Gah! Okay, when linking executables the -pthread flag is dropped.
>
> --- libtool~ Mon Feb 7 08:43:19 2005
> +++ libtool Mon Feb 7 08:48:22 2005
> @@ -1871,6 +1871,8 @@
>
> -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe)
> compiler_flags="$compiler_flags $arg"
> + compile_command="$compile_command $arg"
> + finalize_command="$finalize_command $arg"
> continue
> ;;
Thanks, this is working fine.
Andreas.
P.S.: inline patches get completely ruined by format=flowed.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."