[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:00:11 PST 2016


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

--- Comment #5 from Jonathan M Davis <issues.dlang at jmdavisProg.com> ---
Personally, I actively avoid using the shared version of Phobos, because it
makes it very annoying to deal with multiple versions of it, which comes up
often when you're actually working on Phobos rather than just installing dmd
from the .zip or .deb or whatever. It's also just way nicer to be able to build
a binary and not have to worry about rebuilding it because of changes to other
stuff on your system. So, regardless of what happens to the actual .deb file, I
definitely think that it should be _possible_ to compile phobos as a static
library and use it with -fPIC, and right now, as far as I can tell, it isn't -
or at least, what you get doesn't work correctly, since the resulting dmd can't
build libdruntime.a.

--


More information about the Digitalmars-d-bugs mailing list