Skip to content

Instantly share code, notes, and snippets.

@OlegHahm
Created July 3, 2014 13:11
Show Gist options
  • Save OlegHahm/cc0a941a19600cbaebbe to your computer and use it in GitHub Desktop.
Save OlegHahm/cc0a941a19600cbaebbe to your computer and use it in GitHub Desktop.
lto
/tmp/ccMadwtj.ltrans0.ltrans.o: In function `_write_r':
/tmp/RIOT/cpu/stm32f1/syscalls.c:180: undefined reference to `uart_write_blocking'
/tmp/ccMadwtj.ltrans0.ltrans.o: In function `_read_r':
/tmp/RIOT/cpu/stm32f1/syscalls.c:156: undefined reference to `uart_read_blocking'
/tmp/ccMadwtj.ltrans0.ltrans.o: In function `_sbrk_r':
/tmp/RIOT/cpu/stm32f1/syscalls.c:88: undefined reference to `irq_arch_disable'
/tmp/RIOT/cpu/stm32f1/syscalls.c:91: undefined reference to `irq_arch_restore'
/tmp/ccMadwtj.ltrans0.ltrans.o: In function `_init':
/tmp/RIOT/cpu/stm32f1/syscalls.c:48: undefined reference to `uart_init_blocking'
collect2: error: ld returned 1 exit status
/tmp/RIOT/examples/hello-world/../../Makefile.include:100: recipe for target 'all' failed
make: *** [all] Error 1
.-(/tmp/RIOT/examples/hello-world)----------------------------------------------------------------------------------------------------------------------------------------------------------------(oleg@tbilisi)-
`--> arm-none-eabi-objdump -S -D /tmp/RIOT/examples/hello-world/bin/iot-lab_M3/periph.a | grep uart_write_blocking [15:11:05][2]
Disassembly of section .gnu.lto_uart_write_blocking.part.3.8250d19dca581344:
00000000 <.gnu.lto_uart_write_blocking.part.3.8250d19dca581344>:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment