[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [FYI] Cleanup of linux pass_all
From: |
Jacob Meuser |
Subject: |
Re: [FYI] Cleanup of linux pass_all |
Date: |
Fri, 17 Sep 2004 16:46:08 -0700 |
User-agent: |
Mutt/1.4.2i |
On Wed, Sep 15, 2004 at 01:22:19PM -0500, Bob Friesenhahn 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. :-)
yes, on OpenBSD x86, the compile-time linker will let non-PIC link into shared
objects, but the runtime linker will report "lazy binding failed".
FWIW, I have asked the same question on address@hidden, and got no good
responses on how to determine PIC.
--
<address@hidden>
- Re: [FYI] Cleanup of linux pass_all, (continued)
- Re: [FYI] Cleanup of linux pass_all, Peter O'Gorman, 2004/09/08
- 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 <=
- Re: [FYI] Cleanup of linux pass_all, Bob Friesenhahn, 2004/09/17
- Re: [FYI] Cleanup of linux pass_all, Alexandre Oliva, 2004/09/18
- 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