Re: [PATCH] x86/boot: Fix if_changed build flip/flop
From: Ingo Molnar
Date: Sun Jul 15 2018 - 18:58:55 EST
* Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> The if_changed kbuild function can only be used once per target. If not
> it will effectively always trigger, flipping back and forth between the
> two commands getting recorded. Instead, merge the two commands into a
> single function to get stable build artifacts (i.e. .vmlinux.cmd).
>
> Reported-by: Dirk Gouders <dirk@xxxxxxxxxxx>
What actual symptoms does this bug have?
I.e. it would be nice if the changelog started with such an explanation:
Dirk Gouders reported that .... <bad stuff happens during kernel build> ...
and bisected it back to:
98f78525371b ("x86/boot: Refuse to build with data relocations")
The root cause of the bug is that the if_changed kbuild function ...
Or something like that.
Thanks,
Ingo