Conversation
|
Thanks for your pull request and interest in making D better, @marler8997! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please see CONTRIBUTING.md for more information. If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment. Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub fetch digger
dub run digger -- build "master + phobos#7021" |
|
Ping me when this is good. |
45b5203 to
7d409a5
Compare
|
I've verified that adding I know for sure we need The other libraries that may need to be added are |
|
Closing and re-opening to trigger autotester retry. It looked like it failed on windows because of a race condition between running executables and then removing them afterwards. |
|
This one should be ready, if we end up needing to add more libraries then I'll make another PR. |
posix.mak
Outdated
| NODEFAULTLIB=-defaultlib= -debuglib= | ||
| ifeq (,$(findstring win,$(OS))) | ||
| CFLAGS=$(MODEL_FLAG) -fPIC -DHAVE_UNISTD_H | ||
| NODEFAULTLIB += -L-lpthread |
7d409a5 to
8337ed2
Compare
|
Been a few days, any objections to merge this now? Should we apply that label "merge in X days if no objections?" Do we still have that label? |
Currently, phobos is using
-defaultlib=to build itself, but is implicitly relying on its library dependencies to be added by dmd.This change makes the phobos library dependencies explicit rather than relying on its dependencies to be hardcoded into the compiler, which in turn forces all D programs to link to those libraries as well.
This change is required to allow dlang/dmd#9831 to be merged, which removes these implicit libraries from being linked to ALL D programs that use DMD to link.