On Fri, Mar 03, 2017 at 10:32:34AM -0800, H. S. Teoh via Digitalmars-d wrote: > On Fri, Mar 03, 2017 at 06:11:29PM +0000, deadalnix via Digitalmars-d wrote: > > https://issues.dlang.org/show_bug.cgi?id=17236 > > > > Coming to you on ubuntu soon. > > I just built dmd/druntime/phobos on Debian, and it works fine. But then > again, I'm using my -fPIC workaround, which has been officially turned > down as a viable solution, so *shrug*. [...]
Actually, I just tested on a freshly-cloned copy of dmd/druntime/phobos, it seems that building on Debian does work. Digging into the git log, it appears that commit 78cd023 *should* have added -fPIC to the makefiles. So how come it's still not working for you? Are you using an older bootstrap compiler? (If so, the g++wrapper trick I posted should solve that problem -- you can skip the PIC=1 hacks for druntime/phobos as this is apparently already merged into git master.) T -- Almost all proofs have bugs, but almost all theorems are true. -- Paul Pedersen
