Skip to content

Commit 69c6293

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 02217cb commit 69c6293

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
@@ -600,8 +600,7 @@ $(NEW_DLL_NAME): $(LDSCRIPT) libdll.a $(VERSION_OFILES) $(LIBSERVER)\
600600
$(newlib_build)/libm.a $(newlib_build)/libc.a
601601
$(AM_V_CXXLD)$(CXX) $(CXXFLAGS) \
602602
-mno-use-libstdc-wrappers \
603-
-Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) \
604-
-Wl,--dynamicbase -static \
603+
-Wl,--gc-sections -nostdlib -Wl,-T$(LDSCRIPT) -static \
605604
$${SOURCE_DATE_EPOCH:+-Wl,--no-insert-timestamp} \
606605
-Wl,--heap=0 -Wl,--out-implib,msysdll.a -shared -o $@ \
607606
-e @DLL_ENTRY@ $(DEF_FILE) \

0 commit comments

Comments
 (0)