Skip to content

Instantly share code, notes, and snippets.

@djc

djc/will not fit Secret

Created April 1, 2023 06:46
Show Gist options
  • Save djc/b4d59299e7cc803697eb8a9c3378455c to your computer and use it in GitHub Desktop.
Save djc/b4d59299e7cc803697eb8a9c3378455c to your computer and use it in GitHub Desktop.
link-failure
= note: rust-lld: warning: section type mismatch for .uninit.defmt-rtt.BUFFER
>>> /Users/djc/src/candotti/target/thumbv7em-none-eabihf/debug/deps/colors-3ee5cdc8aeb97feb.colors.ee925b97-cgu.0.rcgu.o:(.uninit.defmt-rtt.BUFFER): SHT_PROGBITS
>>> output section .uninit: SHT_NOBITS
rust-lld: warning: section type mismatch for .got
>>> <internal>:(.got): SHT_PROGBITS
>>> output section .got: SHT_NOBITS
rust-lld: warning: section type mismatch for .got.plt
>>> <internal>:(.got.plt): SHT_PROGBITS
>>> output section .got: SHT_NOBITS
rust-lld: warning: section type mismatch for .got
>>> <internal>:(.got): SHT_PROGBITS
>>> output section .got: SHT_NOBITS
rust-lld: warning: section type mismatch for .uninit.defmt-rtt.BUFFER
>>> /Users/djc/src/candotti/target/thumbv7em-none-eabihf/debug/deps/colors-3ee5cdc8aeb97feb.colors.ee925b97-cgu.0.rcgu.o:(.uninit.defmt-rtt.BUFFER): SHT_PROGBITS
>>> output section .uninit: SHT_NOBITS
rust-lld: warning: section type mismatch for .got
>>> <internal>:(.got): SHT_PROGBITS
>>> output section .got: SHT_NOBITS
rust-lld: warning: section type mismatch for .got.plt
>>> <internal>:(.got.plt): SHT_PROGBITS
>>> output section .got: SHT_NOBITS
rust-lld: warning: section type mismatch for .got
>>> <internal>:(.got): SHT_PROGBITS
>>> output section .got: SHT_NOBITS
rust-lld: error: section '.data' will not fit in region 'RAM': overflowed by 48 bytes
rust-lld: error: section '.data' will not fit in region 'RAM': overflowed by 54 bytes
rust-lld: error: section '.data' will not fit in region 'RAM': overflowed by 56 bytes
rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 56 bytes
rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 56 bytes
rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 60 bytes
rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 61 bytes
rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 62 bytes
rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 67 bytes
rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 68 bytes
rust-lld: error: section '.uninit' will not fit in region 'RAM': overflowed by 68 bytes
rust-lld: error: section '.uninit' will not fit in region 'RAM': overflowed by 68 bytes
rust-lld: error: section '.uninit' will not fit in region 'RAM': overflowed by 1092 bytes
rust-lld: error: section '.uninit' will not fit in region 'RAM': overflowed by 1092 bytes
rust-lld: error: section '.data' will not fit in region 'RAM': overflowed by 48 bytes
rust-lld: error: section '.data' will not fit in region 'RAM': overflowed by 54 bytes
rust-lld: error: section '.data' will not fit in region 'RAM': overflowed by 56 bytes
rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 56 bytes
rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 56 bytes
rust-lld: error: section '.bss' will not fit in region 'RAM': overflowed by 60 bytes
rust-lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment