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

Dmitry Boyarintsev skalogryz.lists at gmail.com
Mon Nov 17 14:14:07 CET 2014

On Mon, Nov 17, 2014 at 2:51 AM, Jonas Maebe <jonas.maebe at elis.ugent.be>

> All global data, exported or not, need special code to be accessed in a
> position-independent way on most targets (including x86-64).

Thanks for clarification.

So based on the bug report description: "There is no problem with other LCL
I guess LCL itself was compiled with PIC flag as well (though, not
mentioned in the report).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20141117/38ed262d/attachment.html>

More information about the fpc-pascal mailing list