Building Rust-for-Linux on stable Rust
Building Rust-for-Linux on stable Rust
Posted Sep 24, 2024 23:50 UTC (Tue) by Heretic_Blacksheep (guest, #169992)In reply to: Building Rust-for-Linux on stable Rust by sam_c
Parent article: Committing to Rust in the kernel
Posted Sep 27, 2024 12:26 UTC (Fri)
by andy_shev (subscriber, #75870)
[Link] (1 responses)
Posted Sep 27, 2024 16:55 UTC (Fri)
by knewt (subscriber, #32124)
[Link]
I imagine the thought here is that newer processor architectures will have only gotten GCC support more recently, and as such only in newer versions of GCC, which feels reasonable.
Posted Sep 27, 2024 16:59 UTC (Fri)
by knewt (subscriber, #32124)
[Link]
In coincidental timing, seems that's getting bumped up as of 6.13! This patch is in the pipeline as of recently:
========
Bump the minimum GCC version to 8.1 to gain unconditional support for
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Building Rust-for-Linux on stable Rust
Building Rust-for-Linux on stable Rust
Building Rust-for-Linux on stable Rust
From: Ard Biesheuvel <ardb@kernel.org>
referring to the per-task stack cookie using a symbol rather than
relying on the fixed offset of 40 bytes from %GS, which requires
elaborate hacks to support.
========