June 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17375

--- Comment #8 from Vladimir Panteleev <thecybershadow@gmail.com> ---
(In reply to Martin Nowak from comment #7)
> Maybe you had a different git repo, my bisect ended at commit https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git; h=9acc85a62eb76c270724bba15c889d2d05567b6a.

No idea what you mean; that's the same commit I mentioned in comment 2 above.

--
July 05, 2017
https://issues.dlang.org/show_bug.cgi?id=17375

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

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

--
July 05, 2017
https://issues.dlang.org/show_bug.cgi?id=17375

Ketmar Dark <ketmar@ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ketmar@ketmar.no-ip.org

--
July 09, 2017
https://issues.dlang.org/show_bug.cgi?id=17375

--- Comment #9 from Seb <greensunny12@gmail.com> ---
> It should be made default on Arch anyhow after we've switched with 2.072.2

Sadly it's not the default on Arch yet, see e.g.

http://forum.dlang.org/post/gpbyhmdsudlmapsvvqmq@forum.dlang.org

and my proposal to make it default for all Posix distros:

https://github.com/dlang/phobos/pull/5586

--
July 31, 2017
https://issues.dlang.org/show_bug.cgi?id=17375

Thomas Mader <thomas.mader@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thomas.mader@gmail.com

--- Comment #10 from Thomas Mader <thomas.mader@gmail.com> ---
Had the same problem with binutils 2.28 and dmd 2.075.0 on NixOS with druntime and phobos.

Working around the problem as suggested with

      make -f posix.mak PIC=-fPIC INSTALL_DIR=$out DMD=$DMD

works for phobos.

But for druntime I needed to patch a Makefile,

    substituteInPlace druntime/test/common.mak \
        --replace "DFLAGS:=" "DFLAGS:=-fPIC "

otherwise the link test in the druntime unittests would fail when running with

      make -f posix.mak unittest PIC=-fPIC DMD=$DMD BUILD=release

--
September 18, 2017
https://issues.dlang.org/show_bug.cgi?id=17375

--- Comment #11 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/3d36e434b84cf6ebd7341aaffe2b3b0b588a0262 Issue 17375 - use -fPIC by default for Phobos on Posix

This also fixes:

Fix Issue 17107 - Running phobos unittests do not work with PIE

https://github.com/dlang/phobos/commit/d400af081aad1dcb735170a99f9f8d1562788db9 Merge pull request #5586 from wilzbach/fpic-by-default

Issue 17375 - use -fPIC by default for Phobos on Posix

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

--- Comment #12 from github-bugzilla@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/3d36e434b84cf6ebd7341aaffe2b3b0b588a0262 Issue 17375 - use -fPIC by default for Phobos on Posix

https://github.com/dlang/phobos/commit/d400af081aad1dcb735170a99f9f8d1562788db9 Merge pull request #5586 from wilzbach/fpic-by-default

--
December 13, 2017
https://issues.dlang.org/show_bug.cgi?id=17375

Seb <greensunny12@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from Seb <greensunny12@gmail.com> ---
The colliding module detection has been removed: https://github.com/dlang/druntime/pull/1921

--
December 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17375

--- Comment #14 from Marco Leise <Marco.Leise@gmx.de> ---
If that detection has been removed, does this mean we can revert to compiling without -fPIC again? It's slows down code on x86. I put it in dmd.conf for Gentoo by default, because shared libraries would not load due to this bug. So can we revert to the pre binutils 2.28 procedures now for druntime, Phobos, dmd.conf?

--
December 16, 2017
https://issues.dlang.org/show_bug.cgi?id=17375

greenify <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify@gmail.com

--- Comment #15 from greenify <greeenify@gmail.com> ---
-fPIC is only the default for x86_64 on Linux and required due to PIE hardening on many distributions.

--
1 2
Next ›   Last »