[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <z4go2m2c7ufulwjk7vkcpv2oyfo2jwpxzieiuuetegnv7sjrsj@gbjwkp2dpdyd>
Date: Wed, 12 Nov 2025 14:56:02 -0800
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: maddy@...ux.ibm.com, mpe@...erman.id.au, linuxppc-dev@...ts.ozlabs.org
Cc: npiggin@...il.com, christophe.leroy@...roup.eu,
linux-kernel@...r.kernel.org, joe.lawrence@...hat.com, Jan Stancek <jstancek@...hat.com>
Subject: Re: [PATCH RESEND] powerpc/tools: drop `-o pipefail` in gcc check
scripts
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
Powered by blists - more mailing lists