Skip to content

Instantly share code, notes, and snippets.

@jessicah
Created August 24, 2017 17:55
Show Gist options
  • Save jessicah/3b0ea3773d412ff5458cf80e2db31a20 to your computer and use it in GitHub Desktop.
Save jessicah/3b0ea3773d412ff5458cf80e2db31a20 to your computer and use it in GitHub Desktop.
rust cross-compile failure
Running `/home/jessica/rust/rust/build/bootstrap/debug/rustc --crate-name core src/libcore/lib.rs --error-format json --crate-type lib --emit=dep-info,link -C opt-level=2 -C metadata=f1cbedfe5e057478 -C extra-filename=-f1cbedfe5e057478 --out-dir /home/jessica/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps --target x86_64-unknown-haiku -L dependency=/home/jessica/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps -L dependency=/home/jessica/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/release/deps`
error: linking with `x86_64-unknown-haiku-gcc` failed: exit code: 1
|
= note: "x86_64-unknown-haiku-gcc" "-c" "-o" "/home/jessica/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/core-f1cbedfe5e057478.o" "/home/jessica/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/core-f1cbedfe5e057478.s"
= note: x86_64-unknown-haiku-gcc: error: /home/jessica/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/core-f1cbedfe5e057478.s: No such file or directory
x86_64-unknown-haiku-gcc: fatal error: no input files
compilation terminated.
error: aborting due to previous error
error: Could not compile `core`.
Caused by:
process didn't exit successfully: `/home/jessica/rust/rust/build/bootstrap/debug/rustc --crate-name core src/libcore/lib.rs --error-format json --crate-type lib --emit=dep-info,link -C opt-level=2 -C metadata=f1cbedfe5e057478 -C extra-filename=-f1cbedfe5e057478 --out-dir /home/jessica/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps --target x86_64-unknown-haiku -L dependency=/home/jessica/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps -L dependency=/home/jessica/rust/rust/build/x86_64-unknown-linux-gnu/stage1-std/release/deps` (exit code: 101)
thread 'main' panicked at 'command did not execute successfully: "/home/jessica/rust/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "-j" "3" "--target" "x86_64-unknown-haiku" "-v" "--release" "--features" "panic-unwind backtrace" "--manifest-path" "/home/jessica/rust/rust/src/libstd/Cargo.toml" "--message-format" "json"
expected success, got: exit code: 101', src/bootstrap/compile.rs:883:8
jessica@docker-host:~/rust/rust$ ls build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-haiku/release/deps/
core-f1cbedfe5e057478.0.bc core-f1cbedfe5e057478.0.s core-f1cbedfe5e057478.crate.metadata.o core-f1cbedfe5e057478.d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment