public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
From: Joel Sherrill <joel@rtems.org>
To: newlib@sourceware.org, joel@rtems.org,
	 Jon Turney <jon.turney@dronecode.org.uk>,
	Chris Johns <chrisj@rtems.org>
Subject: Re: Include FD_SETSIZE on RTEMS to 256
Date: Wed, 13 Mar 2024 11:33:10 -0500	[thread overview]
Message-ID: <CAF9ehCVX4eAbAe2pgBZ73v0vACQOYiYOtENX8Ft8KEYYoPM_1w@mail.gmail.com> (raw)
In-Reply-To: <CAF9ehCUgyehgs3gsT8mbV7bZqiC5NVJ=_ge72BnGR33-s2LPZQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1347 bytes --]

On Wed, Mar 13, 2024 at 11:03 AM Joel Sherrill <joel@rtems.org> wrote:

>
>
> On Wed, Mar 13, 2024 at 10:02 AM Corinna Vinschen <vinschen@redhat.com>
> wrote:
>
>> On Mar 13 09:35, Joel Sherrill wrote:
>> > On Wed, Mar 13, 2024 at 9:21 AM Jon Turney <jon.turney@dronecode.org.uk
>> >
>> > wrote:
>> >
>> > > On 28/02/2024 23:02, Joel Sherrill wrote:
>> > > > Hi
>> > > >
>> > > > The attached patch changes FD_SETSIZE from 64 to 256 for RTEMS.
>> > > >
>> > > > Is it OK to apply?
>> > > >
>> > >
>> > > This uses the preprocessor directive '#elifdef',
>> > >
>> > > It seems like support for that was added in gcc 12.
>> > >
>> >
>> > Good catch. Unfortunately, I just pushed the posted patch just before
>> your
>> > email arrived.
>> >
>> > I have posted a small patch to change this to #elif defined(__rtems__).
>> If
>> > someone acks it, I will push it quickly to minimize who might be
>> impacted.
>>
>> You sent the wrong patch apparently.  However, if your patch just
>> changes #elifdef X to #elif defined (X), then test it with a pre-12
>> gcc and then push it.  Soon.
>>
>
> Sorry. I am building a gcc8 toolchain now to verify the change. Hopefully,
> it will not be too much longer.
>

Correction pushed and tested with gcc8 and a test program.

--joel

>
>>
>> Corinna
>>
>>

  reply	other threads:[~2024-03-13 16:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28 23:02 Joel Sherrill
2024-02-29  6:29 ` Sebastian Huber
2024-02-29  6:31   ` Sebastian Huber
2024-02-29 14:24     ` Joel Sherrill
2024-03-11 14:50       ` Joel Sherrill
2024-03-12 17:13         ` Corinna Vinschen
2024-03-13 14:21 ` Jon Turney
2024-03-13 14:35   ` Joel Sherrill
2024-03-13 15:02     ` Corinna Vinschen
2024-03-13 16:03       ` Joel Sherrill
2024-03-13 16:33         ` Joel Sherrill [this message]
2024-03-13 17:06           ` 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=CAF9ehCVX4eAbAe2pgBZ73v0vACQOYiYOtENX8Ft8KEYYoPM_1w@mail.gmail.com \
    --to=joel@rtems.org \
    --cc=chrisj@rtems.org \
    --cc=jon.turney@dronecode.org.uk \
    --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).