[PATCH] Fix stdio init handling

Sebastian Huber sebastian.huber@embedded-brains.de
Tue Jun 7 19:31:48 GMT 2022


On 07/06/2022 08:18, Sebastian Huber wrote:
> Hello Hans-Peter,
> 
> sorry for breaking your Newlib configuration. I was able to reproduce 
> the issue in RTEMS with a corresponding configuration. The problem 
> didn't show up in our tests since in RTEMS __getreent() returns a 
> thread-specific reentrancy structure. With
> 
> struct _reent *
> __getreent (void)
> {
>    return _impure_ptr;
> }
> 
> your test case reproduced the issue. Could you please try the attached 
> patch?

I checked in my attempt to fix this issue:

https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;h=14fc9be2349259ed4754457775ab4a14069395c5

Please let me know if you still have problems.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the Newlib mailing list