Re: Odd build breakage in 4.9-rc7

From: Linus Torvalds
Date: Wed Nov 30 2016 - 13:18:39 EST


On Wed, Nov 30, 2016 at 9:24 AM, Jarod Wilson <jarod@xxxxxxxxxx> wrote:
>
> Now, if I omit the -j8 and do a single-threaded build, then things work
> fine. Prarit bisected this failure to commit
> 9a6fb28a355d2609ace4dab4e6425442c647894d, and indeed, when reverting that
> patch and the two that follow it from rc7, parallel make works again.

I seriously doubt that commit really makes a difference, and I think
it was just random luck.

Do you perhaps have ccache installed?

Because ccache at some point broke dependency generation of "gcc -MM"
that the kernel build system uses, giving those random "No such file"
build errors.

Try uninstalling ccache and see if that helps.

Linus