[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gmake and ccache conspiring together in creating gremlins
From: |
Dmitry Goncharov |
Subject: |
Re: gmake and ccache conspiring together in creating gremlins |
Date: |
Tue, 9 Feb 2021 10:36:35 -0500 |
On Tue, Feb 9, 2021 at 5:31 AM Edward Welbourne <edward.welbourne@qt.io> 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 jobserver-auth
and print some (hopefully useful) error message.
E.g. make itself would print
"internal error: invalid --jobserver-auth string"
> e.g. -1, as the two fds
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.
i'd rather provide no fd at all. E.g.
--jobserver-auth=
regards, Dmitry
>
> Eddy.
>