Re: An objtool warning from mainline

From: Josh Poimboeuf
Date: Fri Apr 28 2023 - 00:35:28 EST


On Thu, Apr 27, 2023 at 09:55:41AM -0700, Paul E. McKenney wrote:
> On Thu, Apr 27, 2023 at 11:14:21AM +0200, Borislav Petkov wrote:
> > On Wed, Apr 26, 2023 at 04:50:49PM -0700, Paul E. McKenney wrote:
> > > vmlinux.o: warning: objtool: exc_nmi+0x2b3: call to __const_udelay() leaves .noinstr.text section
> >
> > What does
> >
> > ./scripts/faddr2line vmlinux.o exc_nmi+0x2b3
> >
> > say?
>
> $ ./scripts/faddr2line vmlinux.o exc_nmi+0x2b3
> exc_nmi+0x2b3/0x3c0:
> exc_nmi at ??:?
>
> Which might mean something to you, but does not look all that helpful
> to me. :-/

This means DWARF is missing. Can you enable one of the
CONFIG_DEBUG_INFO_DWARF* options and try that again?

And yes, we should improve the error message for faddr2line.

--
Josh