Thread overview
[Issue 16702] DMD emit PIC relocation when it isn't appropriate, program won't link.
Nov 19, 2016
deadalnix
Nov 19, 2016
deadalnix
Oct 01, 2017
Marco Leise
Dec 17, 2022
Iain Buclaw
November 19, 2016
https://issues.dlang.org/show_bug.cgi?id=16702

--- Comment #1 from deadalnix <deadalnix@gmail.com> ---
Also, I tested with gold and ld, both give me the same errors (ld seems to be bailing out earlier, but I get the same errors). It is not the linker.

--
November 19, 2016
https://issues.dlang.org/show_bug.cgi?id=16702

--- Comment #2 from deadalnix <deadalnix@gmail.com> ---
Ha and because libphobos.a is not complied with -fPIC (because it is actually the right thing to do), it is now unusable.

--
October 01, 2017
https://issues.dlang.org/show_bug.cgi?id=16702

Marco Leise <Marco.Leise@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Marco.Leise@gmx.de

--- Comment #3 from Marco Leise <Marco.Leise@gmx.de> ---
I only get errors with ld.gold (binutils 2.28.1) now. It is still a problem for systems where 'ld' is ld.gold as there is no way to tell dmd to invoke 'ld.bfd'.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=16702

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
December 13
https://issues.dlang.org/show_bug.cgi?id=16702

--- Comment #4 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/17781

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--