Skip to content

Instantly share code, notes, and snippets.

@Aroksak
Last active August 19, 2018 14:22
Show Gist options
  • Save Aroksak/04579f81a21c659cb0162a938c865ad1 to your computer and use it in GitHub Desktop.
Save Aroksak/04579f81a21c659cb0162a938c865ad1 to your computer and use it in GitHub Desktop.
Error log for issue #106 rust-embedded/discovery
$ cargo build --target thumbv7em-none-eabihf
Compiling vcell v0.1.0
Compiling bare-metal v0.2.3
Compiling aligned v0.2.0
Compiling r0 v0.2.2
Compiling void v1.0.2
Compiling nb v0.1.1
Compiling cast v0.2.2
Compiling panic-abort v0.2.0
Compiling typenum v1.10.0
Compiling volatile-register v0.2.0
Compiling cortex-m-rt v0.5.2
Compiling embedded-hal v0.2.1
Compiling cortex-m v0.5.4
Compiling stm32f30x v0.7.0
Compiling generic-array v0.11.1
Compiling l3gd20 v0.2.0
Compiling lsm303dlhc v0.2.0
Compiling stm32f30x-hal v0.2.0
Compiling f3 v0.6.1
Compiling aux5 v0.1.0 (file:///home/sergey/EmbeddedRust/discovery/src/05-led-roulette/auxiliary)
Compiling led-roulette v0.1.0 (file:///home/sergey/EmbeddedRust/discovery/src/05-led-roulette)
error: linking with `arm-none-eabi-gcc` failed: exit code: 1
|
= note: "arm-none-eabi-gcc" "-L" "/home/sergey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabihf/lib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/led_roulette-9272aa89b3220546.2wldmjbvmmxb9i1s.rcgu.o" "-o" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/led_roulette-9272aa89b3220546" "-Wl,--gc-sections" "-nodefaultlibs" "-L" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps" "-L" "/home/sergey/EmbeddedRust/discovery/target/debug/deps" "-L" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/build/cortex-m-16eaad1035a9e50e/out" "-L" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/build/cortex-m-rt-f415194317e51228/out" "-L" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/build/cortex-m-rt-f415194317e51228/out" "-L" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/build/f3-8dc9ad2e1d746c47/out" "-L" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/build/stm32f30x-52c27d4e13eb1b34/out" "-L" "/home/sergey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabihf/lib" "-Wl,-Bstatic" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libaux5-04ea0aa8cc2a21b7.rlib" "-Wl,--start-group" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libpanic_abort-2f7fe62752c303c5.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libf3-2360bea053435a45.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libstm32f30x_hal-d19e90b92d1919e9.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libstm32f30x-cb389325d0ef4f34.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/liblsm303dlhc-0050c5a5e8a518d4.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libcast-e30492d90144d018.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libl3gd20-70405f79eccff1e5.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libgeneric_array-0f7a767ea4d8d8d3.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libtypenum-4019d195abf101b0.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libembedded_hal-6b70c705f7a06292.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libvoid-c0230356234c22f1.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libnb-8c97dd3af8d73e6b.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libcortex_m_rt-e82bfc6936ea292e.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libr0-9900b1b8a503a886.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libcortex_m-26ae568cceb6733c.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libvolatile_register-375ba5b60b51f797.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libvcell-8fd8373cbac29d4b.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libbare_metal-67429b578267ec54.rlib" "/home/sergey/EmbeddedRust/discovery/target/thumbv7em-none-eabihf/debug/deps/libaligned-7c08c78fc387b4e5.rlib" "/home/sergey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabihf/lib/libcore-6fbca23edd8b4246.rlib" "-Wl,--end-group" "/home/sergey/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/thumbv7em-none-eabihf/lib/libcompiler_builtins-3ed6270e35c6c3e2.rlib" "-Tlink.x" "-nostartfiles" "-Wl,-Bdynamic"
= note: /usr/lib/gcc/arm-none-eabi/6.3.1/../../../arm-none-eabi/bin/ld:
BUG(cortex-m-rt): the reset vector is missing
/usr/lib/gcc/arm-none-eabi/6.3.1/../../../arm-none-eabi/bin/ld:
BUG(cortex-m-rt): the exception vectors are missing
collect2: error: ld returned 1 exit status
error: aborting due to previous error
error: Could not compile `led-roulette`.
To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment