Closed
Description
Since a week or so I'm not able to compile any of my Rust projects under armhf.
I try to compile direct on hardware, no virtualisation or so. I use nightly but beta fails also.
Because there are falling different crates, "winapi-build", "gcc" to name a few I think this is a problem with rust or the build infrastructure.
The logs are very hard to produce, and I don't see any relevant.
The error look something like #33733
Produce, on a debian sid armhf
rustup update
info: syncing channel updates for 'nightly-armv7-unknown-linux-gnueabihf'
info: checking for self-updates
nightly-armv7-unknown-linux-gnueabihf unchanged - rustc 1.13.0-nightly (ef9786ce0 2016-09-02)
cargo new buggy
cd buggy
echo "winapi-build =\"*\"" >>Cargo.toml
RUST_BACKTRACE=1 RUST_LOG=debug cargo build --verbose
Results in
Process didn't exit successfully: `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-build-0.1.1/src/lib.rs --crate-name build --crate-type lib -g -C metadata=00070c9b9a99d27d -C extra-filename=-00070c9b9a99d27d --out-dir /root/buggy/target/debug/deps --emit=dep-info,link -L dependency=/root/buggy/target/debug/deps --cap-lints allow` (exit code: 1)
https://gist.github.com/zzeroo/8e4ad2ac695f683e11e4748a24c0f34a
Environment
rustc --version --verbose
rustc 1.13.0-nightly (ef9786ce0 2016-09-02)
binary: rustc
commit-hash: ef9786ce0eac75bbe293d04dadc959bd481236a6
commit-date: 2016-09-02
host: armv7-unknown-linux-gnueabihf
release: 1.13.0-nightly
cargo --version
cargo 0.13.0-nightly (b78beb1 2016-09-01)
gcc --version
gcc (Debian 6.2.0-2) 6.2.0 20160830
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
uname -a
Linux xmz-mod-touch 4.6.0-rc6-dirty #5 SMP Tue May 31 15:16:00 CEST 2016 armv7l GNU/Linux