https://issues.dlang.org/show_bug.cgi?id=5278

Lodovico Giaretta <lodov...@giaretart.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lodov...@giaretart.net

--- Comment #33 from Lodovico Giaretta <lodov...@giaretart.net> ---
I can confirm that putting `-fPIC -defaultlib=libphobos2.so` in dmd.conf makes
DMD work correctly on hardened systems (tested on Ubuntu 16.10).

Binaries built this way are PIE and have Phobos linked dynamically. I didn't
manage to find a configuration that allows me to statically link Phobos, with
or without PIE.

--

Reply via email to