This is the mail archive of the libc-hacker@cygnus.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]

Re: dynamic linker question


Philip Blundell <pb@nexus.co.uk> writes:

> Is it a requirement that non-PIC objects be supported?

Not necessarily.  You could make it a policy.

But I would think about solving the problem in future.  The problem is
that one way to "save" a static .a library is to convert it into a
shared object and link it against, e.g, a certain libc version.  Then
the library will use the correct functions from the libc.  But the
original .a file contains probably files not compiled with -fPIC.

> The test cases in the elf directory are currently not PIC and these
> tests consequently fail on ARM at the moment.

This is mainly an oversight from on my side.  I'll correct this in a
few minutes.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------


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