[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [FYI] Cleanup of linux pass_all
From: |
Alexandre Oliva |
Subject: |
Re: [FYI] Cleanup of linux pass_all |
Date: |
18 Sep 2004 14:14:37 -0300 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
On Sep 15, 2004, Bob Friesenhahn <address@hidden> wrote:
> On Wed, 15 Sep 2004, Alexandre Oliva wrote:
>>> if there was only a good way to test for PIC ....
>> The only reasonable way I can think of is to get the linker to try and
>> link stuff. If it fails, we print a warning message and proceed to
>> building a static-only version of the library. And let's just hope
>> modern linkers won't silently create corrupt binaries.
> I expect that assumption takes a lot of finger-crossing. Some
> problems will be found at run-time by ld.so and some will be found via
> gdb in the resulting core dump. :-)
It sure does. But the current stance of using pass_all is exactly
such an assumption, with the difference that, if the linker actually
detects the error, libtool will drop dead instead of backtracking and
attempting to proceed with a static-only library.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer address@hidden, gcc.gnu.org}
Free Software Evangelist address@hidden, gnu.org}
- Re: [FYI] Cleanup of linux pass_all, (continued)
- Re: [FYI] Cleanup of linux pass_all, Scott James Remnant, 2004/09/09
- Re: [FYI] Cleanup of linux pass_all, Alexandre Oliva, 2004/09/11
- Re: [FYI] Cleanup of linux pass_all, Jacob Meuser, 2004/09/11
- Re: [FYI] Cleanup of linux pass_all, Alexandre Oliva, 2004/09/15
- Re: [FYI] Cleanup of linux pass_all, Bob Friesenhahn, 2004/09/15
- Re: [FYI] Cleanup of linux pass_all, Howard Chu, 2004/09/15
- Re: [FYI] Cleanup of linux pass_all, Jacob Meuser, 2004/09/17
- Re: [FYI] Cleanup of linux pass_all, Bob Friesenhahn, 2004/09/17
- Re: [FYI] Cleanup of linux pass_all,
Alexandre Oliva <=
- Re: [FYI] Cleanup of linux pass_all, Howard Chu, 2004/09/15
- Re: [FYI] Cleanup of linux pass_all, Bob Friesenhahn, 2004/09/15
- Re: [FYI] Cleanup of linux pass_all, Scott James Remnant, 2004/09/13
- Re: [FYI] Cleanup of linux pass_all, Gary V. Vaughan, 2004/09/13
- Re: [FYI] Cleanup of linux pass_all, Peter O'Gorman, 2004/09/13
- Re: [FYI] Cleanup of linux pass_all, Alexandre Oliva, 2004/09/18
- Re: [FYI] Cleanup of linux pass_all, Alexandre Oliva, 2004/09/15
- Re: [FYI] Cleanup of linux pass_all, Scott James Remnant, 2004/09/16
- Re: [FYI] Cleanup of linux pass_all, Philip Blundell, 2004/09/16
- Re: [FYI] Cleanup of linux pass_all, Jacob Meuser, 2004/09/18