[riot-notifications] [RIOT-OS/RIOT] cpu/esp: treat undefined reference as errors (#11246)
notifications at github.com
Tue Mar 26 12:02:53 CET 2019
gschorcht commented on this pull request.
> @@ -131,7 +131,6 @@ endif
LINKFLAGS += -T$(RIOTCPU)/$(CPU)/ld/eagle.rom.addr.v6.ld
LINKFLAGS += -nostdlib -lgcc -u ets_run -Wl,-gc-sections # -Wl,--print-gc-sections
-LINKFLAGS += -Wl,--warn-unresolved-symbols
The cause of undefined references to `pthread_setcancelstate` is a quite weird. It happens for all applications where the `pthread` module is used. For ESP32, the `pthread` module is activated automatically whenever the `core_thread_flags` module is used.
What I don't understand is that these undefined references happen although the `pthread` module provides a defined symbol `pthread_setcancelstate` even though the function is only a dummy function which does nothing.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications