[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: |
Ralf Wildenhues |
Subject: |
Re: libtool problem on FreeBSD 4.1 with -pthread |
Date: |
Mon, 8 Nov 2004 10:55:19 +0100 |
User-agent: |
Mutt/1.4.1i |
* 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.
- 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).
- 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.
Regards,
Ralf
- 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,
Ralf Wildenhues <=
- 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