delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/16/03:12:12

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 96D323857C79
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1637050330;
bh=F9fNa8edfqT8gqLc5RofSaAESIKfswD18XOrcdxUSPU=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=KJeV+bdggqFpn1uF4mtjIEo2mk3Qu4UAo26o8FOMl9lYiNS8pnV7EwcMU9Av+oUWB
LelLQ3zP/YEQFNxb9pBO8KOCtWogAv6NgrXErTbkEN9Mq2ht/7MRNX4ZSiv516GnZE
3WcxwzX63SosPGvnjQPybTXouhk0AQ/UhqeDkh4E=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C11B13858431
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 1AG8BDdh011260
X-Nifty-SrcIP: [110.4.221.123]
Date: Tue, 16 Nov 2021 17:11:13 +0900
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin 3.3.0 regression: "make" segmentation faults
Message-Id: <20211116171113.8a284ca48adcefbb0f90fac7@nifty.ne.jp>
In-Reply-To: <5b61de48-0d57-38fb-4997-20f55a20030f@redhat.com>
References: <5b61de48-0d57-38fb-4997-20f55a20030f AT redhat DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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 DOT yano AT nifty DOT ne DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019