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

Josh Poimboeuf jpoimboe at kernel.org
Fri Nov 21 07:15:56 AEDT 2025


On Wed, Nov 12, 2025 at 02:56:05PM -0800, Josh Poimboeuf wrote:
> 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?

Ping?

-- 
Josh


More information about the Linuxppc-dev mailing list