[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <devk5empq6e3fy4vp5mhxaznzrxfso6d4bqqzpzachlwy5w567@32tvtoddkn6p>
Date: Thu, 15 May 2025 09:18:34 -0700
From: Josh Poimboeuf <jpoimboe@...nel.org>
To: Timur Tabi <ttabi@...dia.com>
Cc: Joel Fernandes <joelagnelf@...dia.com>,
"gary@...yguo.net" <gary@...yguo.net>, "a.hindborg@...nel.org" <a.hindborg@...nel.org>,
"ojeda@...nel.org" <ojeda@...nel.org>, "boqun.feng@...il.com" <boqun.feng@...il.com>,
"patches@...ts.linux.dev" <patches@...ts.linux.dev>, "stable@...r.kernel.org" <stable@...r.kernel.org>,
"tmgross@...ch.edu" <tmgross@...ch.edu>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"alex.gaynor@...il.com" <alex.gaynor@...il.com>, "benno.lossin@...ton.me" <benno.lossin@...ton.me>,
John Hubbard <jhubbard@...dia.com>,
"rust-for-linux@...r.kernel.org" <rust-for-linux@...r.kernel.org>, "bjorn3_gh@...tonmail.com" <bjorn3_gh@...tonmail.com>,
"peterz@...radead.org" <peterz@...radead.org>, "aliceryhl@...gle.com" <aliceryhl@...gle.com>,
Alexandre Courbot <acourbot@...dia.com>, "dakr@...nel.org" <dakr@...nel.org>,
Alistair Popple <apopple@...dia.com>
Subject: Re: [PATCH 1/5] objtool/rust: add one more `noreturn` Rust function
for Rust 1.87.0
On Wed, May 14, 2025 at 07:46:49PM +0000, Timur Tabi wrote:
> On Wed, 2025-05-14 at 12:14 -0700, Josh Poimboeuf wrote:
> > The above warning is in completely different code from the Rust one, so
> > they're likely unrelated.
>
> True, but the fall-through is bogus in the C code as well.
>
> > The fallthrough warnings are typically caused by either Clang undefined
> > behavior (usually potential divide by zero or negative shift), or a call
> > to an unannotated noreturn function.
> >
> > Timur, can you share your .config and compiler version?
>
> .config: https://pastebin.com/inDHfmbG
>
> ttabi@...bi:~$ llvm-config --version
> 18.1.3
> ttabi@...bi:~$ gcc --version
> gcc (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0
>
> Since I build with LLVM=1, I'm assuming the answer is 18.1.3
I'm not able to recreate, can you run with OBJTOOL_VERBOSE=1 and paste
the output?
--
Josh
Powered by blists - more mailing lists