On Saturday, 19 November 2016 at 16:43:40 UTC, thedeemon wrote:
On Friday, 18 November 2016 at 11:02:20 UTC, Daniel Kozak wrote:
Ubuntu 12.04 to 16.04 which has PIE enabled now, and there
are problems with D on it.
Where can I learn more about it?
It has been typo, it should not be 16.04 but 16.10.
Err.. I mean, what is PIE and what kind of problems with D are
there?
DMD emit relocation data that linker can't make sense of, that's
what happens. So you can't link anything that wasn't compiled
with -fPIC, even if you aren't using shared object, and the
standard lib doesn't work.