libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [FYI] Cleanup of linux pass_all


From: Bob Friesenhahn
Subject: Re: [FYI] Cleanup of linux pass_all
Date: Fri, 17 Sep 2004 19:44:43 -0500 (CDT)

On Fri, 17 Sep 2004, Jacob Meuser wrote:
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".

I have seen similar failures under FreeBSD, Solaris, and likely several other operating systems. But if it works with the latest GNU binutils under Linux, that must be good enough for the rest of the world, no? ;-)

A continuing problem is that software developers are usually using the latest tools and have forgotten the shortcomings of the tools which were current just a few years ago. I still remember when Linux's GNU ld required that the user specify libraries in a particular order so that the link could succeed. Probably some of these systems are still in use.

FWIW, I have asked the same question on address@hidden, and got no good
responses on how to determine PIC.

On some systems, `ld' seems almost as trusting as `ar' and expects that the programmer knows what she is doing.

Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]