From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-f178.google.com (mail-yw1-f178.google.com [209.85.128.178]) by sourceware.org (Postfix) with ESMTPS id 0D3673857C77 for ; Wed, 13 Mar 2024 16:04:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0D3673857C77 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 0D3673857C77 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=209.85.128.178 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710345843; cv=none; b=HbVD8dltAGhmaHRipQGVREODS+hItdn8FEtZdLV3xhebmYEHjnwynRu/fYEfaFwnfXu+wGiO6LDBtDtXO6P4rsOc97DwCbsBDwwSFEjDFlHormMk0zjh5A1Wwa7ju73i6qA4NBJR8z++Jz45KaHg1tiywYFCKbHhoRu6/Q//tfs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710345843; c=relaxed/simple; bh=5Xi0aQVTFtEv4ai9LHEwNc1y+gO4a/QwXN+1GoM4fNQ=; h=MIME-Version:From:Date:Message-ID:Subject:To; b=M9gPS5h2FT1f9fLwNPyteJG154THczTAxI7mo8njyfEY0j43HhSUSCkPmfRI0RC5AkgH4TXu000S6L9PgC1ZYz62FycIjvDgqRoGwBS87XmgcgxXb+pkQ1LIqQKouHngAPfgOG8TYw9LE/cWrGN0Yz8JIyHBsnJOWJSGu/jpBO0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-yw1-f178.google.com with SMTP id 00721157ae682-609f3ca61e0so67820147b3.3 for ; Wed, 13 Mar 2024 09:04:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710345840; x=1710950640; 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=GZshh7GUkW1QVX8/h4yoyuWxt7vDnBD57eA5zCOrmHc=; b=gP2wnx0rmng0FZ/gpSh9QJd751EX15mpIFCSAED7rXBAutP/C6oVXKnPRIOrllK/lg lj88UUu+CNWLUp8j5nsZEruDuns5S70shCDeaTvr9RQP+DebSTUHGYuW+MzzbBWkab0+ Z4DO+KvuxkM/3mFylW3KYemtqTZQBZQKTDJ2zo/5kv2vcRFq0/GcwHoqKsGDd7AFmaK0 DP8TKmUEUioXttRGEP/8xM623Bmpb/GnfoCnYnfx49PkH7dOMJDCjvqUJpkb3m2G6wfw EXoLmxEK7CSJuBkpENKlPV9vNINJWVX01HZwtCIzSzPFbDrg27NJGREpgNtB6dgsq0qp bR3Q== X-Gm-Message-State: AOJu0YzpTKbWusE7u/DAJB3VrwgFXXkNjDF3hC5q1c2t0XPt5jiLj22o qRtFUSgcIlisd2RezF5C/2mReFIg3V6IJBL7PxqgOyJ0qe4oU8CM0tYgP0Mb X-Google-Smtp-Source: AGHT+IG5/FgOFioYT4GiypT4pxmMeGb5AN/ZmN+p+DZ5RgXH7bcpzxo6Yif9X9rjslSj4KwsA1tfvQ== X-Received: by 2002:a81:6086:0:b0:609:651f:7573 with SMTP id u128-20020a816086000000b00609651f7573mr2720478ywb.52.1710345838801; Wed, 13 Mar 2024 09:03:58 -0700 (PDT) Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com. [209.85.219.182]) by smtp.gmail.com with ESMTPSA id p186-20020a0de6c3000000b0060a2560a4b8sm2142944ywe.50.2024.03.13.09.03.58 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 13 Mar 2024 09:03:58 -0700 (PDT) Received: by mail-yb1-f182.google.com with SMTP id 3f1490d57ef6-dcd7c526cc0so6765915276.1 for ; Wed, 13 Mar 2024 09:03:58 -0700 (PDT) X-Received: by 2002:a5b:945:0:b0:dcf:288e:21ca with SMTP id x5-20020a5b0945000000b00dcf288e21camr2555897ybq.11.1710345838296; Wed, 13 Mar 2024 09:03:58 -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:03:46 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Include FD_SETSIZE on RTEMS to 256 To: newlib@sourceware.org, Joel Sherrill , Jon Turney , Chris Johns Content-Type: multipart/alternative; boundary="000000000000228f1e06138cecb7" X-Spam-Status: No, score=-3031.1 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: --000000000000228f1e06138cecb7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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. > > > Corinna > > --000000000000228f1e06138cecb7--