Re: [bug #57674] regression in make 4.3 with makefile from stdin

2020-04-01 Thread Paul Smith
On Wed, 2020-04-01 at 14:14 +0200, Andreas Schwab wrote: > On Mär 31 2020, Paul D. Smith wrote: > > > In GNU make 4.3, for performance reasons we choose to use > > posix_spawn() if it's available on the system. posix_spawn() > > doesn't do any path search, so we do it ourselves and we don't have

Re: [bug #57674] regression in make 4.3 with makefile from stdin

2020-04-01 Thread Andreas Schwab
On Mär 31 2020, Paul D. Smith wrote: > In GNU make 4.3, for performance reasons we choose to use posix_spawn() if > it's available on the system. posix_spawn() doesn't do any path search, so we > do it ourselves and we don't have this backup default PATH lookup that > execvp() does. There is

Re: [bug #57674] regression in make 4.3 with makefile from stdin

2020-03-31 Thread Bob Proulx
Natanael Copa wrote: > > (I tried to send this to bug-make@gnu.org but is seems to have been redirected > to /dev/null by some spam filter or similar) Your other messages came through okay. So I don't know why you would have been lost messages. In the

[bug #57674] regression in make 4.3 with makefile from stdin

2020-03-31 Thread Paul D. Smith
Follow-up Comment #2, bug #57674 (project make): I know why this happens. In GNU make prior to 4.3 we used the execvp() system call to invoke commands. This call behaves like this (from the man page): > The file is sought in the colon-separated list of directory pathnames > specified in the

[bug #57674] regression in make 4.3 with makefile from stdin

2020-01-30 Thread Natanael Copa
Follow-up Comment #1, bug #57674 (project make): This may not be a bug in make. `env -i` will unset $PATH so I guess this is expected behavior. I guess this can be closed. ___ Reply to this item at:

regression in make 4.3 with makefile from stdin

2020-01-27 Thread Natanael Copa
Hi, I believe there is a regression in make 4.3. To reproduce: $ make -v GNU Make 4.3 Built for x86_64-alpine-linux-musl Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to

[bug #57674] regression in make 4.3 with makefile from stdin

2020-01-27 Thread Natanael Copa
URL: <https://savannah.gnu.org/bugs/?57674> Summary: regression in make 4.3 with makefile from stdin Project: make Submitted by: ncopa Submitted on: Mon 27 Jan 2020 11:41:55 AM UTC Severity: 3 - Normal