[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool problem on FreeBSD 4.1 with -pthread
From: |
Gary V. Vaughan |
Subject: |
Re: libtool problem on FreeBSD 4.1 with -pthread |
Date: |
Mon, 08 Nov 2004 12:00:45 +0000 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041103) |
Ralf Wildenhues wrote:
> * Peter Ekberg wrote on Sat, Nov 06, 2004 at 05:29:25PM CET:
>
>>Peter O'Gorman wrote:
>>
>>>If you put it in the .la in $inherited_linker_flags then all should
>>>be well (I think).
>>
>>Ok, thanks for the hint. I originally did the patch for the libtool 1.4
>>series and wasn't aware of the new flag. Here's a revised patch.
>>
>>Changelog entry as before...
>>
>>Cheers,
>>Peter
>>
>>2004-11-06 Peter Ekberg <spam.protected>
>>
>> * config/ltmain.m4sh (func_mode_link): forward thread
>> related flags to dependent applications and libraries.
>
>
> I think we should take it, even if:
>
> - On AIX, users will still have to set their compiler.
Really? Under what circumstances? And for what reason?
> - For different compilers on the same system, different flags might be
> necessary. Thus, if you compile the library with a different
> compiler than the one you compile the program with, it might break.
> Note that it might not work anyway, so maybe it's not useful to worry
> about this too much. (If it turns out to be an issue, let libtool
> resolve it by storing a compiler-independent flag there and substituting
> it for the cmdline; e.g. -thread-safe).
Libtool (and autoconf) will only ever work properly if it is called
with the same compiler that was used at build time. It is a limitation
of the architecture that we can't work around... short of rerunning
all the compile time tests at every invocation.
> - Other than the second point, this approach is orthogonal to finding
> out the value of thread_safe_flag_spec.
>
> What do the others think? I don't want to have the last word here.
I see no reason not to put it on HEAD and try it out as is.
Cheers,
Gary.
--
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature
- libtool problem on FreeBSD 4.1 with -pthread, Peter Ekberg, 2004/11/05
- Re: libtool problem on FreeBSD 4.1 with -pthread, Peter Ekberg, 2004/11/06
- Re: libtool problem on FreeBSD 4.1 with -pthread, Noah Misch, 2004/11/08
- Re: libtool problem on FreeBSD 4.1 with -pthread, Ralf Wildenhues, 2004/11/08
- Re: libtool problem on FreeBSD 4.1 with -pthread, Bob Friesenhahn, 2004/11/08
- Re: libtool problem on FreeBSD 4.1 with -pthread, Ralf Wildenhues, 2004/11/09
RE: libtool problem on FreeBSD 4.1 with -pthread, Peter Ekberg, 2004/11/16