[PATCH] Fix stdio init handling
Hans-Peter Nilsson
hp@axis.com
Tue Jun 7 23:30:13 GMT 2022
> From: Sebastian Huber <sebastian.huber@embedded-brains.de>
> Date: Tue, 7 Jun 2022 08:18:49 +0200
> sorry for breaking your Newlib configuration.
(A point I tried to make was that it wasn't just "mine", but
most "*-elf" ones. A "real" CI bot for a stable *-elf
simulator target with newlib, gcc, binutils, updating only
each at a time would be nice, and JFTR, no I don't consider
mine "real".)
> Could you please try the attached
> patch?
Aha; yes it works; I regtested gcc for cris-elf as with my
patch. Thanks for attending to this. I hope the other
points I raised in my submission will eventually be handled.
> We would like to introduce a configuration option for Newlib to use
> thread-local storage for the members of struct _reent:
>
> https://sourceware.org/pipermail/newlib/2022/018855.html
Ok, I see, thanks for clarifying.
> We also would like to make the _REENT_GLOBAL_STDIO_STREAMS option the
> default Newlib behaviour:
>
> https://sourceware.org/pipermail/newlib/2022/019735.html
Thanks; FWIW, I don't have a strong opinion about that. As
long as it still works, I'm happy. (Not actually using
newlib for production here, AFAIK.)
brgds, H-P
More information about the Newlib
mailing list