Bug 13149 – released libphobos2.a is build with PIC code

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
installer
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2014-07-17T09:46:00Z
Last change time
2014-08-21T18:22:09Z
Assigned to
nobody
Creator
code

Comments

Comment #0 by code — 2014-07-17T09:46:29Z
Just found this while resolving issue 13117. It's likely some issue in the create_dmd_release.d script.
Comment #1 by github-bugzilla — 2014-07-18T14:37:59Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/88ab4d2227e05bb242bbe5c4cf1265e7254065ca fix Issue 13149 - released libphobos2.a is build with PIC code - Happens because the libphobos2.so was build with a recursive target and PIC=1. This PIC=1 enabled -fPIC for the recursive libdruntime.a build. - fixed by building $(LIBSO) non-recursively https://github.com/D-Programming-Language/phobos/commit/228aa04856364a2539c66c849d62852ec25b31c9 Merge pull request #2345 from MartinNowak/fix13149 fix Issue 13149 - released libphobos2.a is build with PIC code
Comment #2 by github-bugzilla — 2014-07-23T16:14:51Z
Commit pushed to 2.066 at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/4c3ef92a238626c63fef5721ec82fa04acbed2e5 Merge pull request #2345 from MartinNowak/fix13149 fix Issue 13149 - released libphobos2.a is build with PIC code
Comment #3 by github-bugzilla — 2014-08-21T18:22:09Z