Skip to content

Commit

Permalink
Revert "Cygwin: Enable dynamicbase on the Cygwin DLL by default"
Browse files Browse the repository at this point in the history
This reverts commit 943433b.

This seems to fix fork errors under Docker, see
https://cygwin.com/pipermail/cygwin/2022-December/252711.html
  • Loading branch information
lazka committed Jun 18, 2023
1 parent 0ec2f45 commit a556be7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions winsup/cygwin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -585,8 +585,7 @@ $(NEW_DLL_NAME): $(LDSCRIPT) libdll.a $(VERSION_OFILES) $(LIBSERVER)\
$(newlib_build)/libm.a $(newlib_build)/libc.a
$(AM_V_CXXLD)$(CXX) $(CXXFLAGS) \
-mno-use-libstdc-wrappers \
-Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) \
-Wl,--dynamicbase -static \
-Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) -static \
-Wl,--heap=0 -Wl,--out-implib,msysdll.a -shared -o $@ \
-e @DLL_ENTRY@ $(DEF_FILE) \
-Wl,-whole-archive libdll.a -Wl,-no-whole-archive \
Expand Down

0 comments on commit a556be7

Please sign in to comment.