Re: [PATCH RESEND] powerpc/tools: drop `-o pipefail` in gcc check scripts
From: Josh Poimboeuf
Date: Wed Nov 12 2025 - 17:56:05 EST
On Tue, Sep 23, 2025 at 05:32:16PM +0200, Jan Stancek wrote:
> We've been observing rare non-deterministic kconfig failures during
> olddefconfig, where ARCH_USING_PATCHABLE_FUNCTION_ENTRY was getting
> disabled and with it number of other config options that depend on it.
>
> The reason is that gcc-check-fpatchable-function-entry.sh can fail
> if `grep -q` (or scripts/dummy-tools/gcc) is fast enough to exit while
> there is still someone writing on other side of pipe. `pipefail`
> propagates that error up to kconfig.
Ping? This fixes a nasty build bug, any objections to merging?
--
Josh