[Issue 16794] Official .deb packages must compile libphobos2.a with -fPIC
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Nov 30 16:50:22 PST 2016
https://issues.dlang.org/show_bug.cgi?id=16794
--- Comment #8 from hsteoh at quickfur.ath.cx ---
P.S. Note that you have to rebuild *both* druntime and phobos (in that order)
with PIC=1, otherwise it may not link successfully. And also, you might want to
run `make clean` in both druntime and phobos to make sure stale libraries
aren't still lying around, before building with PIC=1. Sometimes the makefile
just picks up an older non-PIE object file instead and the link will fail.
--
More information about the Digitalmars-d-bugs
mailing list