[Bug 1993183] Re: rustc linux kernel requirements

Andrea Righi 1993183 at bugs.launchpad.net
Thu Oct 20 12:49:09 UTC 2022


FYI, these are the unstable features required by the kernel for now:
https://github.com/Rust-for-Linux/linux/issues/2

I've done some tests with rust 1.64 and simple module examples are still
working fine, but to be 100% safe we would need to provide exactly the
same version that the kernel is recommending (`./scripts/min-tool-
version.sh rustc` from the linux source dir).

** Bug watch added: github.com/Rust-for-Linux/linux/issues #2
   https://github.com/Rust-for-Linux/linux/issues/2

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rustc in Ubuntu.
https://bugs.launchpad.net/bugs/1993183

Title:
  rustc linux kernel requirements

Status in rustc package in Ubuntu:
  Incomplete

Bug description:
  linux kernel is adding rustc requirements.

  ideally we need a compatible version of rustc in $devel release, and
  last $lts, due to backporting of $devel kernels to latest $lts at
  point releases.

  Attempting the rust build in jammy today results in the following
  checks failing:

  
  sh ./scripts/rust_is_available.sh -v
  ***
  *** Rust compiler '/usr/bin/rustc' is too old.
  ***   Your version:    1.61.0
  ***   Minimum version: 1.62.0
  ***
  ***
  *** Rust bindings generator 'bindgen' is too new. This may or may not work.
  ***   Your version:     0.59.1
  ***   Expected version: 0.56.0
  ***

  Please update rustc to 1.62.0 in LL devel release and Jammy.

  Separately I will look if upstream kernel can upgrade to a newer
  bindgen, or if we need to request a historical bindgen packaging as
  bindgen-0.56 or some such.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rustc/+bug/1993183/+subscriptions




More information about the foundations-bugs mailing list