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@ttabi:~$ llvm-config --version 18.1.3 ttabi@ttabi:~$ 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?