Thread (12 messages) flat view 12 messages, 6 authors, 2025-12-27

Re: [PATCH RESEND] powerpc/tools: drop `-o pipefail` in gcc check scripts

From: Josh Poimboeuf <jpoimboe@kernel.org>
Date: 2025-11-12 22:56:05
Also in: lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help