[fpc-pascal] Mixing PIC non-PIC code/variables when linking a shared library

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Nov 18 00:09:47 CET 2014


On Mon, 17 Nov 2014 16:13:40 +0100
Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:

> 
> Dmitry Boyarintsev wrote on ma, 17 nov 2014:
> 
> > So based on the bug report description: "There is no problem with other LCL
> > components"
> > I guess LCL itself was compiled with PIC flag as well (though, not
> > mentioned in the report).
> 
> Yes, fpcmake automatically adds -Cg/-fPIC for x86-64 platforms,  
> exactly because of this issue.

Does "automatically" means here "always on x86_64"?

Mattias



More information about the fpc-pascal mailing list