public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* posix_spawn issues on i686
@ 2022-01-10 19:38 Jeremy Drake
  2022-01-11 10:07 ` Corinna Vinschen
  2022-01-11 18:45 ` Jeremy Drake
  0 siblings, 2 replies; 9+ messages in thread
From: Jeremy Drake @ 2022-01-10 19:38 UTC (permalink / raw)
  To: cygwin

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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-01-14  9:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 19:38 posix_spawn issues on i686 Jeremy Drake
2022-01-11 10:07 ` Corinna Vinschen
2022-01-11 18:45 ` Jeremy Drake
2022-01-11 21:08   ` Ken Brown
2022-01-12 10:41     ` Corinna Vinschen
2022-01-12 11:24       ` Corinna Vinschen
2022-01-12 16:32       ` Ken Brown
2022-01-12 21:25     ` Jeremy Drake
2022-01-14  9:15       ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).