public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Sebastian Huber <sebastian.huber@embedded-brains.de>
To: Hans-Peter Nilsson <hp@axis.com>, newlib@sourceware.org
Subject: Re: [PATCH] Fix stdio init handling
Date: Tue, 7 Jun 2022 21:31:48 +0200	[thread overview]
Message-ID: <7ecaf27b-8ac8-6e3a-7ec8-fd8e77f02d71@embedded-brains.de> (raw)
In-Reply-To: <5ee6a38c-d7f5-ed62-970d-b25aedee3a25@embedded-brains.de>

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/

  reply	other threads:[~2022-06-07 19:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-06 18:20 Hans-Peter Nilsson
2022-06-06 20:16 ` Jeff Johnston
2022-06-07  6:21   ` Sebastian Huber
2022-06-07 14:47     ` Jeff Johnston
2022-06-07  6:05 ` Torbjorn SVENSSON
2022-06-07 14:40   ` Hans-Peter Nilsson
2022-06-07  6:18 ` Sebastian Huber
2022-06-07 19:31   ` Sebastian Huber [this message]
2022-06-07 23:30   ` Hans-Peter Nilsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7ecaf27b-8ac8-6e3a-7ec8-fd8e77f02d71@embedded-brains.de \
    --to=sebastian.huber@embedded-brains.de \
    --cc=hp@axis.com \
    --cc=newlib@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).