From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) by sourceware.org (Postfix) with ESMTPS id ED68F3857BAB for ; Wed, 13 Mar 2024 16:33:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org ED68F3857BAB Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org ED68F3857BAB Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.219.179 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710347607; cv=none; b=mlgzCiG3UrytMflKS8n915v0WWMB0wB/phMtJvOy3cgI8COlfrye1AjcnQO7t026AtZpNUZ7Mpf3O/oQaBcP5RMoJdiB5uBCJmGwp9Cj1JtUk/f2SnqkVMEwko6h27QaND966CIf17qweJPqNh4jn1ORjJZ3K2fITquKokTe+/U= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710347607; c=relaxed/simple; bh=3w3wBIaXCw6VSH4Voz9AYYZlCUhOVnd+ZbOQTI58wPE=; h=MIME-Version:From:Date:Message-ID:Subject:To; b=JutpTfDwrnmraeJL7SLGO5Esm+DWUFOPm1TGj8AaH+ZpsOS4sWrdcYNvuMnfjeDpSluS1Qr8y8TucRXWYB5ygAutB66a6pJfafyTcU15R778IUWzMwWOUzHLZUZHmQlhvE0qgDd4ePVWJwZwT3XvB5lyplUMEi7z3zs4iXMofCo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yb1-f179.google.com with SMTP id 3f1490d57ef6-dc25e12cc63so1081555276.0 for ; Wed, 13 Mar 2024 09:33:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710347603; x=1710952403; h=to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AVlPwZ3wvoMb8jfOZTr8h8uUGI6f43zc+wK5iucppdA=; b=rXxYPzwLjX0VBALQLVcsgCS04ynKzv7Wk05dbUe0M0sKnWmq3eZBpAliP9mKB07AIV Qsev8hBcR173v5OB+dDa40iC6sq/moEcffusrsDuqMvs3jSfaUZMVSXbzfwuHtUahCK/ ageGpGedNz5j5/1+SuoP7lxcaULRq2doDkOLm2j6LmtoZqw5Il32x7H//WnrCSa+wonh pH+rtSibWebcZXgaytF2kjThUgRHtNVnFQ5dxuSfXSvjndGjUgLAcHsIQq8Ir1PnuXRn hRwsBCJJHTtUgyyj6TI3CE2w++nFfUGNJvLiDUZ/2HjY4/1hVw7qR8gk2i48IrVXffJQ j6dg== X-Gm-Message-State: AOJu0Yx7HUEKdj//HwGLWptoE2AvFq2o1y5mZA20QJUvgb55eSOtK0GO +d/NJwRYB4cvRDyzNcr7VdL+EeXlGIalfOi4Lhc6Xn/wxE/YW/MTF9BqW7vE X-Google-Smtp-Source: AGHT+IF1X0W/eWRqz26GNNYLGaNG6eNC/O3R04Xjl6pZGEssEj25D4UkNPFjRpnvv23Vk075saibkQ== X-Received: by 2002:a25:660e:0:b0:dc2:23b1:eaef with SMTP id a14-20020a25660e000000b00dc223b1eaefmr1982429ybc.18.1710347603098; Wed, 13 Mar 2024 09:33:23 -0700 (PDT) Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com. [209.85.128.177]) by smtp.gmail.com with ESMTPSA id v13-20020a25848d000000b00d677aec54ffsm2003663ybk.60.2024.03.13.09.33.22 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Mar 2024 09:33:22 -0700 (PDT) Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-60a0a54869bso686097b3.1 for ; Wed, 13 Mar 2024 09:33:22 -0700 (PDT) X-Received: by 2002:a81:e709:0:b0:60a:f3e:9474 with SMTP id x9-20020a81e709000000b0060a0f3e9474mr2307338ywl.17.1710347602461; Wed, 13 Mar 2024 09:33:22 -0700 (PDT) MIME-Version: 1.0 References: <9514182a-f513-4296-8178-43b5274abb7f@dronecode.org.uk> In-Reply-To: Reply-To: joel@rtems.org From: Joel Sherrill Date: Wed, 13 Mar 2024 11:33:10 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Include FD_SETSIZE on RTEMS to 256 To: newlib@sourceware.org, joel@rtems.org, Jon Turney , Chris Johns Content-Type: multipart/alternative; boundary="00000000000049950606138d552e" X-Spam-Status: No, score=-3031.2 required=5.0 tests=BAYES_00,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,KAM_DMARC_STATUS,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --00000000000049950606138d552e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Mar 13, 2024 at 11:03=E2=80=AFAM Joel Sherrill wro= te: > > > On Wed, Mar 13, 2024 at 10:02=E2=80=AFAM Corinna Vinschen > wrote: > >> On Mar 13 09:35, Joel Sherrill wrote: >> > On Wed, Mar 13, 2024 at 9:21=E2=80=AFAM Jon Turney > > >> > 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 >> >> --00000000000049950606138d552e--