mbox series

[meta-lts-mixins,scarthgap/rust,00/29] Update to Rust 1.85.1

Message ID cover.1744061149.git.scott.murray@konsulko.com
Headers show
Series Update to Rust 1.85.1 | expand

Message

Scott Murray April 7, 2025, 9:29 p.m. UTC
This patch series for the scarthgap/rust mixin layer backports the
various Rust toolchain changes in oe-core master to to pull in the
1.81.0 -> 1.85.1 updates that have landed in the last couple of months
in oe-core.  At this point the backported selftest (as the "rust_mixin"
module) is passing in my environment except on qemuriscv64, which
is currently also failing on oe-core master based on my testing.

I intend to push this series to scarthgap/rust within 24 hours
unless a serious showstopper is pointed out.

Changes:

Alexander Kanavin (1):
  rust: restore parallel builds, disable lto only for rustdoc

Deepesh Varatharajan (11):
  rust: Upgrade 1.81.0->1.82.0
  rust: oe-selftest issue fix with v1.82
  rust: Oe-selftest changes for rust v1.82.0
  rust: Upgrade 1.82.0->1.83.0
  rust: Fix build break because of download-ci-llvm
  rust: Oe-selftest changes for rust v1.83.0
  rust: Fix bloat issue in recent rust updates
  rust: Fix build break because of "download-rustc" and "llvm-tools"
  rust: Upgrade 1.83.0->1.84.1
  rust: Fix build failure when multilibs are enabled
  rust: Oe-selftest changes for rust v1.84.1

Enrico Scholz (1):
  cargo_common: use 'config.toml' instead of plain 'config'

Harish Sadineni (2):
  rust: fix for rust multilib sdk configuration
  rust: remove redundant cargo config file

Igor Opaniuk (1):
  rust/README-rust.md: fix markdown style issues

Jean-Pierre Geslin (1):
  cargo: pass PACKAGECONFIG_CONFARGS to cargo build

Khem Raj (1):
  rust-llvm: Fix build break found with clang

Martin Jansa (1):
  cargo.bbclass: show PACKAGECONFIG_CONFARGS in bbnote

Pedro Ferreira (1):
  rust-common.bbclass: soft assignment for RUSTLIB path

Richard Purdie (5):
  meta/meta-selftest: Fix variable assignment whitespace
  recipes: Drop ld-is-gold support
  rust-source: Fix remove_gcc_directory
  rust-llvm: Compile llvm to use dynamic libraries
  rust-llvm: Disable libedit

Sean Nyekjaer (1):
  rust-cross-canadian: set CC_<triple> for nativesdk

Yash Shinde (3):
  rust: Update "do_update_snapshot" task for rust-snapshot.inc
  rust: Upgrade 1.84.1->1.85.0
  rust: Upgrade 1.85.0->1.85.1

 classes-recipe/cargo.bbclass                  |   6 +-
 classes-recipe/cargo_common.bbclass           |  20 +-
 classes-recipe/rust-common.bbclass            |   2 +-
 classes-recipe/rust-target-config.bbclass     |   5 +
 classes-recipe/rust.bbclass                   |   8 +-
 conf/layer.conf                               |   4 +-
 files/common-licenses/Unicode-3.0             |  39 +++
 lib/oeqa/selftest/cases/rust_mixin.py         |   2 +
 recipes-devtools/rust/README-rust.md          |  24 +-
 .../rust/{cargo_1.81.0.bb => cargo_1.85.1.bb} |  13 +
 ...teps-tool.rs-switch-off-lto-for-rust.patch |  46 ++++
 .../Zdual-proc-macros-additional-check.patch  |  31 +++
 ...epro-issue-fix-with-cc-crate-hashmap.patch |  90 +++++--
 ...d-statically-in-rustc_driver-feature.patch | 228 +++++++++++++++++
 .../rust/files/rust-oe-selftest.patch         | 152 ++++++++---
 ...ue-fix-cargo-config-for-codegenunits.patch |  26 --
 .../files/rv32-cargo-rustix-0.38.28-fix.patch |  70 ------
 .../files/rv32-cargo-rustix-0.38.40-fix.patch | 236 ++++++++++++++++++
 .../rust/files/rv32-rustix-libc-backend.patch |  33 ---
 .../rust/files/zlib-off64_t.patch             |  31 ---
 ...ibstd-rs_1.81.0.bb => libstd-rs_1.85.1.bb} |   9 +-
 recipes-devtools/rust/rust-cross-canadian.inc |  24 +-
 ....81.0.bb => rust-cross-canadian_1.85.1.bb} |   0
 ...ust-llvm_1.81.0.bb => rust-llvm_1.85.1.bb} |   8 +-
 recipes-devtools/rust/rust-snapshot.inc       |  81 +++---
 recipes-devtools/rust/rust-source.inc         |  10 +-
 .../rust/{rust_1.81.0.bb => rust_1.85.1.bb}   |  76 ++++--
 27 files changed, 931 insertions(+), 343 deletions(-)
 create mode 100644 files/common-licenses/Unicode-3.0
 rename recipes-devtools/rust/{cargo_1.81.0.bb => cargo_1.85.1.bb} (87%)
 create mode 100644 recipes-devtools/rust/files/0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch
 create mode 100644 recipes-devtools/rust/files/Zdual-proc-macros-additional-check.patch
 create mode 100644 recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch
 delete mode 100644 recipes-devtools/rust/files/rustdoc-repro-issue-fix-cargo-config-for-codegenunits.patch
 delete mode 100644 recipes-devtools/rust/files/rv32-cargo-rustix-0.38.28-fix.patch
 create mode 100644 recipes-devtools/rust/files/rv32-cargo-rustix-0.38.40-fix.patch
 delete mode 100644 recipes-devtools/rust/files/rv32-rustix-libc-backend.patch
 delete mode 100644 recipes-devtools/rust/files/zlib-off64_t.patch
 rename recipes-devtools/rust/{libstd-rs_1.81.0.bb => libstd-rs_1.85.1.bb} (79%)
 rename recipes-devtools/rust/{rust-cross-canadian_1.81.0.bb => rust-cross-canadian_1.85.1.bb} (100%)
 rename recipes-devtools/rust/{rust-llvm_1.81.0.bb => rust-llvm_1.85.1.bb} (93%)
 rename recipes-devtools/rust/{rust_1.81.0.bb => rust_1.85.1.bb} (81%)

Comments

Khem Raj April 7, 2025, 9:50 p.m. UTC | #1
On Mon, Apr 7, 2025 at 2:30 PM Scott Murray via lists.yoctoproject.org
<scott.murray=konsulko.com@lists.yoctoproject.org> wrote:
>
> This patch series for the scarthgap/rust mixin layer backports the
> various Rust toolchain changes in oe-core master to to pull in the
> 1.81.0 -> 1.85.1 updates that have landed in the last couple of months
> in oe-core.  At this point the backported selftest (as the "rust_mixin"
> module) is passing in my environment except on qemuriscv64, which
> is currently also failing on oe-core master based on my testing.
>
> I intend to push this series to scarthgap/rust within 24 hours
> unless a serious showstopper is pointed out.
>

series looks ok to me

> Changes:
>
> Alexander Kanavin (1):
>   rust: restore parallel builds, disable lto only for rustdoc
>
> Deepesh Varatharajan (11):
>   rust: Upgrade 1.81.0->1.82.0
>   rust: oe-selftest issue fix with v1.82
>   rust: Oe-selftest changes for rust v1.82.0
>   rust: Upgrade 1.82.0->1.83.0
>   rust: Fix build break because of download-ci-llvm
>   rust: Oe-selftest changes for rust v1.83.0
>   rust: Fix bloat issue in recent rust updates
>   rust: Fix build break because of "download-rustc" and "llvm-tools"
>   rust: Upgrade 1.83.0->1.84.1
>   rust: Fix build failure when multilibs are enabled
>   rust: Oe-selftest changes for rust v1.84.1
>
> Enrico Scholz (1):
>   cargo_common: use 'config.toml' instead of plain 'config'
>
> Harish Sadineni (2):
>   rust: fix for rust multilib sdk configuration
>   rust: remove redundant cargo config file
>
> Igor Opaniuk (1):
>   rust/README-rust.md: fix markdown style issues
>
> Jean-Pierre Geslin (1):
>   cargo: pass PACKAGECONFIG_CONFARGS to cargo build
>
> Khem Raj (1):
>   rust-llvm: Fix build break found with clang
>
> Martin Jansa (1):
>   cargo.bbclass: show PACKAGECONFIG_CONFARGS in bbnote
>
> Pedro Ferreira (1):
>   rust-common.bbclass: soft assignment for RUSTLIB path
>
> Richard Purdie (5):
>   meta/meta-selftest: Fix variable assignment whitespace
>   recipes: Drop ld-is-gold support
>   rust-source: Fix remove_gcc_directory
>   rust-llvm: Compile llvm to use dynamic libraries
>   rust-llvm: Disable libedit
>
> Sean Nyekjaer (1):
>   rust-cross-canadian: set CC_<triple> for nativesdk
>
> Yash Shinde (3):
>   rust: Update "do_update_snapshot" task for rust-snapshot.inc
>   rust: Upgrade 1.84.1->1.85.0
>   rust: Upgrade 1.85.0->1.85.1
>
>  classes-recipe/cargo.bbclass                  |   6 +-
>  classes-recipe/cargo_common.bbclass           |  20 +-
>  classes-recipe/rust-common.bbclass            |   2 +-
>  classes-recipe/rust-target-config.bbclass     |   5 +
>  classes-recipe/rust.bbclass                   |   8 +-
>  conf/layer.conf                               |   4 +-
>  files/common-licenses/Unicode-3.0             |  39 +++
>  lib/oeqa/selftest/cases/rust_mixin.py         |   2 +
>  recipes-devtools/rust/README-rust.md          |  24 +-
>  .../rust/{cargo_1.81.0.bb => cargo_1.85.1.bb} |  13 +
>  ...teps-tool.rs-switch-off-lto-for-rust.patch |  46 ++++
>  .../Zdual-proc-macros-additional-check.patch  |  31 +++
>  ...epro-issue-fix-with-cc-crate-hashmap.patch |  90 +++++--
>  ...d-statically-in-rustc_driver-feature.patch | 228 +++++++++++++++++
>  .../rust/files/rust-oe-selftest.patch         | 152 ++++++++---
>  ...ue-fix-cargo-config-for-codegenunits.patch |  26 --
>  .../files/rv32-cargo-rustix-0.38.28-fix.patch |  70 ------
>  .../files/rv32-cargo-rustix-0.38.40-fix.patch | 236 ++++++++++++++++++
>  .../rust/files/rv32-rustix-libc-backend.patch |  33 ---
>  .../rust/files/zlib-off64_t.patch             |  31 ---
>  ...ibstd-rs_1.81.0.bb => libstd-rs_1.85.1.bb} |   9 +-
>  recipes-devtools/rust/rust-cross-canadian.inc |  24 +-
>  ....81.0.bb => rust-cross-canadian_1.85.1.bb} |   0
>  ...ust-llvm_1.81.0.bb => rust-llvm_1.85.1.bb} |   8 +-
>  recipes-devtools/rust/rust-snapshot.inc       |  81 +++---
>  recipes-devtools/rust/rust-source.inc         |  10 +-
>  .../rust/{rust_1.81.0.bb => rust_1.85.1.bb}   |  76 ++++--
>  27 files changed, 931 insertions(+), 343 deletions(-)
>  create mode 100644 files/common-licenses/Unicode-3.0
>  rename recipes-devtools/rust/{cargo_1.81.0.bb => cargo_1.85.1.bb} (87%)
>  create mode 100644 recipes-devtools/rust/files/0001-src-core-build_steps-tool.rs-switch-off-lto-for-rust.patch
>  create mode 100644 recipes-devtools/rust/files/Zdual-proc-macros-additional-check.patch
>  create mode 100644 recipes-devtools/rust/files/revert-link-std-statically-in-rustc_driver-feature.patch
>  delete mode 100644 recipes-devtools/rust/files/rustdoc-repro-issue-fix-cargo-config-for-codegenunits.patch
>  delete mode 100644 recipes-devtools/rust/files/rv32-cargo-rustix-0.38.28-fix.patch
>  create mode 100644 recipes-devtools/rust/files/rv32-cargo-rustix-0.38.40-fix.patch
>  delete mode 100644 recipes-devtools/rust/files/rv32-rustix-libc-backend.patch
>  delete mode 100644 recipes-devtools/rust/files/zlib-off64_t.patch
>  rename recipes-devtools/rust/{libstd-rs_1.81.0.bb => libstd-rs_1.85.1.bb} (79%)
>  rename recipes-devtools/rust/{rust-cross-canadian_1.81.0.bb => rust-cross-canadian_1.85.1.bb} (100%)
>  rename recipes-devtools/rust/{rust-llvm_1.81.0.bb => rust-llvm_1.85.1.bb} (93%)
>  rename recipes-devtools/rust/{rust_1.81.0.bb => rust_1.85.1.bb} (81%)
>
> --
> 2.49.0
>
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#1300): https://lists.yoctoproject.org/g/yocto-patches/message/1300
> Mute This Topic: https://lists.yoctoproject.org/mt/112142231/1997914
> Group Owner: yocto-patches+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto-patches/leave/13340786/1997914/645821814/xyzzy [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
Gyorgy Sarvari April 9, 2025, 7:19 a.m. UTC | #2
On 4/7/25 23:29, Scott Murray via lists.yoctoproject.org wrote:
> This patch series for the scarthgap/rust mixin layer backports the
> various Rust toolchain changes in oe-core master to to pull in the
> 1.81.0 -> 1.85.1 updates that have landed in the last couple of months
> in oe-core.  At this point the backported selftest (as the "rust_mixin"
> module) is passing in my environment except on qemuriscv64, which
> is currently also failing on oe-core master based on my testing.
>
> I intend to push this series to scarthgap/rust within 24 hours
> unless a serious showstopper is pointed out.
If this comment is of any use: in the past 24-ish hours I have compiled
Firefox in many ways using this patchset on Scarthgap, couldn't find any
obvious issues - it seems to work for those recipes at the very least.