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

can not compile ipc-demo with rustc 1.39.0-nightly #1

Closed
feine-moehre opened this issue Aug 21, 2019 · 1 comment · Fixed by #2
Closed

can not compile ipc-demo with rustc 1.39.0-nightly #1

feine-moehre opened this issue Aug 21, 2019 · 1 comment · Fixed by #2

Comments

@feine-moehre
Copy link

I can not compile your ipc-demo:

rust-beagleboardx15-demo/bare-metal/ipu-demo$ cargo +nightly build  
error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `rustc - --crate-name ___ --print=file-names -C link-arg=-Tam5728_ipu.ld -C linker=arm-none-eabi-ld -Z linker-flavor=ld -Z thinlto=no --target thumbv7em-none-eabi --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit code: 1)
--- stderr
error: unknown debugging option: `linker-flavor`

The error maybe relates to .cargo/config line 6: "-Z", "linker-flavor=ld"
The linker option makes some trouble?

@davidthomaswood
Copy link
Member

Thanks for the report - I can reproduce this here, so have just added a PR to add support for the latest nightly

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

Successfully merging a pull request may close this issue.

2 participants