Skip to content

Commit eeed7e5

Browse files
committed
Revert "Cygwin: Enable dynamicbase on the Cygwin DLL by default"
This reverts commit 943433b. This seems to fix fork errors under Docker, see https://cygwin.com/pipermail/cygwin/2022-December/252711.html
1 parent 73974da commit eeed7e5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

winsup/cygwin/Makefile.am

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,8 +585,7 @@ $(NEW_DLL_NAME): $(LDSCRIPT) libdll.a $(VERSION_OFILES) $(LIBSERVER)\
585585
$(newlib_build)/libm.a $(newlib_build)/libc.a
586586
$(AM_V_CXXLD)$(CXX) $(CXXFLAGS) \
587587
-mno-use-libstdc-wrappers \
588-
-Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) \
589-
-Wl,--dynamicbase -static \
588+
-Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) -static \
590589
-Wl,--heap=0 -Wl,--out-implib,msysdll.a -shared -o $@ \
591590
-e @DLL_ENTRY@ $(DEF_FILE) \
592591
-Wl,-whole-archive libdll.a -Wl,-no-whole-archive \

0 commit comments

Comments
 (0)