Re: warning: calling â__builtin_return_addressâ with a nonzero argument is unsafe

From: Josh Poimboeuf
Date: Thu Jul 28 2016 - 08:42:39 EST


On Wed, Jul 27, 2016 at 08:21:50PM -0700, Linus Torvalds wrote:
> The remaining ones are mostly objtool warnings (Josh added to cc: I
> get both a "objtool: x86 instruction decoder differs from kernel"
> warning

Ok, this should be an easy fix.

> and several new "sibling call from callable instruction with
> changed frame pointer" warnings).

These all seem to be caused by a new switch statement optimization in
gcc 6 which objtool doesn't know about yet. I'll try to come up with a
patch to fix it soon.

--
Josh