[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72=dp=+kUHerFvUcL1TDLeuVz=xd781wm7WFmU1Sj-S8LA@mail.gmail.com>
Date: Thu, 26 Sep 2024 14:58:10 +0200
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: sedat.dilek@...il.com, Nathan Chancellor <nathan@...nel.org>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>, Alice Ryhl <aliceryhl@...gle.com>,
Linus Torvalds <torvalds@...ux-foundation.org>, Matthew Maurer <mmaurer@...gle.com>,
Sami Tolvanen <samitolvanen@...gle.com>, Gatlin Newhouse <gatlin.newhouse@...il.com>,
Kees Cook <kees@...nel.org>, "Peter Zijlstra (Intel)" <peterz@...radead.org>, Miguel Ojeda <ojeda@...nel.org>,
Andrey Konovalov <andreyknvl@...il.com>, Marco Elver <elver@...gle.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of Linus' tree
On Thu, Sep 26, 2024 at 2:49 PM Sedat Dilek <sedat.dilek@...il.com> wrote:
>
> Do you offer a (an optimized - optimized for kernel-builds) prebuilt
> RUST toolchain - preferable for x86-64 hosts - like Nathan +
> LLVM/Clang folk offer (see [1],[2])?
Yes, Nathan himself provides those! :)
https://mirrors.edge.kernel.org/pub/tools/llvm/rust/
He may comment further -- I think the Rust compiler itself is not
built (yet?) with PGO etc. like he does for the LLVM side.
As usual -- thanks Nathan!
> Maybe I have missed in [3] or overlooked.
If you go into the Quick Start guide from your link, you will see it
linked at the top:
https://docs.kernel.org/rust/quick-start.html
I also mentioned these in LPC's Kernel Summit track (sorry, no
video/stream yet, as far as I understand):
https://lpc.events/event/18/contributions/1912/
> [ Provocative ]
> Can I REALLY use a RUST-compiled Linux-kernel on BARE METAL?
> Do I need special hardware?
> Do you have a working in sense of bootable linux-config file?
> ^^ This is a real question - not interested in any "technical preview".
> ^^ You do NOT need to answer all this!
I am not sure what you mean -- people has been using Linux with Rust
enabled in real hardware for quite a while, e.g. Android and Asahi,
plus others are upcoming (Fedora, as far as I know), and I regularly
test in CI that the kernel boots in QEMU for several architectures and
configs that we already have in-tree.
I also regularly test in CI that the kernel can be built with
`rustup`'s binaries, with several distro toolchains and with Nathan's
toolchains too.
Cheers,
Miguel
Powered by blists - more mailing lists