-
Notifications
You must be signed in to change notification settings - Fork 93
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
compiler_builtins & compiler_builtins_shim leading multiple matching crates #218
Comments
I had the same problem: #214. Maybe rust-osdev/cargo-xbuild works for you too? |
Hi Phill, First off your blog-os posts are what inspired me to get back into hobby os dev :) Second get a different error now. My guess is this one is lld/rustc.
|
Okay after some googling adding --release the cargo xbuild command gets me over the duplicate symbol issue. Although I'd still like to get to the bottom of it. |
Did you try |
Hi @robert-w-gries, Yes I ran both a -Jon |
Great to hear! :) Hmm, I've never seen this error before. Do you have your code online somewhere so that I can test? |
@phil-opp I've added you to my private gitlab repo. |
@jparris Thanks! I cloned your repo and ran |
@phil-opp sorry I should have warned you make uses |
@jparris Ah, makes sense! Without |
@jparris I think this has something to do with uefi or the windows-like build. I tried to compile the @toothbrush7777777 Have you experienced this error too? |
@phil-opp No, but I haven't compiled I can't compile anything at the moment. Could you post what comes up when running |
@toothbrush7777777 I tried all nightlies between the LLD inclusion and the latest commit to the
They all throw the same error. |
I think we should open an Rust issue about this, since the duplicate symbol seems Rust-related: |
@phil-opp That sounds like a good idea. It seems like there is a (newish) related setting in target files: |
@toothbrush7777777 No effect, still the same error. |
I have the same problem, cleaning & |
any updates? |
@dvc94ch I think they stopped maintaining this in light of: rust-lang/cargo#4959 |
does that work already on nightly? |
@dvc94ch I've opened rust-lang/rust#52909 to get to the bottom of the duplicate gdb symbols. |
Hi there,
I'm having problems compiling compiler_builtins under xargo. I'm pretty sure it's because
compiler_builtins_shim
is being compiled under the namecompiler_builtins
.Xargo build
Target
Cargo
Xargo
Version info
The text was updated successfully, but these errors were encountered: