Re: new objtool warnings again...

From: Josh Poimboeuf
Date: Fri Sep 23 2016 - 17:17:03 EST


On Fri, Sep 23, 2016 at 02:06:03PM -0700, Linus Torvalds wrote:
> On Fri, Sep 23, 2016 at 1:33 PM, Linus Torvalds
> <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
> >
> > So this code is clearly missing the magic to tell gcc that the asm
> > needs a frame pointer.
>
> Independently of that, the objtool build seems racy or somehow
> fragile. I've now twice gotten into a situation where I end up getting
>
> cat: /home/torvalds/v2.6/linux/tools/objtool/.fixdep.o.d: No such
> file or directory
> make[4]: *** [/home/torvalds/v2.6/linux/tools/objtool/fixdep.o] Error 1
> make[3]: *** [/home/torvalds/v2.6/linux/tools/objtool/fixdep-in.o] Error 2
> make[2]: *** [fixdep] Error 2
> make[1]: *** [objtool] Error 2
> make: *** [tools/objtool] Error 2
>
> with just the right timings, and then ccache ends up remembering that
> as a build failure and causing that to be "sticky" even across "git
> clean -dqfx" builds (and the "ccache -C" clears it).
>
> Adding Michal to the cc, in case he can see what the problem is.

I just started seeing this problem today. I suspect it's a ccache
issue, since it only showed up after ccache was updated. I "fixed" it
with:

yum downgrade ccache

I'll open a bug...

--
Josh