From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) by sourceware.org (Postfix) with ESMTPS id B12DC38A1423 for ; Tue, 11 Jan 2022 10:07:29 +0000 (GMT) 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 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MsqIi-1mEJ1k0g0W-00tA22 for ; Tue, 11 Jan 2022 11:07:28 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 86253A80D60; Tue, 11 Jan 2022 11:07:27 +0100 (CET) Date: Tue, 11 Jan 2022 11:07:27 +0100 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: posix_spawn issues on i686 Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2022 10:07:31 -0000 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