This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Bugs using -fPIC on linux (i86 RedHat 5.0)?


On Mon, Dec 29, 1997 at 03:22:09PM +0100, Marius Kjeldahl wrote:
> (I do not know _why_ it runs without -fPIC - maybe it simply
> does not gain me the real benefit of a shared library, meaning several
> applications will load the library into their own private memory space
> - just guessing here).

A pretty good guess -- the pages start out shared and then get dirtied
by the relocations that are applied, which makes them not shared.  The
fact that it does work has its uses though.

> In looking at the temporary assembler file, the lines it objects to is:
> 
> 	call @PLT

This is a compiler bug, as the target symbol for the call is missing.
Can you give us the preprocessed file that generates this problem?


r~


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