Created
May 1, 2017 23:14
-
-
Save kmcallister/d3ebda3da8195a0bb37846e362b8fd8c to your computer and use it in GitHub Desktop.
xargo error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| + "rustc" "--print" "sysroot" | |
| + "rustc" "--print" "target-list" | |
| + "cargo" "build" "--example" "hello" "--verbose" | |
| Fresh r0 v0.2.1 | |
| Fresh vcell v0.1.0 | |
| Fresh cortex-m-semihosting v0.1.3 | |
| Fresh volatile-register v0.2.0 | |
| Fresh cortex-m v0.2.4 | |
| Fresh cortex-m-rt v0.2.0 | |
| Compiling cortex-m-quickstart v0.1.1 (file:///home/keegan/rust-embedded/cortex-m-quickstart) | |
| Running `rustc --crate-name hello examples/hello.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=f29cf0cf207fa2cf -C extra-filename=-f29cf0cf207fa2cf --out-dir /home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/examples --target thumbv7em-none-eabihf -L dependency=/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps -L dependency=/home/keegan/rust-embedded/cortex-m-quickstart/target/debug/deps --extern cortex_m=/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps/libcortex_m-f79e9101598e8f86.rlib --extern cortex_m_rt=/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps/libcortex_m_rt-24012b390e726478.rlib --extern cortex_m_quickstart=/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps/libcortex_m_quickstart-ed011ee7a3e51666.rlib -C link-arg=-Tlink.x -C linker=arm-none-eabi-ld -Z linker-flavor=ld --sysroot /home/keegan/.xargo -L /home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/build/cortex-m-quickstart-26f288dc2a5e879f/out -L /home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/build/cortex-m-rt-088288e2c0741cb9/out` | |
| error: linking with `arm-none-eabi-ld` failed: exit code: 1 | |
| | | |
| = note: "arm-none-eabi-ld" "-L" "/home/keegan/.xargo/lib/rustlib/thumbv7em-none-eabihf/lib" "/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/examples/hello-f29cf0cf207fa2cf.0.o" "-o" "/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/examples/hello-f29cf0cf207fa2cf" "--gc-sections" "-L" "/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps" "-L" "/home/keegan/rust-embedded/cortex-m-quickstart/target/debug/deps" "-L" "/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/build/cortex-m-quickstart-26f288dc2a5e879f/out" "-L" "/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/build/cortex-m-rt-088288e2c0741cb9/out" "-L" "/home/keegan/.xargo/lib/rustlib/thumbv7em-none-eabihf/lib" "-Bstatic" "/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps/libcortex_m_rt-24012b390e726478.rlib" "/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps/libcortex_m-f79e9101598e8f86.rlib" "/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps/libvolatile_register-dd312bcdfe0e5a03.rlib" "/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps/libcortex_m_semihosting-e2ea99c0573da1bb.rlib" "/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps/libvcell-73f6615fbb53c045.rlib" "/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps/libr0-e4cce97a4c69a51a.rlib" "/home/keegan/.xargo/lib/rustlib/thumbv7em-none-eabihf/lib/libcore-91fe77b4c917409d.rlib" "/home/keegan/.xargo/lib/rustlib/thumbv7em-none-eabihf/lib/libcompiler_builtins-1ca1edad70ccd351.rlib" "-Tlink.x" "-Bdynamic" | |
| = note: arm-none-eabi-ld: | |
| Invalid '.rodata.exceptions' section. | |
| Make sure to place a static with type `cortex_m::exception::Handlers` | |
| in that section (cf. #[link_section]) ONLY ONCE. | |
| error: aborting due to previous error | |
| error: Could not compile `cortex-m-quickstart`. | |
| Caused by: | |
| process didn't exit successfully: `rustc --crate-name hello examples/hello.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 -C metadata=f29cf0cf207fa2cf -C extra-filename=-f29cf0cf207fa2cf --out-dir /home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/examples --target thumbv7em-none-eabihf -L dependency=/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps -L dependency=/home/keegan/rust-embedded/cortex-m-quickstart/target/debug/deps --extern cortex_m=/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps/libcortex_m-f79e9101598e8f86.rlib --extern cortex_m_rt=/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps/libcortex_m_rt-24012b390e726478.rlib --extern cortex_m_quickstart=/home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/deps/libcortex_m_quickstart-ed011ee7a3e51666.rlib -C link-arg=-Tlink.x -C linker=arm-none-eabi-ld -Z linker-flavor=ld --sysroot /home/keegan/.xargo -L /home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/build/cortex-m-quickstart-26f288dc2a5e879f/out -L /home/keegan/rust-embedded/cortex-m-quickstart/target/thumbv7em-none-eabihf/debug/build/cortex-m-rt-088288e2c0741cb9/out` (exit code: 101) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment