X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3FB0738A7C22
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1641895763;
	bh=XUkn8oEW4eZ5D7lbUVS0E9jAXe7ZEEmMgIQeQWhVj4o=;
	h=Date:From:To:Subject:References:In-Reply-To:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 Reply-To:From;
	b=Sl0Mo7lixYFJYqz3xVKbGfGmeJcDBvsNgP3CzM7FC5Ki5tStx+Q2X/r4i1WFm9EPP
	 WPLLDQd9fFxKvXW8x1qarZpgxaolfXxQwJhRdD3k/0COQfL0mQB8kBQ+eqBnDkHqE+
	 IkxQvl11/KHX7pcmzA76NIp6WFOFMd6p7TbBQd1s=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B12DC38A1423
Authentication-Results: sourceware.org;
 dmarc=fail (p=none dis=none) header.from=cygwin.com
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=cygwin.com
Date: Tue, 11 Jan 2022 11:07:27 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: posix_spawn issues on i686
Message-ID: <Yd1W3753GnkC8398@calimero.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <alpine.BSO.2.21.2201101132030.11760@resin.csoft.net>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <alpine.BSO.2.21.2201101132030.11760@resin.csoft.net>
X-Provags-ID: V03:K1:O0QPSWGNoeMOBlobnIZk2JKFrSWTQTktEM+rguw4tItyGddPj6h
 fH8QGrKkkCnw7O9a1Vt0L+b+Sv+OA9tQwbr8/1vOcDPtu2rPGDgpW24sZliB9MYZm+dU3J8
 U6AkL6ihy/y7ZP52uIBmqrqAsykA3rwC0MgivTnZ90e/f96qDXg3jcpgKsElsGQkdKVsoMG
 R2RzHD16pWGbETTOlyh/w==
X-UI-Out-Filterresults: notjunk:1;V03:K0:oYWxcIpU28Y=:ttNAKESUY4k8cthBSYQF0O
 gzWLgI63H1HZsiHiwGkZwyitS87EjiVQIgWl0OC/s0D4XiN+HkQbqBTj2bJFko0yaCYltqWtg
 4kwGQ4VwRUgbiYCPlXPT0xYaaBJTwzZX6p4WcEzxRDCZIivCYFrOSEucTKuUdPuaHTsG8ycg9
 Qd/RyKknYt3N0nyoIdN4socKrekISdZ656Thh/yt9Dh3KBzi6kNwU65ej15zVxra+01OjZRV3
 KOCAM0tAATjRfnWjfpIQu4FUQVnssMaOslnC6q0T4bAxoboqVZsf2yCwwSVcnobDrt8WTBLp5
 cFHQ3hZs5vAVWud3+IQEN0JlwbJxbOPFlFNtpgvV+yLHfwReYT9dUJXfEuvWchx/l4NxMaFIe
 v6vUbX7YHniLF72bkg+W5fyq4OsInBuaP9dklPo3ShF+0GjHshwiRpcaQwJ5sy3XvE5sGorbf
 SrM80Zt+eGw4K6MBwOSw6VrKKmv8LUxoeyggBr96PulrKRP9s2Npq0nvue7bquUVKLKt8mwEr
 QjiHv0V6iLamwDmKfNKByXBdjhBeWjSJH33r5ALHG7k1ni46v6spAVWGJHqlbp3f44tWYdOJ4
 RSMk8IlpDE1ntJBy8Du6lQBOUFm+V0Gvw47wqyPBl6Qt0bPoBOeGQPbB0IryW06H8ke+YTdBv
 TMgPzJtP/uacyIkse6qiKNabeuaOTECsVLizCoveVnOaxKwhQQsgJDLk1lZPmQ1cGBo53frRO
 PM/TmIGTZuDyERDH
X-Spam-Status: No, score=-91.1 required=5.0 tests=BAYES_00,
 GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, KAM_NUMSUBJECT,
 RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL, SPF_FAIL,
 SPF_HELO_NONE, 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@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Reply-To: cygwin@cygwin.com
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On Jan 10 11:38, Jeremy Drake via Cygwin wrote:
> >From https://github.com/msys2/MSYS2-packages/issues/2801
> 
> MSYS2 recently rebuilt GNU make 4.3, and I found that after rebuilding, it
> broke rather horribly on i686, where any attempt to run a command resulted
> in "Invalid argument" errors.  Some debugging revealed that rebuilding
> make resulted in it using posix_spawn now instead of vfork.  Passing
> --disable-posix-spawn to make's configure script results in a working i686
> make.
> 
> >From the MSYS2 bug report:
> 
> """
> For reference, I tried to rebuild "make" in cygwin 32 bit and it has the
> same problem:
> 
> rebuilding cygport make.cygport all results in a broken make
> Adding CYGCONF_ARGS="--disable-posix-spawn" to the cygport file and
> rebuilding again results in a good make
> A Makefile to reproduce the issue:
> 
> all:
> 	echo hi
> """
> 
> In addition, make check fails rather horribly as well.
> 
> I know that 32-bit is on the way out, but it is concerning to me that
> there is some latent bug lurking in this code path that is apparently not
> well exercised.

Can you create a simple, self-contained testcase in plain C?


Thanks,
Corinna

-- 
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
