On Thu, Sep 07, 2023 at 07:22:45AM -0400, Steven Rostedt wrote: > On Thu, 7 Sep 2023 06:04:09 -0500 > Segher Boessenkool <segher@xxxxxxxxxxxxxxxxxxx> wrote: > > On Thu, Sep 07, 2023 at 12:48:25PM +0300, Dan Carpenter via Gcc-patches wrote: > > No. You should patch your program, instead. One easy way is to add a > > -Wno-error at the end of your command lines. Or even just -w if you > > want or need a bigger hammer. > > That's not really possible when bisecting a kernel bug into older kernels. > The build system is highly complex and requires hundreds of changes to do > what you suggested. As it is for a bisection that takes a minimum of 13 > iterations, your approach just isn't feasible. Isn't this exactly what KCFLAGS is for? But, I meant to edit the build system. It isn't so hard to bisect with patch stacks on top. Just a bit annoying. Segher