Skip to content
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-binutils 版本过低 #2

Closed
BillXWB opened this issue Mar 11, 2022 · 3 comments
Closed

cargo-binutils 版本过低 #2

BillXWB opened this issue Mar 11, 2022 · 3 comments

Comments

@BillXWB
Copy link

BillXWB commented Mar 11, 2022

os/Makefile 中依赖的 cargo-binutils 版本与较新的 LLVM 不兼容,会导致错误:

llvm-objdump: error: unknown argument '-c'

cargo-binutils 在 rust-embedded/cargo-binutils#92 中已经进行了修复。

@Gallium70
Copy link
Collaborator

这个问题我没有成功复现,可否提供一下你使用的相关工具的版本?这个-C是来自 config 文件吗

@BillXWB
Copy link
Author

BillXWB commented Mar 25, 2022

我的环境是 LLVM 13.0.1. 我看了一下 rust-embedded/cargo-binutils#92 的提交,是因为 LLVM 11 及之后把 llvm-objdump 的 -arch-name 改成 --arch-name 了,老版本的 cargo-objdump 调用的时候就会出这个错误。应该是不影响实验使用的部分,但是我自己用 cargo-objdump 的时候就会出问题。

@Gallium70
Copy link
Collaborator

已将cargo-binutils版本更新到~0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants