Re: kbuild: Ctrl-C of parallel kernel build sometimes corrupts .o.cmd files permanently

From: Ingo Molnar
Date: Sat Jun 12 2021 - 09:27:23 EST



* Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:

> > Hmm, I do not know why GNU Make behaves like this...
> >
> > I will ask about this in GNU Make ML.
>
>
> https://lists.gnu.org/archive/html/help-make/2021-06/msg00001.html
>
>
> In short, 'tee' was also interrupted,
> then 'make' got SIGPIPE, which terminated the app
> due to the default behavior.

So, what's the solution? It's rather common to
run a build job while capturing a log via 'tee'.

Ctrl-C only recently started corrupting the
kernel build. (As in the past ~2 years ;-)


Thanks,

Ingo