[PATCH RESEND] powerpc/tools: drop `-o pipefail` in gcc check scripts
Josh Poimboeuf
jpoimboe at kernel.org
Thu Nov 13 09:56:02 AEDT 2025
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
More information about the Linuxppc-dev
mailing list