Re: posix_spawn issues on i686

2022-01-14 Thread Corinna Vinschen
On Jan 12 13:25, Jeremy Drake via Cygwin wrote: > > > > Sorry, I am not subscribed to the list so don't have the message to > > > > reply > > > > to for threading purposes > > > New developer snapshot is up at https://cygwin.com/snapshots/ > > Please test. > > This works, and make's "make

Re: posix_spawn issues on i686

2022-01-12 Thread Jeremy Drake via Cygwin
> > > Sorry, I am not subscribed to the list so don't have the message to reply > > > to for threading purposes > New developer snapshot is up at https://cygwin.com/snapshots/ > Please test. This works, and make's "make check" now gets the same results as it does when built with

Re: posix_spawn issues on i686

2022-01-12 Thread Ken Brown
On 1/12/2022 5:41 AM, Corinna Vinschen wrote: On Jan 11 16:08, Ken Brown wrote: I don't have time to check this carefully, but it looks to me like the problem is that process_spawnattr calls setegid and seteuid instead of setegid32 and seteuid32. This causes truncation of the gid and uid.

Re: posix_spawn issues on i686

2022-01-12 Thread Corinna Vinschen
On Jan 12 11:41, Corinna Vinschen wrote: > On Jan 11 16:08, Ken Brown wrote: > > On 1/11/2022 1:45 PM, Jeremy Drake via Cygwin wrote: > > > Sorry, I am not subscribed to the list so don't have the message to reply > > > to for threading purposes, but attached please find a C reproducer that > > >

Re: posix_spawn issues on i686

2022-01-12 Thread Corinna Vinschen
On Jan 11 16:08, Ken Brown wrote: > On 1/11/2022 1:45 PM, Jeremy Drake via Cygwin wrote: > > Sorry, I am not subscribed to the list so don't have the message to reply > > to for threading purposes, but attached please find a C reproducer that > > works on x86_64 but fails on i686. The particular

Re: posix_spawn issues on i686

2022-01-11 Thread Ken Brown
On 1/11/2022 1:45 PM, Jeremy Drake via Cygwin wrote: Sorry, I am not subscribed to the list so don't have the message to reply to for threading purposes, but attached please find a C reproducer that works on x86_64 but fails on i686. The particular issue seems to be the POSIX_SPAWN_RESETIDS

Re: posix_spawn issues on i686

2022-01-11 Thread Jeremy Drake via Cygwin
On Mon, 10 Jan 2022, Jeremy Drake 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

Re: posix_spawn issues on i686

2022-01-11 Thread Corinna Vinschen
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.

posix_spawn issues on i686

2022-01-10 Thread Jeremy Drake via 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