Re: new objtool warnings again...

From: Linus Torvalds
Date: Fri Sep 23 2016 - 17:06:12 EST


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.

Linus