Re: [tip:objtool/core 8/12] vmlinux.o: warning: objtool: rust_begin_unwind+0x5c: rust_helper_BUG() is missing a __noreturn annotation

From: Josh Poimboeuf
Date: Tue Jun 06 2023 - 18:29:10 EST


On Wed, Jun 07, 2023 at 12:22:45AM +0200, Miguel Ojeda wrote:
> On Tue, Jun 6, 2023 at 11:52 PM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote:
> >
> > So it seems to be an issue with bindgen, though that github issue has
> > been resolved. Any idea when this will show up in a toolchain?
> >
> > In the meantime we may have to get objtool to manually silence the
> > warning, unless you have any better ideas.
>
> We were going to update `bindgen`, so we can just do that -- one more
> reason to do so! :)
>
> If the update goes into the upcoming merge window, would that be fine
> with you? Or do you need it for this current cycle?

The next merge window would be good. Eventually I want to get objtool
to zero warnings so we can do -Werror, but we're not there yet :-)

Thanks!

--
Josh