This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug in IA64 runtime linker


On Thu, Apr 01, 2004 at 05:36:48PM -0500, Ed Connell wrote:
> I have a small test case that I believe illustrates a bug in the
> IA64 runtime linker.  If my shared library is loaded with RTLD_LAZY,
> things don't resolve correctly.  The following can be observed on
> RHEL 3 for Itanium.
> 
>  $ as my_lib.s -o my_lib.o
>  $ ld my_lib.o -o my_lib.so -shared
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Never, ever do that. You should use a compiler driver to create a
shared library. With gcc, it is

# gcc my_lib.o -o my_lib.so -shared


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]