https://issues.dlang.org/show_bug.cgi?id=15054
Vladimir Panteleev <dlang-bugzi...@thecybershadow.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #1 from Vladimir Panteleev <dlang-bugzi...@thecybershadow.net> --- I believe this has been addressed in the latest D releases. There has been a very similar problem recently, with Arch Linux switching to -fPIE by default for everything. This resulted in very similar linking errors when building anything, because libphobos2.a was not built with -fPIC. A workaround was to create a cc/gcc/c++/g++ wrapper somewhere in PATH, which adds -no-pie to the gcc invocation used for linking. However, this has been properly fixed in the latest releases from Arch Linux repositories, where libphobos2.a is now built with -fPIC and generating position-independent binaries is enabled by default. Please reopen if this is still an issue with the latest Arch Linux DMD 2.075.0 package. --