From a4d82c0e2c91000fe83db288252f4160f542ab20 Mon Sep 17 00:00:00 2001 From: tamnd <1218621+tamnd@users.noreply.github.com> Date: Fri, 20 Nov 2026 13:29:33 +0700 Subject: [PATCH] Pin 7.4-rc3 and the new stables --- .github/workflows/programs.yml | 2 +- README.md | 2 +- configs/distro/distros.toml | 12 +++++----- configs/distro/fedora-46-7.4-x86_64.config | 10 ++++----- pins.toml | 26 +++++++++++----------- 5 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/programs.yml b/.github/workflows/programs.yml index 2787778..4aefb88 100644 --- a/.github/workflows/programs.yml +++ b/.github/workflows/programs.yml @@ -15,7 +15,7 @@ on: version: description: The kernel version, from pins.toml required: false - default: 7.4-rc2 + default: 7.4-rc3 config: description: The distro config, from configs/distro/distros.toml required: false diff --git a/README.md b/README.md index 5967888..6b5b6c8 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ The reference compilers live in era containers built from `provision/eras` and p `rk build 7.2.8 --row X64 --config defconfig --fragment test --cc gcc-14` configures and builds a kernel through `rk-cc`, with the test fragment from `configs/` merged in. Pass `--cc rucc` for rucc and `--keep-going` to see every failing unit, not just the first. The build directory ends up with `build.json`, `summary.md` and `compile.jsonl`, which has one line per compiler call. For a probe that line also keeps what the probe read on standard input and printed on standard output, so tools like the `kernel-probes` corpus in rucc-compat can ask it again, and `build.json` names the source tree and the era's `__GNUC__` version and `-std=` so they can give rucc the same persona. -`--config` also takes the name of a distribution kernel config pinned in `configs/distro/distros.toml`: `debian-13` and `debian-13-arm64` are the configs Debian 13 ships with 6.12.111 for amd64 and arm64, `fedora-44` and `fedora-44-arm64` are the ones Fedora 44 ships with 7.2.8 for x86_64 and aarch64, `fedora-46` and `fedora-46-arm64` are the ones Fedora rawhide ships with 7.3, and `fedora-46-7.4` is the x86_64 one it ships with 7.4-rc2, each copied unchanged out of the distribution's kernel package, whose hash is recorded next to the config's. `rk build 6.12.111 --config debian-13 --cc rucc` checks the file against its hash, sets the module signing key and certificate lists to what a plain tarball has, and settles the result with `olddefconfig`. A distribution config only builds the version and row it came from. `build.json` lists in `distro_dropped` the options the distribution turns on that `olddefconfig` turned off, which is what the toolchain at hand cannot give: on a host with gcc 13 and no pahole or rustc, Debian 13 loses BTF and Fedora 44 loses BTF and every Rust option. +`--config` also takes the name of a distribution kernel config pinned in `configs/distro/distros.toml`: `debian-13` and `debian-13-arm64` are the configs Debian 13 ships with 6.12.111 for amd64 and arm64, `fedora-44` and `fedora-44-arm64` are the ones Fedora 44 ships with 7.2.8 for x86_64 and aarch64, `fedora-46` and `fedora-46-arm64` are the ones Fedora rawhide ships with 7.3, and `fedora-46-7.4` is the x86_64 one it ships with 7.4-rc3, each copied unchanged out of the distribution's kernel package, whose hash is recorded next to the config's. `rk build 6.12.111 --config debian-13 --cc rucc` checks the file against its hash, sets the module signing key and certificate lists to what a plain tarball has, and settles the result with `olddefconfig`. A distribution config only builds the version and row it came from. `build.json` lists in `distro_dropped` the options the distribution turns on that `olddefconfig` turned off, which is what the toolchain at hand cannot give: on a host with gcc 13 and no pahole or rustc, Debian 13 loses BTF and Fedora 44 loses BTF and every Rust option. `rk boot --build DIR` boots a build under QEMU with `rk-init/init.sh` as PID 1 and a static busybox, and reads the smoke checks off the serial console. `rk baseline` builds and boots with the reference three times and writes the result under `results/baseline`. When the image is not the same every time it names the sections of `vmlinux` that differ, and when a run does not boot it prints the end of that console. diff --git a/configs/distro/distros.toml b/configs/distro/distros.toml index 0afe4a2..8256227 100644 --- a/configs/distro/distros.toml +++ b/configs/distro/distros.toml @@ -17,7 +17,7 @@ # curl -LO https://kojipkgs.fedoraproject.org/packages/kernel/7.2.8/200.fc44/aarch64/kernel-core-7.2.8-200.fc44.aarch64.rpm # curl -LO https://kojipkgs.fedoraproject.org/packages/kernel/7.3.0/65.fc46/x86_64/kernel-core-7.3.0-65.fc46.x86_64.rpm # curl -LO https://kojipkgs.fedoraproject.org/packages/kernel/7.3.0/65.fc46/aarch64/kernel-core-7.3.0-65.fc46.aarch64.rpm -# curl -LO https://kojipkgs.fedoraproject.org/packages/kernel/7.4.0/0.rc2.19.fc46/x86_64/kernel-core-7.4.0-0.rc2.19.fc46.x86_64.rpm +# curl -LO https://kojipkgs.fedoraproject.org/packages/kernel/7.4.0/0.rc3.26.fc46/x86_64/kernel-core-7.4.0-0.rc3.26.fc46.x86_64.rpm # # Take the config out of an RPM with: rpm2cpio | cpio -i --to-stdout ./lib/modules//config @@ -100,15 +100,15 @@ overrides = [ '# CONFIG_UBSAN is not set', ] -# Rawhide's build of 7.4-rc2, for the next set. It moves to the 7.4 build once 7.4 is out. +# Rawhide's build of 7.4-rc3, for the next set. It moves to the 7.4 build once 7.4 is out. [[distro]] name = "fedora-46-7.4" file = "fedora-46-7.4-x86_64.config" -version = "7.4-rc2" +version = "7.4-rc3" row = "X64" -package = "kernel-core-7.4.0-0.rc2.19.fc46.x86_64.rpm" -package_sha256 = "5a2130a07f163c95c5692603ba82f7c85b6056a7813e24a691cf2c16f15ca0c5" -config_sha256 = "788ba1259fdbc6989c32cb185a01a1c3ab3dad08096d9166299c0c5361bd4a69" +package = "kernel-core-7.4.0-0.rc3.26.fc46.x86_64.rpm" +package_sha256 = "d4cf99d5797bb643ebdc20f877bec96d408bfe7b65f74f3862936ae3d44c8cf6" +config_sha256 = "dd47611e0cdac2349e8f14a0ae1f410764d157a9324d7f28011c05617ffb3e9d" compiler = "gcc 16.2.1" overrides = [ 'CONFIG_SYSTEM_TRUSTED_KEYS=""', diff --git a/configs/distro/fedora-46-7.4-x86_64.config b/configs/distro/fedora-46-7.4-x86_64.config index b9c5b94..1096737 100644 --- a/configs/distro/fedora-46-7.4-x86_64.config +++ b/configs/distro/fedora-46-7.4-x86_64.config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86_64 7.4.0-0.rc2.19.fc46.x86_64 Kernel Configuration +# Linux/x86_64 7.4.0-0.rc3.26.fc46.x86_64 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3)" CONFIG_CC_IS_GCC=y @@ -11,9 +11,9 @@ CONFIG_AS_VERSION=24750 CONFIG_LD_IS_BFD=y CONFIG_LD_VERSION=24750 CONFIG_LLD_VERSION=0 -CONFIG_RUSTC_VERSION=109901 +CONFIG_RUSTC_VERSION=110000 CONFIG_RUST_IS_AVAILABLE=y -CONFIG_RUSTC_LLVM_VERSION=230103 +CONFIG_RUSTC_LLVM_VERSION=230105 CONFIG_RUSTC_LLVM_MAJOR_VERSION=23 CONFIG_CC_CAN_LINK=y CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y @@ -68,7 +68,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32 CONFIG_UAPI_HEADER_TEST=y CONFIG_LOCALVERSION="" # CONFIG_LOCALVERSION_AUTO is not set -CONFIG_BUILD_SALT="7.4.0-0.rc2.19.fc46.x86_64" +CONFIG_BUILD_SALT="7.4.0-0.rc3.26.fc46.x86_64" CONFIG_HAVE_KERNEL_GZIP=y CONFIG_HAVE_KERNEL_BZIP2=y CONFIG_HAVE_KERNEL_LZMA=y @@ -381,7 +381,7 @@ CONFIG_RUST_ATOMICS_KUNIT_TEST=y CONFIG_RUST_BITFIELD_KUNIT_TEST=y CONFIG_RUST_BUG_KUNIT_TEST=y CONFIG_RUST_TIME_KUNIT_TEST=y -CONFIG_RUSTC_VERSION_TEXT="rustc 1.99.1 (58cf8f9c3 2026-10-13) (Fedora 1.99.1-2.fc46)" +CONFIG_RUSTC_VERSION_TEXT="rustc 1.100.0 (0ef1bc386 2026-11-09) (Fedora 1.100.0-1.fc46)" CONFIG_BINDGEN_VERSION_TEXT="bindgen 0.72.1" CONFIG_TRACEPOINTS=y diff --git a/pins.toml b/pins.toml index 681cfa1..1645889 100644 --- a/pins.toml +++ b/pins.toml @@ -3,35 +3,35 @@ # Written by `rk sets --write` from the rules in sets.toml and kernel.org's releases.json, with the # hashes taken from the sha256sums.asc of each directory. `rk fetch` checks the hash on every use. -default = "7.3.4" +default = "7.3.5" [[pin]] -version = "7.4-rc2" +version = "7.4-rc3" moniker = "mainline" sets = ["next"] -url = "https://git.kernel.org/torvalds/t/linux-7.4-rc2.tar.gz" -sha256 = "010063d5fc7bb3a5f1fb116cff45abe4977e8a8205b7841773505680c7a014bb" +url = "https://git.kernel.org/torvalds/t/linux-7.4-rc3.tar.gz" +sha256 = "95c0eb4a051dd09983d6b7887bdd9d323559fccda163c627d398c0547b89f961" [[pin]] -version = "7.3.4" +version = "7.3.5" moniker = "stable" sets = ["current"] -url = "https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.3.4.tar.xz" -sha256 = "b11b6df8295e8e991ff040b71aaa4994a8b55caa23b6b092907f195b5840fd1f" +url = "https://cdn.kernel.org/pub/linux/kernel/v7.x/linux-7.3.5.tar.xz" +sha256 = "8f293f83d54f0b7b9be56863ebc5e4ea79d73e530b4ae55c572be97ef39f0990" [[pin]] -version = "6.18.63" +version = "6.18.64" moniker = "longterm" sets = ["current"] -url = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.18.63.tar.xz" -sha256 = "81764a545072d160748beff4d9de2e7d95aa9f16e8261110288f067a2cc61d71" +url = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.18.64.tar.xz" +sha256 = "020d45510c539972e6f14c5c71566878d3b7ef56fb082b3e09134f2ebaade562" [[pin]] -version = "6.12.117" +version = "6.12.118" moniker = "longterm" sets = ["current"] -url = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.12.117.tar.xz" -sha256 = "74e99aa5e60e242e0a165fed8cb2ea0d054bf7a401f01861d403d75733456613" +url = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.12.118.tar.xz" +sha256 = "08308460320e852ac0745b2be3c7ae1cd81bdad713506ed7d817ba1ec9e1a5a5" [[pin]] version = "6.6.162"