[riot-notifications] [RIOT-OS/RIOT] cpu/esp8266: fix stdio problems (#12133)

Gaëtan Harter notifications at github.com
Mon Sep 2 12:06:54 CEST 2019


> > ```
> > Test: comparing addresses of 'printf' and 'iprintf' symbols
> > [FAILED] '40101cf8' != '40101cf8' is False
> > Makefile:34: recipe for target 'test-newlib' failed
> > ```
> 
> It is not clear for me why the test complains that addresses are equal. I'm a bit unsure if it would be the right way to blacklist ESP8266 for this test.
> 
> Maybe @cladmi can say more about this test and whether it is really a problem if it fails.

The goal of this test was to detect if `newlib-nano` is indeed used when requested.

I had no real idea how to do the detection so used the fact described in the
`newlib-nano` that `iprintf` is mapped to `printf`

https://github.com/RIOT-OS/RIOT/blob/d991883c5b84ae1d9d169131156edade1cd67f6f/tests/libc_newlib/Makefile#L23-L31

However, it appears that it is not a reliable condition :'(

Could it be that `esp` is using `newlib-nano` and not `newlib` ?

I will try debugging a bit.

-- 
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/12133#issuecomment-527089120
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190902/d1c7968f/attachment.htm>


More information about the notifications mailing list