On Mon, 15 Nov 2021 17:47:58 +0100 Aleksey Shipilev wrote: > OpenJDK project uses Cygwin to drive the OpenJDK build system under Windows. > Recently, our GitHub > Actions (GHA) Windows runs started to fail with make SEGV-ing: > https://bugs.openjdk.java.net/browse/JDK-8276854 > > This also reproduces locally for me, with the standard OpenJDK Windows build. > All sightings we had > are on Windows 10, but it is unclear if it is Windows 10 specific. > > The reproducer would be a bit hairy, because it requires MSVC 2019, JDK 17 > binary, and some other > dependencies to be installed for OpenJDK build. It goes like this: > > ------- 8< ------- ------- ------- ------- ------- ------- ------- ------- > > <open Cygwin shell> > $ git clone https://github.com/openjdk/jdk/ jdk > $ cd jdk > $ sh ./configure --with-boot-jdk=<jdk17-binary> --disable-warnings-as-errors > $ make clean jdk > ... > Compiling 8 files for BUILD_TOOLS_LANGTOOLS > Compiling 1 files for BUILD_TOOLS_HOTSPOT > Compiling 12 properties into resource bundles for jdk.jdeps > /usr/bin/bash: line 1: 1588 Segmentation fault (core dumped) > /usr/bin/make -s -r -R -I > /cygdrive/d/a/jdk17u/jdk17u/jdk/make/common > SPEC=/cygdrive/d/a/jdk17u/jdk17u/jdk/build/windows-x64/spec.gmk > MAKE_LOG_FLAGS="-s" -f > ModuleWrapper.gmk -I /cygdrive/d/a/jdk17u/jdk17u/jdk/make/common/modules > -I/cygdrive/d/a/jdk17u/jdk17u/jdk/make/modules/java.base MODULE=java.base > MAKEFILE_PREFIX=Copy > make[2]: *** [make/Main.gmk:157: java.base-copy] Error 139 > make[2]: *** Waiting for unfinished jobs.... > Compiling 7 properties into resource bundles for jdk.jshell > > ------- 8< ------- ------- ------- ------- ------- ------- ------- -------
Thanks for the report. I could reproduce the problem and found that the cause is the same with: https://cygwin.com/pipermail/cygwin/2021-November/249913.html I will submit the patch for these issues shortly. -- Takashi Yano <takashi.y...@nifty.ne.jp> -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple