Re: gmake and ccache conspiring together in creating gremlins

2021-02-09 Thread David Boyce
> The program could read this -1 to (for example) uint16_t and interpret as 65535 and fail to notice the parent is not giving any fd. File descriptors have been of int type since Unix was designed (at least) and -1 is documented as the invalid descriptor. E.g. the open() system call and every

Re: gmake and ccache conspiring together in creating gremlins

2021-02-09 Thread Dmitry Goncharov via Bug reports and discussion for GNU make
On Tue, Feb 9, 2021 at 5:31 AM Edward Welbourne wrote: > Rather than removing the jobserver-auth data, you could amend the > MAKEFLAGS to includ jobserver-auth data with plainly invalid fds, i like jobserver-auth data with plainly invalid fds, because it lets older binaries fail on parsing

Re: gmake and ccache conspiring together in creating gremlins

2021-02-09 Thread Edward Welbourne
Paul Smith (8 February 2021 20:38) wrote: > There is a loss of debugging information if we make this change: today > make can detect if it was invoked in a way that _should_ expect to > receive a jobserver context, but _didn't_ receive that context. That > is, if make sees that jobserver-auth is