From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-f181.google.com (mail-qt1-f181.google.com [209.85.160.181]) by sourceware.org (Postfix) with ESMTPS id AED223858D20 for ; Fri, 2 Dec 2022 17:19:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AED223858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rtems.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qt1-f181.google.com with SMTP id fz10so6077366qtb.3 for ; Fri, 02 Dec 2022 09:19:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=7YDP78R6etmpdWIeS4lh1LiqIpZY5/sHGVkbMhU5FG4=; b=TTVPwctVIVBrtI/FXlTcPYUhck5/LeddfnhYzOK4zdPkw13hKfhQLal5lwk2Pop6si fUoK5EPzMhQw6nmSJ4UNPqx0cpM1ti5V/kJVR8X8tBClbXJ8zz77abdH1+y5Idg3/5PC Ko/HVkf6wa86XiEmYo+U75xGyjHYA5KbMQ5qtWM5MpVF7qaXPqA4r6L8AmBfNjU+93S4 kahmvuHhf8zqQo40aST1VrMt83FmE9A+uSoP15IshGyOTVfphDw/yIzICqhMPjvLB3a1 iC5sg42lyjHWTZ8eyRW+MyQNDxhbJPt+ikjToPMoyzFSkvYoYlrJfaun3VVy2R9v8Iqf 9b0A== X-Gm-Message-State: ANoB5pmr6CY3G+TlMAMF1UuUT1hiWjnvVJdhlY8y4Rz19FPkq66q266m 9tFIzJNeh045jL1AqbU/a5v8PLSGz68= X-Google-Smtp-Source: AA0mqf4/y+RycoUL5aOonANi0azC1rYbCGFKh4XnnAH8fWC1DI0uj4E9IBvsUdVjLY0POlzliRj7yA== X-Received: by 2002:a05:620a:204a:b0:6fc:a8ad:cd72 with SMTP id d10-20020a05620a204a00b006fca8adcd72mr6331583qka.133.1670001567764; Fri, 02 Dec 2022 09:19:27 -0800 (PST) Received: from mail-yw1-f171.google.com (mail-yw1-f171.google.com. [209.85.128.171]) by smtp.gmail.com with ESMTPSA id c11-20020ac8660b000000b003a586888a20sm3200401qtp.79.2022.12.02.09.19.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 02 Dec 2022 09:19:27 -0800 (PST) Received: by mail-yw1-f171.google.com with SMTP id 00721157ae682-3b56782b3f6so55025927b3.13 for ; Fri, 02 Dec 2022 09:19:27 -0800 (PST) X-Received: by 2002:a81:7844:0:b0:3c8:cd0e:87d6 with SMTP id t65-20020a817844000000b003c8cd0e87d6mr23324969ywc.272.1670001567091; Fri, 02 Dec 2022 09:19:27 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: joel@rtems.org From: Joel Sherrill Date: Fri, 2 Dec 2022 11:19:15 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Adding aio.h and mqueue.h To: Newlib , Joel Sherrill , Jeff Johnston Content-Type: multipart/alternative; boundary="0000000000002e55e905eedb8ab6" X-Spam-Status: No, score=-3031.6 required=5.0 tests=BAYES_00,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP 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: --0000000000002e55e905eedb8ab6 Content-Type: text/plain; charset="UTF-8" On Fri, Dec 2, 2022, 11:10 AM Corinna Vinschen wrote: > On Dec 2 08:15, Joel Sherrill wrote: > > On Fri, Dec 2, 2022 at 4:07 AM Corinna Vinschen > wrote: > > > > > On Dec 1 18:22, Jeff Johnston wrote: > > > > As long as the licensing is shared-newlib-compatible (non-GPL), it > should > > > > be ok. > > > > > > > > -- Jeff J. > > > > > > Cygwin already comes with aio.h and mqueue.h headers. > > > > > > Ideally they are reused for newlib, or the new aio.h/mqueue.h headers > > > are checked that they provide the same definitions and replace the > > > Cygwin-only ones. > > > > > > > OK. So the same defines with the same values? Anything cygwin specific > > goes into an ifdef, etc. I vaguely recall doing this before for other > > header files. > > There shouldn't be much Cygwin-specifc in these files and they are quite > short. Please check the Cygwin files against the files from RTEMS. > Maybe it makes sense to use them instead and just add the (minor) > differences to Cygwin. If the types used have the same size and the > same signedness, there shouldn't be much of a problem anyway. > > However, I'd like to defer this by a few days or weeks. We're just > in the beta phase for Cygwin 3.4, and I would rather have stable > headers for now : > We are also trying to get ready for a release branch. I think I'll push our tickets to a new milestone. That seems to be better for both projects. With any luck, I can revisit the long double code around then also. > > > Thanks, > Corinna > > --0000000000002e55e905eedb8ab6--