[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Building Rust-for-Linux on stable Rust

Building Rust-for-Linux on stable Rust

Posted Sep 27, 2024 16:59 UTC (Fri) by knewt (subscriber, #32124)
In reply to: Building Rust-for-Linux on stable Rust by Heretic_Blacksheep
Parent article: Committing to Rust in the kernel

>> Kernel docs says minimum version is GCC v. 5.1, but it varies depending on architecture.

In coincidental timing, seems that's getting bumped up as of 6.13! This patch is in the pipeline as of recently:

========
From: Ard Biesheuvel <ardb@kernel.org>

Bump the minimum GCC version to 8.1 to gain unconditional support for
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.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
========


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds