-
Notifications
You must be signed in to change notification settings - Fork 169
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
cargo objdump fails on -triple
flag when used with a recent LLVM 11
#269
Comments
I have exactly the same problem on windows. |
ghost
mentioned this issue
Oct 11, 2020
bors bot
added a commit
that referenced
this issue
Oct 12, 2020
270: llvm-objdump: Use two hyphens in flags to objdump r=eldruin a=adhoore LLVM 11 changed the behavior of these tools. See #269 Co-authored-by: Alexander D'hoore <[email protected]>
Is issue actual? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running
cargo objdump --bin app --release -- -disassemble -no-show-raw-insn -print-imm-hex
as suggested in Inspecting section of QEMU chapter can produce the following error:It seems that it's fixed with rust-embedded/cargo-binutils@aa5464b, but might not been yet published on crates.io (rust-embedded/cargo-binutils#93)
I'm using Ubuntu 20.04 with following llvm-objdump version:
The workaround for me was installing cargo-binutils from GitHub and running it with double hyphens for all flags:
The text was updated successfully, but these errors were encountered: