-
Notifications
You must be signed in to change notification settings - Fork 222
Closed
Description
Starting with nightly-2025-11-23 bootloader fails to build. It works with the previous nightly.
I get the following error message:
Compiling bootloader v0.11.12
error: failed to run custom build command for `bootloader v0.11.12`
Caused by:
process didn't exit successfully: `/tmp/dzamlos/target/debug/build/bootloader-e377ee581c7317f0/build-script-build` (exit status: 101)
--- stdout
cargo:rustc-env=UEFI_BOOTLOADER_PATH=/tmp/dzamlos/target/debug/build/bootloader-eae601fc55b62ccf/out/bin/bootloader-x86_64-uefi.efi
--- stderr
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Ignored package `bootloader-x86_64-bios-stage-4 v0.11.12` is already installed, use --force to override
warning: be sure to add `/tmp/dzamlos/target/debug/build/bootloader-eae601fc55b62ccf/out/bin` to your PATH to be able to run the installed binaries
Ignored package `bootloader-x86_64-bios-boot-sector v0.11.12` is already installed, use --force to override
warning: be sure to add `/tmp/dzamlos/target/debug/build/bootloader-eae601fc55b62ccf/out/bin` to your PATH to be able to run the installed binaries
Ignored package `bootloader-x86_64-bios-stage-3 v0.11.12` is already installed, use --force to override
warning: be sure to add `/tmp/dzamlos/target/debug/build/bootloader-eae601fc55b62ccf/out/bin` to your PATH to be able to run the installed binaries
Updating crates.io index
Blocking waiting for file lock on package cache
Updating crates.io index
Installing bootloader-x86_64-uefi v0.11.12
Blocking waiting for file lock on package cache
Updating crates.io index
Installing bootloader-x86_64-bios-stage-2 v0.11.12
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Updating crates.io index
warning: package `atomic-polyfill v0.1.11` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `critical-section v1.1.1` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
Updating crates.io index
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Updating crates.io index
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Blocking waiting for file lock on package cache
Compiling compiler_builtins v0.1.160 (/home/dzamlo/.rustup/toolchains/nightly-2025-11-23-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/compiler-builtins/compiler-builtins)
Compiling core v0.0.0 (/home/dzamlo/.rustup/toolchains/nightly-2025-11-23-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
Compiling bootloader-x86_64-bios-stage-2 v0.11.12
Compiling compiler_builtins v0.1.160 (/home/dzamlo/.rustup/toolchains/nightly-2025-11-23-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/compiler-builtins/compiler-builtins)
Compiling core v0.0.0 (/home/dzamlo/.rustup/toolchains/nightly-2025-11-23-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)
Compiling proc-macro2 v1.0.63
Compiling quote v1.0.29
Compiling unicode-ident v1.0.10
Compiling autocfg v1.1.0
Compiling semver v1.0.17
Compiling syn v1.0.109
Compiling rustversion v1.0.13
Compiling serde v1.0.166
Compiling x86 v0.52.0
Compiling bootloader_api v0.11.12
Compiling lock_api v0.4.10
Compiling rustc_version v0.4.0
Compiling heapless v0.7.16
Compiling syn v2.0.23
Compiling serde_derive v1.0.166
Compiling ptr_meta_derive v0.2.0
Compiling uefi-macros v0.11.0
Compiling byteorder v1.4.3
Compiling bootloader-x86_64-bios-common v0.11.12
Compiling mbr-nostd v0.1.0
Compiling bit_field v0.10.2
Compiling scopeguard v1.1.0
Compiling bitflags v1.3.2
Compiling bitflags v2.3.3
Compiling byteorder v1.4.3
Compiling rand_core v0.6.4
Compiling stable_deref_trait v1.2.0
Compiling conquer-util v0.3.0
Compiling zero v0.1.3
Compiling volatile v0.4.6
Compiling log v0.4.19
Compiling noto-sans-mono-bitmap v0.2.0
Compiling ptr_meta v0.2.0
Compiling usize_conversions v0.2.0
Compiling ryu v1.0.14
Compiling raw-cpuid v10.7.0
Compiling conquer-once v0.3.2
Compiling xmas-elf v0.8.0
Compiling ucs2 v0.3.2
Compiling hash32 v0.2.1
Compiling x86_64 v0.15.2
Compiling rand_hc v0.3.2
Compiling rand v0.8.5
Compiling uefi v0.20.0
Compiling spin v0.9.8
Compiling spinning_top v0.2.5
Compiling bootloader-boot-config v0.11.12
Compiling serde-json-core v0.5.0
error: linking with `rust-lld` failed: exit status: 1
|
= note: "rust-lld" "-flavor" "gnu" "/tmp/rustcBYTyv6/symbols.o" "<1 object files omitted>" "--as-needed" "-Bstatic" "/tmp/cargo-installGZT1C1/i386-code16-stage-2/stage-2/deps/{libmbr_nostd-a1b12f5c01619a7f,libbyteorder-dfade3d69d30e643,libbootloader_x86_64_bios_common-047c14d8bc562c32,libcore-a50c746e36f164d0"
= note: some arguments are omitted. use `--verbose` to show all linker arguments
= note: rust-lld: error: /tmp/cargo-installGZT1C1/i386-code16-stage-2/stage-2/deps/bootloader_x86_64_bios_stage_2-c16bbb4799c43bd6.bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0.rcgu.o:(function bootloader_x86_64_bios_stage_2::start: .text._RNvCs2ztQT3sXfKN_30bootloader_x86_64_bios_stage_25start+0x251):'
>>> referenced by bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0
rust-lld: error: /tmp/cargo-installGZT1C1/i386-code16-stage-2/stage-2/deps/bootloader_x86_64_bios_stage_2-c16bbb4799c43bd6.bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0.rcgu.o:(function bootloader_x86_64_bios_stage_2::start: .text._RNvCs2ztQT3sXfKN_30bootloader_x86_64_bios_stage_25start+0x25a):'
>>> referenced by bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0
rust-lld: error: /tmp/cargo-installGZT1C1/i386-code16-stage-2/stage-2/deps/bootloader_x86_64_bios_stage_2-c16bbb4799c43bd6.bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0.rcgu.o:(function bootloader_x86_64_bios_stage_2::start: .text._RNvCs2ztQT3sXfKN_30bootloader_x86_64_bios_stage_25start+0x260):'
>>> referenced by bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0
rust-lld: error: /tmp/cargo-installGZT1C1/i386-code16-stage-2/stage-2/deps/bootloader_x86_64_bios_stage_2-c16bbb4799c43bd6.bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0.rcgu.o:(function bootloader_x86_64_bios_stage_2::start: .text._RNvCs2ztQT3sXfKN_30bootloader_x86_64_bios_stage_25start+0x265):'
>>> referenced by bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0
rust-lld: error: /tmp/cargo-installGZT1C1/i386-code16-stage-2/stage-2/deps/bootloader_x86_64_bios_stage_2-c16bbb4799c43bd6.bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0.rcgu.o:(function bootloader_x86_64_bios_stage_2::start: .text._RNvCs2ztQT3sXfKN_30bootloader_x86_64_bios_stage_25start+0x278):'
>>> referenced by bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0
rust-lld: error: /tmp/cargo-installGZT1C1/i386-code16-stage-2/stage-2/deps/bootloader_x86_64_bios_stage_2-c16bbb4799c43bd6.bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0.rcgu.o:(function bootloader_x86_64_bios_stage_2::start: .text._RNvCs2ztQT3sXfKN_30bootloader_x86_64_bios_stage_25start+0x289):'
>>> referenced by bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0
rust-lld: error: /tmp/cargo-installGZT1C1/i386-code16-stage-2/stage-2/deps/bootloader_x86_64_bios_stage_2-c16bbb4799c43bd6.bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0.rcgu.o:(function bootloader_x86_64_bios_stage_2::start: .text._RNvCs2ztQT3sXfKN_30bootloader_x86_64_bios_stage_25start+0x294):'
>>> referenced by bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0
rust-lld: error: /tmp/cargo-installGZT1C1/i386-code16-stage-2/stage-2/deps/bootloader_x86_64_bios_stage_2-c16bbb4799c43bd6.bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0.rcgu.o:(function bootloader_x86_64_bios_stage_2::start: .text._RNvCs2ztQT3sXfKN_30bootloader_x86_64_bios_stage_25start+0x2c3):'
>>> referenced by bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0
rust-lld: error: /tmp/cargo-installGZT1C1/i386-code16-stage-2/stage-2/deps/bootloader_x86_64_bios_stage_2-c16bbb4799c43bd6.bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0.rcgu.o:(function bootloader_x86_64_bios_stage_2::start: .text._RNvCs2ztQT3sXfKN_30bootloader_x86_64_bios_stage_25start+0x2c8):'
>>> referenced by bootloader_x86_64_bios_stage_2.1df601a3f4a6dbdb-cgu.0
error: could not compile `bootloader-x86_64-bios-stage-2` (bin "bootloader-x86_64-bios-stage-2") due to 1 previous error
error: failed to compile `bootloader-x86_64-bios-stage-2 v0.11.12`, intermediate artifacts can be found at `/tmp/cargo-installGZT1C1`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.
thread '<unnamed>' (154529) panicked at /home/dzamlo/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bootloader-0.11.12/build.rs:229:9:
failed to build bios second stage
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' (154527) panicked at /home/dzamlo/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bootloader-0.11.12/build.rs:34:61:
called `Result::unwrap()` on an `Err` value: Any { .. }
Compiling uart_16550 v0.3.2
Compiling bootloader-x86_64-common v0.11.12
Compiling bootloader-x86_64-uefi v0.11.12
Finished `release` profile [optimized] target(s) in 27.33s
Installing /tmp/dzamlos/target/debug/build/bootloader-eae601fc55b62ccf/out/bin/bootloader-x86_64-uefi.efi
Installed package `bootloader-x86_64-uefi v0.11.12` (executable `bootloader-x86_64-uefi.efi`)
warning: be sure to add `/tmp/dzamlos/target/debug/build/bootloader-eae601fc55b62ccf/out/bin` to your PATH to be able to run the installed binaries
thread 'main' (154525) panicked at /home/dzamlo/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bootloader-0.11.12/build.rs:17:29:
called `Result::unwrap()` on an `Err` value: Any { .. }
It seems there is some linking error when building stage 2.
Metadata
Metadata
Assignees
Labels
No labels