[riot-notifications] [RIOT-OS/RIOT] cpu/esp: treat undefined reference as errors (#11246)

Gunar Schorcht notifications at github.com
Tue Mar 26 16:59:50 CET 2019


@cladmi 
Adding
```
CFLAGS += -ffunction-sections
```
which places each function in its own section seems to solve the `undefined symbol` problem during link time even though the undefined symbol and thus it's calling function remains in ELF binary
```
nm -u tests/lwip/bin/esp32-wroom-32/tests_lwip.elf
         U sys_mbox_trypost_fromisr
```
Thus the ESP32 linker behavior seems to be similar to that of other architectures.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11246#issuecomment-476718683
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190326/da6bb03f/attachment.html>


More information about the notifications mailing list