Re: [PATCH] Fix stdio init handling

Hans-Peter Nilsson <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
> From: Sebastian Huber <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.