public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: newlib@sourceware.org
Subject: Re: Problem with recent change to getlocalename_l
Date: Mon, 5 Feb 2024 10:39:47 +0100	[thread overview]
Message-ID: <ZcCs44ugXjdu9_vt@calimero.vinschen.de> (raw)
In-Reply-To: <c323e247-a046-4c59-aa9f-cfe4ddd17437@gmail.com>

On Feb  4 19:39, Jeff Law wrote:
> On 2/4/24 12:34, Dimitar Dimitrov wrote:
> > On Thu, Feb 01, 2024 at 08:44:32PM +0100, Corinna Vinschen wrote:
> > > On Feb  1 20:11, Corinna Vinschen wrote:
> > > > No, wait.
> > > > 
> > > > On Feb  1 20:00, Corinna Vinschen wrote:
> > > > > Given that this new functionality needs a 32 byte buffer, and given that
> > > > > _REENT_SMALL targets are... well... small, I made the new buffer
> > > > > optional via `#ifdef _MB_CAPABLE' in struct _misc_reent, which only used
> > > > > by _REENT_SMALL targets.
> > > > > 
> > > > > Apparently I missed to take the _REENT_CHECK_MISC expression into account.
> > > > > AFAICS the culprit is the _REENT_INIT_MISC macro now.
> > > > > 
> > > > > Can you please check if this change fixes the problem?
> > > > 
> > > > Try this one instead, please:
> > > 
> > > Sorry, I suddenly realized that I screwed up the name of the new member
> > > as well.  Sigh.
> > > 
> > > Please try this one, it's also much simpler:
> [ ... ]
> 
> 
> > > 
> > 
> > Hi,
> > 
> > This fixes the build for pru-unknown-elf, and there are no regressions
> > when running the GCC and newlib testsuites.
> Yea, that worked for me as well.  All the usual crosses built and passed
> with the exception of rl78, but I don't think that's a newlib problem, it's
> more likely a compiler issue.
> 
> Thanks for the testing Corinna's patch too!
> 
> jeff

Thanks for testing guys, I pushed the patch.


Corinna


  reply	other threads:[~2024-02-05  9:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-01 16:39 Jeff Law
2024-02-01 19:00 ` Corinna Vinschen
2024-02-01 19:11   ` Corinna Vinschen
2024-02-01 19:44     ` Corinna Vinschen
2024-02-04 19:34       ` Dimitar Dimitrov
2024-02-05  2:39         ` Jeff Law
2024-02-05  9:39           ` Corinna Vinschen [this message]
2024-02-01 20:55     ` Torbjorn SVENSSON
2024-02-01 21:55       ` Corinna Vinschen

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=ZcCs44ugXjdu9_vt@calimero.vinschen.de \
    --to=vinschen@redhat.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).