On Thursday, 13 October 2016 at 17:07:19 UTC, Nordlöw wrote:
On Thursday, 13 October 2016 at 17:02:32 UTC, Nordlöw wrote:
Am I using the wrong GCC version? Should I use GCC 5 instead?

GCC 6.2 is default on 16.10.

Compiling DMD with GCC 5 as

make -f posix.mak HOST_CXX=g++-5

also fails with same errors.

The new toolchains of Ubuntu (and Debian soon too) default to PIE code, so in order to link correctly, the project needs to be compiled with PIE/PIC to work.

Reply via email to