Created
April 23, 2025 11:29
-
-
Save Dygear/f6953cc5aedc902bc969fcc47408b60b to your computer and use it in GitHub Desktop.
Compile Time Crash uart-split.
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
error: linking with `rust-lld` failed: exit status: 1 | |
| | |
= note: "rust-lld" "-flavor" "gnu" "/var/folders/t3/t6rbvvlx6z3_lxbzvvlsc7f40000gn/T/rustcRAc8wL/symbols.o" "<44 object files omitted>" "--as-needed" "-Bstatic" "/Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/{libpanic_probe-53ebe0a1d674c014.rlib,libstatic_cell-fecafdc31419fcdc.rlib,libportable_atomic-2d3d81abe13908fa.rlib,libembassy_rp-cb52fb725a5bedc9.rlib,libembedded_hal_nb-6555977106611f47.rlib,libsha2_const_stable-e30829ba97058d0a.rlib,librp_pac-05bd8fd6b3921db6.rlib,libcortex_m_rt-f88c55d3c882d74b.rlib,libembassy_usb_driver-e174516f062982ab.rlib,libatomic_polyfill-e58d7764f5890e30.rlib,librand_core-fad3dfa058d8d319.rlib,libembassy_time_queue_utils-e856d4b13bb04027.rlib,libembassy_embedded_hal-6f36beb5792dac83.rlib,libembassy_futures-809a51e7aecec169.rlib,libembedded_storage_async-d4c9079f95169dc0.rlib,libsmart_leds-90b1231a714de8dd.rlib,libsmart_leds_trait-0e5b0ee4f7953bd4.rlib,librgb-f6e7c38a11e86973.rlib,libembassy_time-08bff65d65693d64.rlib,libembedded_hal_async-6ccd3465ca2eec64.rlib,libembassy_time_driver-3a53db47003e3697.rlib,libpio-d1c9f6227df36a02.rlib,libpio_core-601c4f4f0e2a59fa.rlib,libnum_enum-c26659656d76c12d.rlib,libarrayvec-be53dcd838ca8625.rlib,libfixed-23c7dbe99bf87160.rlib,libtypenum-cf6ebfb8cfac5a26.rlib,libbytemuck-e9b6247a9990006e.rlib,libhalf-cdd8ae3bc63ac662.rlib,libcfg_if-765489b0b2cf5786.rlib,libaz-9be552e6c19e6704.rlib,libembedded_hal-1216dd9308ac8195.rlib,libembedded_storage-28777814cb7b60d4.rlib,libembassy_sync-2cf166d5a1ee60d6.rlib,libfutures_util-093d19c7d6af8722.rlib,libpin_project_lite-97dc9145bdfda37a.rlib,libfutures_task-c202103f42ebef7c.rlib,libpin_utils-98b473c6b2e18dc4.rlib,libfutures_core-10df05dd544c2ca7.rlib,libfutures_sink-b15a7dd241c270d6.rlib,libembedded_io_async-0faed6784217a8e5.rlib,libembedded_io-62a89cfa108d4ef4.rlib,libheapless-7bb3a01a69065742.rlib,libstable_deref_trait-9924b72b161930ee.rlib,libhash32-2662950259e55712.rlib,libbyteorder-68fc78f7a654eff9.rlib,libembassy_hal_internal-46f5d8f140dd77fd.rlib,libnum_traits-873683988fae6059.rlib,libembassy_executor-ceecd88de39d5cd6.rlib,libdefmt-7a55b3f4e5fa04ca.rlib,libdefmt-9a410f5b807d87df.rlib,libbitflags-d9105f6b3b9e007a.rlib,libcritical_section-6a071dab38d162b5.rlib,libcortex_m-00b1768bfc31f7d4.rlib,libembedded_hal-843c837aa14ba0a0.rlib,libvoid-974e0d682671a4f6.rlib,libnb-3475ff3a88661520.rlib,libnb-0bc6fe85512d6832.rlib,libbitfield-05ee72121f0e2398.rlib,libvolatile_register-4b0eaf58b633c400.rlib,libvcell-3b2b6816599bea6d.rlib,libbare_metal-a034ad080c34f52f.rlib}.rlib" "<sysroot>/lib/rustlib/thumbv8m.main-none-eabihf/lib/{librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Bdynamic" "--eh-frame-hdr" "-z" "noexecstack" "-L" "/Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/build/uart-split-62f4997b74d4e440/out" "-L" "/Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/build/cortex-m-rt-3f389318ee6190b9/out" "-L" "/Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/build/defmt-c87b2c6f4f8ec76f/out" "-L" "/Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/build/cortex-m-f614ecfb11dcaffd/out" "-L" "/Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/build/rp-pac-f9ca5108bcd0d3d8/out" "-o" "/Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/uart_split-3c3fffdf059457c8" "--gc-sections" "--nmagic" "-Tlink.x" "-Tdefmt.x" | |
= note: some arguments are omitted. use `--verbose` to show all linker arguments | |
= note: rust-lld: error: undefined symbol: _critical_section_1_0_acquire | |
>>> referenced by lib.rs:202 (/Users/dygear/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202) | |
>>> /Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/uart_split-3c3fffdf059457c8.1zisrztyl3bzp2p4zlwyqzkdn.rcgu.o:(critical_section::with::h6d40cc08c585d34b) | |
>>> referenced by lib.rs:202 (/Users/dygear/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202) | |
>>> embassy_rp-cb52fb725a5bedc9.embassy_rp.39fd76c14264534d-cgu.0.rcgu.o:(critical_section::with::h0bbb320b1aad185a) in archive /Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/libembassy_rp-cb52fb725a5bedc9.rlib | |
>>> referenced by lib.rs:202 (/Users/dygear/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:202) | |
>>> embassy_rp-cb52fb725a5bedc9.embassy_rp.39fd76c14264534d-cgu.0.rcgu.o:(critical_section::with::h91d17438f10b2194) in archive /Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/libembassy_rp-cb52fb725a5bedc9.rlib | |
>>> referenced 3 more times | |
rust-lld: error: undefined symbol: _defmt_release | |
>>> referenced by mod.rs:71 (/Users/dygear/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/defmt-1.0.1/src/export/mod.rs:71) | |
>>> /Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/uart_split-3c3fffdf059457c8.5zqzqsva01rbxi4tb4wmyjjh6.rcgu.o:(uart_split::____embassy_main_task::_$u7b$$u7b$closure$u7d$$u7d$::ha08215441b5f48aa) | |
>>> referenced by mod.rs:71 (/Users/dygear/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/defmt-1.0.1/src/export/mod.rs:71) | |
>>> /Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/uart_split-3c3fffdf059457c8.clh2yu60lqc515815l0xcveqj.rcgu.o:(embassy_executor::spawner::Spawner::must_spawn::hc57c86254f4cade3) | |
>>> referenced by mod.rs:71 (src/export/mod.rs:71) | |
>>> defmt-9a410f5b807d87df.defmt.89465281994e3207-cgu.0.rcgu.o:(defmt::export::acquire_header_and_release::h55f6e031384c6320) in archive /Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/libdefmt-9a410f5b807d87df.rlib | |
rust-lld: error: undefined symbol: _critical_section_1_0_release | |
>>> referenced by lib.rs:219 (/Users/dygear/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:219) | |
>>> embassy_sync-2cf166d5a1ee60d6.embassy_sync.e3cd63dbefac9f91-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$critical_section..with..Guard$GT$::h97b71371457b9aa2) in archive /Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/libembassy_sync-2cf166d5a1ee60d6.rlib | |
>>> referenced by lib.rs:219 (/Users/dygear/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/critical-section-1.2.0/src/lib.rs:219) | |
>>> embassy_executor-ceecd88de39d5cd6.embassy_executor.47a6755fd118c164-cgu.0.rcgu.o:(core::ptr::drop_in_place$LT$critical_section..with..Guard$GT$::h1eac87f7c426dbee) in archive /Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/libembassy_executor-ceecd88de39d5cd6.rlib | |
rust-lld: error: undefined symbol: _defmt_write | |
>>> referenced by mod.rs:85 (src/export/mod.rs:85) | |
>>> defmt-9a410f5b807d87df.defmt.89465281994e3207-cgu.0.rcgu.o:(defmt::export::integers::usize::hc01f05d7fe27b51a) in archive /Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/libdefmt-9a410f5b807d87df.rlib | |
>>> referenced by mod.rs:85 (src/export/mod.rs:85) | |
>>> defmt-9a410f5b807d87df.defmt.89465281994e3207-cgu.0.rcgu.o:(defmt::export::istr::hd8cc6c5d83756bbd) in archive /Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/libdefmt-9a410f5b807d87df.rlib | |
>>> referenced by mod.rs:85 (src/export/mod.rs:85) | |
>>> defmt-9a410f5b807d87df.defmt.89465281994e3207-cgu.0.rcgu.o:(defmt::export::integers::u8::h077484ad196994d2) in archive /Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/libdefmt-9a410f5b807d87df.rlib | |
rust-lld: error: undefined symbol: _defmt_acquire | |
>>> referenced by mod.rs:55 (src/export/mod.rs:55) | |
>>> defmt-9a410f5b807d87df.defmt.89465281994e3207-cgu.0.rcgu.o:(defmt::export::acquire_and_header::hb4b9e5b5ba57367f) in archive /Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/libdefmt-9a410f5b807d87df.rlib | |
>>> referenced by mod.rs:55 (src/export/mod.rs:55) | |
>>> defmt-9a410f5b807d87df.defmt.89465281994e3207-cgu.0.rcgu.o:(defmt::export::acquire_header_and_release::h55f6e031384c6320) in archive /Users/dygear/uart-split/target/thumbv8m.main-none-eabihf/debug/deps/libdefmt-9a410f5b807d87df.rlib | |
error: could not compile `uart-split` (bin "uart-split") due to 1 previous error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment