https://issues.dlang.org/show_bug.cgi?id=16794
--- Comment #9 from Jonathan M Davis ---
@hsteoh Well, as I explained before, when I used either my bootstrapped 2.067.1
or ldc to compile the D toolchain, building druntime failed, with the compiler
hitting the backend error in bug# 15935. Now, I bo
https://issues.dlang.org/show_bug.cgi?id=16794
--- Comment #8 from hst...@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 t
https://issues.dlang.org/show_bug.cgi?id=16794
--- Comment #7 from hst...@quickfur.ath.cx ---
As for building libphobos.a with -fPIC, it's definitely possible, as I
described. At least, I managed to get it to work on my system. I'm not sure
what is causing problems on your system that makes this
https://issues.dlang.org/show_bug.cgi?id=16794
--- Comment #6 from hst...@quickfur.ath.cx ---
To be frank, versioning problems with shared libraries are the fault of the
distributors (i.e., us). The current way shared libraries work, the only sane
setup is to make the shared library name (or more
https://issues.dlang.org/show_bug.cgi?id=16794
--- Comment #5 from Jonathan M Davis ---
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
https://issues.dlang.org/show_bug.cgi?id=16794
--- Comment #4 from hst...@quickfur.ath.cx ---
@Martin: that forces you to link with Phobos dynamically. It doesn't work if
you want to statically-link Phobos.
--
https://issues.dlang.org/show_bug.cgi?id=16794
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment #3 from Martin Nowak
https://issues.dlang.org/show_bug.cgi?id=16794
Jonathan M Davis changed:
What|Removed |Added
CC||issues.dl...@jmdavisprog.co
https://issues.dlang.org/show_bug.cgi?id=16794
--- Comment #1 from hst...@quickfur.ath.cx ---
Alternatively, DMD needs to invoke gcc with -no-pie when linking D executables.
However, I rather we don't go this route, because this would preclude ASLR
(Address Space Layout Randomization) on all gene