On Tuesday, 22 November 2016 at 21:19:13 UTC, H. S. Teoh wrote:
On Sat, Nov 19, 2016 at 11:03:05PM +0000, deadalnix via
Digitalmars-d wrote:
A lot of users are reporting errors on debian and ubuntu. .o
generated by dmd do not link and libphobos.a is unusable.
This is very bad and we should consider a hotfix. Is someone
on it ?
FWIW, I'm using Debian/unstable and compiling
dmd/druntime/phobos directly from git HEAD, and it seems to
work fine.
Does this problem only happen for the shipped .deb packages?
T
I think it's not a problem for you, because your system's linker
probably adds fPIC by default when you're building druntime and
phobos. In contrast the binaries available on dlang.org/download
were probably built on machine that does not add -fPIC by default.