strange -fPIC compilation error

Sebastien Alaiwan via Digitalmars-d-learn digitalmars-d-learn at
Mon Oct 31 00:16:50 PDT 2016

 From GCC 6.2, -fpie is becoming the default setting at compile 
and at link time.
As dmd uses GCC to link, now the code needs to be compiled with a 
special option.
Which means you need, at the moment, to add the following options 
to your dmd.conf: -fPIC
(the change from GCC is related to security and address space 

More information about the Digitalmars-d-learn mailing list