-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: linking with rust-lld
failed
#1160
Comments
I'm seeing the same issue. Here's the full error output: `
error: could not compile "bootloader" due to previous error |
rust-osdev/bootloader#271 Should already be fixed, the boot loader build is green again too, try again after upgrading to the latest nightly |
Incredible. Working for me after upgrading to latest nightly- many thanks! |
following along edition 2, and currently finishing "minimal-rust-kernel"
getting this error when running "cargo bootimage":
"error: linking with
rust-lld
failed: exit status: 1:when i run "rustc --version" i get output:
"rustc 1.66.0-nightly (db0597f56 2022-10-11)"
so i think the nightly build setting is ok.
contents of ./.cargo/config.toml:
contents of "x86_64-blog_os.json":
i've got "bootloader = "0.9.8"" as a dependency in Cargo.toml (running v 10 gave issues before, but following along the blog's version now seems ok.
im on macOS Monterey v12.5
chip is an M1 max
doing some more research into rust-lld, but couldn't find anything in first pass. next step is to learn more about rust-lld from ground up. thx in advance if anyone knows the issue!
The text was updated successfully, but these errors were encountered: