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

Build failed "arm-none-eabi-gcc" did not execute successfully (status code exit code: 1). #258

Open
Ben-Lichtman opened this issue Sep 23, 2019 · 2 comments

Comments

@Ben-Lichtman
Copy link

I have not been able to identify the cause of xargo not building this application, but I have attached the build log here.

Any help would be much appreciated, thanks.

dump.log

The application is just a simple hello world application, the command used is xargo build --target thumbv7m-none-eabi 2>dump.log

the xargo.toml contains only [target.thumbv7m-none-eabi.dependencies.std]

@RalfJung
Copy link
Collaborator

You could try minimizing your libstd to avoid having to build host libraries:

[target.thumbv7m-none-eabi.dependencies.std] 
default_features = false
features = ["panic_abort"]

Note: I have never cross-built anything with xargo, this is a wild guess.

@skydig
Copy link

skydig commented Dec 26, 2019

ppc example,wish helpful
.cargo/config

[target.powerpc64le-unknown-linux-gnu]
linker = "powerpc64le-linux-gnu-gcc-7"
[target.powerpc64-unknown-linux-gnu]
linker = "powerpc64-linux-gnu-gcc-7"
rustflags=["-Ctarget-cpu=e5500"]

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

3 participants