Re: [PATCH] rust: arm64: set uwtable llvm module flag for CONFIG_UNWIND_TABLES

From: Alice Ryhl

Date: Thu May 28 2026 - 02:03:09 EST


On Thu, May 28, 2026 at 7:26 AM Miguel Ojeda
<miguel.ojeda.sandonis@xxxxxxxxx> wrote:
>
> On Wed, May 27, 2026 at 8:18 PM Alice Ryhl <aliceryhl@xxxxxxxxxx> wrote:
> >
> > Once the fix lands in rustc, this flag can be made conditional on the
> > rustc version. Note that passing the flag on a rustc with the fix
> > present has no effect.
>
> Already landed now, so if the uwtable one is enough, we could already
> do that since it will be 1.98. But since it has no effect, we can keep
> the fix as-is and do that on top too.

Ah, yes, let's just add the version check.

With regards to the frame-pointer one, it's probably a good idea to do
the same for that one. It's not necessary to fix the boot crash I
encountered, but may help with other issues such as backtraces of
ftrace.

> Added and linked both issues (i.e. `uwtable` and the `frame-pointer` one) to:
>
> https://github.com/Rust-for-Linux/linux/issues/355
>
> I have to send a fixes PR in the coming days, so I can pick this one
> up, but if arm64 will do so then:
>
> Acked-by: Miguel Ojeda <ojeda@xxxxxxxxxx>
>
> Thanks!
>
> Cheers,
> Miguel