Closed mm-dimmiz closed 6 years ago
Hi I am trying to compile the hello example. But do not have any success. Here is the error message:
xargo build RUST_BACKTRACE=1 --verbose --target=thumbv7em-none-eabi --example hello + "rustc" "--print" "sysroot" + "rustc" "--print" "target-list" + RUSTFLAGS="-C link-arg=-Wl,-Tlink.x -C link-arg=-nostartfiles --sysroot /home/dimmiz/.xargo -Z force-unstable-if-unmarked" + "cargo" "build" "--release" "--manifest-path" "/tmp/xargo.8O2cHvoU1pyZ/Cargo.toml" "--target" "thumbv7em-none-eabi" "-v" "-p" "core" Compiling core v0.0.0 (file:///home/dimmiz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore) Running `rustc --crate-name core /home/dimmiz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcore/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C codegen-units=1 -C debuginfo=2 -C metadata=534dd594f582d058 -C extra-filename=-534dd594f582d058 --out-dir /tmp/xargo.8O2cHvoU1pyZ/target/thumbv7em-none-eabi/release/deps --target thumbv7em-none-eabi -L dependency=/tmp/xargo.8O2cHvoU1pyZ/target/thumbv7em-none-eabi/release/deps -L dependency=/tmp/xargo.8O2cHvoU1pyZ/target/release/deps -C link-arg=-Wl,-Tlink.x -C link-arg=-nostartfiles --sysroot /home/dimmiz/.xargo -Z force-unstable-if-unmarked` Finished release [optimized + debuginfo] target(s) in 1m 26s + RUSTFLAGS="-C link-arg=-Wl,-Tlink.x -C link-arg=-nostartfiles --sysroot /home/dimmiz/.xargo -Z force-unstable-if-unmarked" + "cargo" "build" "--release" "--manifest-path" "/tmp/xargo.jNfyOXaC42La/Cargo.toml" "--target" "thumbv7em-none-eabi" "-v" "-p" "compiler_builtins" Compiling compiler_builtins v0.1.0 (file:///home/dimmiz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcompiler_builtins) Running `rustc --crate-name build_script_build /home/dimmiz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcompiler_builtins/build.rs --crate-type bin --emit=dep-info,link -C opt-level=3 -C codegen-units=1 -C debuginfo=2 --cfg 'feature="compiler-builtins"' --cfg 'feature="default"' --cfg 'feature="mem"' -C metadata=e72572c230ee5f0c -C extra-filename=-e72572c230ee5f0c --out-dir /tmp/xargo.jNfyOXaC42La/target/release/build/compiler_builtins-e72572c230ee5f0c -L dependency=/tmp/xargo.jNfyOXaC42La/target/release/deps` Running `/tmp/xargo.jNfyOXaC42La/target/release/build/compiler_builtins-e72572c230ee5f0c/build-script-build` Running `rustc --crate-name compiler_builtins /home/dimmiz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcompiler_builtins/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C codegen-units=1 -C debuginfo=2 --cfg 'feature="compiler-builtins"' --cfg 'feature="default"' --cfg 'feature="mem"' -C metadata=0337e5cfae85ac18 -C extra-filename=-0337e5cfae85ac18 --out-dir /tmp/xargo.jNfyOXaC42La/target/thumbv7em-none-eabi/release/deps --target thumbv7em-none-eabi -L dependency=/tmp/xargo.jNfyOXaC42La/target/thumbv7em-none-eabi/release/deps -L dependency=/tmp/xargo.jNfyOXaC42La/target/release/deps -C link-arg=-Wl,-Tlink.x -C link-arg=-nostartfiles --sysroot /home/dimmiz/.xargo -Z force-unstable-if-unmarked --cfg thumb` LLVM ERROR: Unexpected anonymous function when writing summary error: Could not compile `compiler_builtins`. Caused by: process didn't exit successfully: `rustc --crate-name compiler_builtins /home/dimmiz/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/libcompiler_builtins/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 -C codegen-units=1 -C debuginfo=2 --cfg feature="compiler-builtins" --cfg feature="default" --cfg feature="mem" -C metadata=0337e5cfae85ac18 -C extra-filename=-0337e5cfae85ac18 --out-dir /tmp/xargo.jNfyOXaC42La/target/thumbv7em-none-eabi/release/deps --target thumbv7em-none-eabi -L dependency=/tmp/xargo.jNfyOXaC42La/target/thumbv7em-none-eabi/release/deps -L dependency=/tmp/xargo.jNfyOXaC42La/target/release/deps -C link-arg=-Wl,-Tlink.x -C link-arg=-nostartfiles --sysroot /home/dimmiz/.xargo -Z force-unstable-if-unmarked --cfg thumb` (exit code: 1) error: `"cargo" "build" "--release" "--manifest-path" "/tmp/xargo.jNfyOXaC42La/Cargo.toml" "--target" "thumbv7em-none-eabi" "-v" "-p" "compiler_builtins"` failed with exit code: Some(101) note: run with `RUST_BACKTRACE=1` for a backtrace
os: Manjaro rust: nightly-x86_64-unknown-linux-gnu xargo: 0.3.12 cargo: 1.28.0-nightly (c3b09c968 2018-05-27)
Any idea what's going wrong?
Hi I am trying to compile the hello example. But do not have any success. Here is the error message:
os: Manjaro rust: nightly-x86_64-unknown-linux-gnu xargo: 0.3.12 cargo: 1.28.0-nightly (c3b09c968 2018-05-27)
Any idea what's going wrong?