| Message ID | 20251003214956.2996271-1-joel@rtems.org |
|---|---|
| State | New |
| Headers |
Return-Path: <newlib-bounces~patchwork=sourceware.org@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5196F3857B91 for <patchwork@sourceware.org>; Fri, 3 Oct 2025 21:50:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5196F3857B91 X-Original-To: newlib@sourceware.org Delivered-To: newlib@sourceware.org Received: from mail-yx1-f45.google.com (mail-yx1-f45.google.com [74.125.224.45]) by sourceware.org (Postfix) with ESMTPS id E7B663858D33 for <newlib@sourceware.org>; Fri, 3 Oct 2025 21:50:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E7B663858D33 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 E7B663858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=74.125.224.45 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1759528225; cv=none; b=ILgVQaWDMAiHmg9vbxmeFrYb/fyWlq2yFhwWsQJaugB2+eUsuJtr1lzZD0aSkPDlCTg3Qk36sbobTInQlAJhqjNtojy4OHlaKGybH9nG9KGICqlIRK+0BFEkzz+dBCvdMO3RQTDdV3LO3QMft6CRVpkVwX6mKxnisbI36nz+BG0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1759528225; c=relaxed/simple; bh=JDQiV/sg91p2+ZYBqitWOaItCo0IHqFWXChwEZjvbH0=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=WXk2QBx9AUg7RpM+pfv86Fs30uCPPBOnDw9Lwc9I47R5GOT6SaWZfDc7NUE5oofA99PCwUo9yTC6LYlWdGO5qTmSQCIETO1C8s5n6++YvxqW2jpYy4e3sWzHxKvDtDkUI4SNtVdFe9BvTAmyckIs+bdH9HWejcX+l0D38sOmZ2M= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E7B663858D33 Received: by mail-yx1-f45.google.com with SMTP id 956f58d0204a3-6348447d5easo2932601d50.0 for <newlib@sourceware.org>; Fri, 03 Oct 2025 14:50:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759528224; x=1760133024; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gicK1qjGIuVab95VZK+iEn4dOwku7SM4c7scRQLVuSE=; b=vs/pTBpcFN3Qpp1aJXEL0lsZ0/6cjaLAVVKJdJcUnNHIW2uMoj4ob+I24JG2jltx33 fCbesNKHR0BY5j8bGFctZEigvVAR2sGEal7JdIrRra9ftqZuGDe9J98abT3PbrqJE5pW 6ZNOWWgW5Ine51PaDjvFAv7Egtg/nXVdlKQV0FOMj5WTy5no+YQhpgcf6AAF6BuiHhN5 ciYu30ZfO2ZJcXo3et5cMUzk6sTNMSd6HfICtqPj2G1670B+jMLO/SI9ehldQO8HFAFx apZO86qK1zRaKIIhsm/Y6JNSM7LmyLxnLBsJ4o2ZMmTud62Oqpl2q8aTYEITliz5QSo6 Ax7w== X-Gm-Message-State: AOJu0YyPMAm59u6SKeKfEStXINro8MJwtzoWMRwUZaa3WE4LfylAS28a NkXP+T5Y6P+bs+4qSRGWgA2gCASTHVnQ5zyFPYAgSooOqGX6Cdv2LR6hZX6uug== X-Gm-Gg: ASbGncv9wICKyfQI3H3TYii8RNcgHZGoBZt4q1i2hDOBVh95rZmxDn318IEcm3nvoyu hEp5RSzd6+eZNTzz+88P/ZwUhp8LcVim0AkAdcWvYv6e8nqs1E1b/4v7U9YGY1+hYykMCrBdRkH 1zFp5k4jXlzLLMREo2iUe8H06k0J6oHd0NsV2kPa8l6YF9OB16GnwWpWsHx8l+p21NytlOgoCB5 ybAqhslB3uNPUKGY6prFgIQOL6CSJ8Af2pP9hvC1mDKzplizg5CfM+Z6Nz7V8GD8ljNXsciT9/D TduMVNhPJNqZ2H9zjWpn43HnXys+IICFUNBAwN6lola7TqX0PPjrdRxhvpMM09KHYevXYxBcMir cwV6v5yhhg8P3/O1nv5FvLFnT6gJyHYmfF4RROhBHcnLDMmXkEJf9BmLOZ9TiWbJvpWn+mBSMMr ojZfEj7NjieA== X-Google-Smtp-Source: AGHT+IEHaC4Ub53ZE0e3IXXNQ9aMuJ92ZfMFcsOpCEavq7tfA5gQxG85ihPtsGaKS7xxnV5yY1q+KQ== X-Received: by 2002:a53:bbc6:0:b0:636:bd92:b253 with SMTP id 956f58d0204a3-63b9a10da43mr2980054d50.53.1759528223896; Fri, 03 Oct 2025 14:50:23 -0700 (PDT) Received: from gitlab.oarcorp.com (d27-96-189-151.evv.wideopenwest.com. [96.27.151.189]) by smtp.gmail.com with ESMTPSA id 956f58d0204a3-63b846a9a76sm2059709d50.28.2025.10.03.14.50.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Oct 2025 14:50:23 -0700 (PDT) From: Joel Sherrill <joel@rtems.org> To: newlib@sourceware.org Cc: Joel Sherrill <joel@rtems.org> Subject: [PATCH] newlib/libc/include/sys/features.h: Update RTEMS section Date: Fri, 3 Oct 2025 16:49:56 -0500 Message-ID: <20251003214956.2996271-1-joel@rtems.org> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3035.2 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Newlib mailing list <newlib.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/newlib>, <mailto:newlib-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/newlib/> List-Post: <mailto:newlib@sourceware.org> List-Help: <mailto:newlib-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/newlib>, <mailto:newlib-request@sourceware.org?subject=subscribe> Errors-To: newlib-bounces~patchwork=sourceware.org@sourceware.org |
| Series |
newlib/libc/include/sys/features.h: Update RTEMS section
|
|
Commit Message
Joel Sherrill
Oct. 3, 2025, 9:49 p.m. UTC
The RTEMS section defined macros for features RTEMS does not have. --- newlib/libc/include/sys/features.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-)
Comments
This was posted Oct 3 and has no feedback. OK to commit? Thanks. --joel On Fri, Oct 3, 2025 at 4:50 PM Joel Sherrill <joel@rtems.org> wrote: > The RTEMS section defined macros for features RTEMS does not have. > --- > newlib/libc/include/sys/features.h | 15 +++++++++------ > 1 file changed, 9 insertions(+), 6 deletions(-) > > diff --git a/newlib/libc/include/sys/features.h > b/newlib/libc/include/sys/features.h > index 325acdf5f..2a5da45ab 100644 > --- a/newlib/libc/include/sys/features.h > +++ b/newlib/libc/include/sys/features.h > @@ -366,18 +366,21 @@ extern "C" { > # define __SSP_FORTIFY_LEVEL 0 > #endif > > -/* RTEMS adheres to POSIX -- 1003.1b with some features from annexes. */ > +/* > + * RTEMS adheres to POSIX -- 1003.1b with some features from annexes. > + * Unsupported features are commented out. > + */ > > #ifdef __rtems__ > -#define _POSIX_JOB_CONTROL 1 > -#define _POSIX_SAVED_IDS 1 > +/* #define _POSIX_JOB_CONTROL 1 */ > +/* #define _POSIX_SAVED_IDS 1 */ > #define _POSIX_VERSION 199309L > #define _POSIX_ASYNCHRONOUS_IO 1 > #define _POSIX_FSYNC 1 > #define _POSIX_MAPPED_FILES 1 > -#define _POSIX_MEMLOCK 1 > -#define _POSIX_MEMLOCK_RANGE 1 > -#define _POSIX_MEMORY_PROTECTION 1 > +/* #define _POSIX_MEMLOCK 1 */ > +/* #define _POSIX_MEMLOCK_RANGE 1 */ > +/* #define _POSIX_MEMORY_PROTECTION 1 */ > #define _POSIX_MESSAGE_PASSING 1 > #define _POSIX_MONOTONIC_CLOCK 200112L > #define _POSIX_CLOCK_SELECTION 200112L > -- > 2.47.3 > >
This was posted on Oct 3 and there has been no feedback. OK to commit? Also https://sourceware.org/pipermail/newlib/2025/022120.html is v3 of a patch to setjmp.h. v3 was also posted on 3 Oct. I hope everyone is doing well. This delay is not usual for newlib. Thanks. --joel On Mon, Oct 13, 2025 at 2:08 PM Joel Sherrill <joel@rtems.org> wrote: > This was posted Oct 3 and has no feedback. OK to commit? > > Thanks. > > --joel > > On Fri, Oct 3, 2025 at 4:50 PM Joel Sherrill <joel@rtems.org> wrote: > >> The RTEMS section defined macros for features RTEMS does not have. >> --- >> newlib/libc/include/sys/features.h | 15 +++++++++------ >> 1 file changed, 9 insertions(+), 6 deletions(-) >> >> diff --git a/newlib/libc/include/sys/features.h >> b/newlib/libc/include/sys/features.h >> index 325acdf5f..2a5da45ab 100644 >> --- a/newlib/libc/include/sys/features.h >> +++ b/newlib/libc/include/sys/features.h >> @@ -366,18 +366,21 @@ extern "C" { >> # define __SSP_FORTIFY_LEVEL 0 >> #endif >> >> -/* RTEMS adheres to POSIX -- 1003.1b with some features from annexes. */ >> +/* >> + * RTEMS adheres to POSIX -- 1003.1b with some features from annexes. >> + * Unsupported features are commented out. >> + */ >> >> #ifdef __rtems__ >> -#define _POSIX_JOB_CONTROL 1 >> -#define _POSIX_SAVED_IDS 1 >> +/* #define _POSIX_JOB_CONTROL 1 */ >> +/* #define _POSIX_SAVED_IDS 1 */ >> #define _POSIX_VERSION 199309L >> #define _POSIX_ASYNCHRONOUS_IO 1 >> #define _POSIX_FSYNC 1 >> #define _POSIX_MAPPED_FILES 1 >> -#define _POSIX_MEMLOCK 1 >> -#define _POSIX_MEMLOCK_RANGE 1 >> -#define _POSIX_MEMORY_PROTECTION 1 >> +/* #define _POSIX_MEMLOCK 1 */ >> +/* #define _POSIX_MEMLOCK_RANGE 1 */ >> +/* #define _POSIX_MEMORY_PROTECTION 1 */ >> #define _POSIX_MESSAGE_PASSING 1 >> #define _POSIX_MONOTONIC_CLOCK 200112L >> #define _POSIX_CLOCK_SELECTION 200112L >> -- >> 2.47.3 >> >>
Please go ahead Joel. Sorry for the delays. The V3 patch had so many comments before I was waiting for a response that it was ok, but then forgot about it. Corinna is on PTO. Regards, -- Jeff J. On Tue, Oct 28, 2025 at 11:36 AM Joel Sherrill <joel@rtems.org> wrote: > This was posted on Oct 3 and there has been no feedback. OK to commit? > > Also https://sourceware.org/pipermail/newlib/2025/022120.html is v3 of a > patch to setjmp.h. v3 was also posted on 3 Oct. > > I hope everyone is doing well. This delay is not usual for newlib. > > Thanks. > > --joel > > On Mon, Oct 13, 2025 at 2:08 PM Joel Sherrill <joel@rtems.org> wrote: > >> This was posted Oct 3 and has no feedback. OK to commit? >> >> Thanks. >> >> --joel >> >> On Fri, Oct 3, 2025 at 4:50 PM Joel Sherrill <joel@rtems.org> wrote: >> >>> The RTEMS section defined macros for features RTEMS does not have. >>> --- >>> newlib/libc/include/sys/features.h | 15 +++++++++------ >>> 1 file changed, 9 insertions(+), 6 deletions(-) >>> >>> diff --git a/newlib/libc/include/sys/features.h >>> b/newlib/libc/include/sys/features.h >>> index 325acdf5f..2a5da45ab 100644 >>> --- a/newlib/libc/include/sys/features.h >>> +++ b/newlib/libc/include/sys/features.h >>> @@ -366,18 +366,21 @@ extern "C" { >>> # define __SSP_FORTIFY_LEVEL 0 >>> #endif >>> >>> -/* RTEMS adheres to POSIX -- 1003.1b with some features from annexes. >>> */ >>> +/* >>> + * RTEMS adheres to POSIX -- 1003.1b with some features from annexes. >>> + * Unsupported features are commented out. >>> + */ >>> >>> #ifdef __rtems__ >>> -#define _POSIX_JOB_CONTROL 1 >>> -#define _POSIX_SAVED_IDS 1 >>> +/* #define _POSIX_JOB_CONTROL 1 */ >>> +/* #define _POSIX_SAVED_IDS 1 */ >>> #define _POSIX_VERSION 199309L >>> #define _POSIX_ASYNCHRONOUS_IO 1 >>> #define _POSIX_FSYNC 1 >>> #define _POSIX_MAPPED_FILES 1 >>> -#define _POSIX_MEMLOCK 1 >>> -#define _POSIX_MEMLOCK_RANGE 1 >>> -#define _POSIX_MEMORY_PROTECTION 1 >>> +/* #define _POSIX_MEMLOCK 1 */ >>> +/* #define _POSIX_MEMLOCK_RANGE 1 */ >>> +/* #define _POSIX_MEMORY_PROTECTION 1 */ >>> #define _POSIX_MESSAGE_PASSING 1 >>> #define _POSIX_MONOTONIC_CLOCK 200112L >>> #define _POSIX_CLOCK_SELECTION 200112L >>> -- >>> 2.47.3 >>> >>>
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h index 325acdf5f..2a5da45ab 100644 --- a/newlib/libc/include/sys/features.h +++ b/newlib/libc/include/sys/features.h @@ -366,18 +366,21 @@ extern "C" { # define __SSP_FORTIFY_LEVEL 0 #endif -/* RTEMS adheres to POSIX -- 1003.1b with some features from annexes. */ +/* + * RTEMS adheres to POSIX -- 1003.1b with some features from annexes. + * Unsupported features are commented out. + */ #ifdef __rtems__ -#define _POSIX_JOB_CONTROL 1 -#define _POSIX_SAVED_IDS 1 +/* #define _POSIX_JOB_CONTROL 1 */ +/* #define _POSIX_SAVED_IDS 1 */ #define _POSIX_VERSION 199309L #define _POSIX_ASYNCHRONOUS_IO 1 #define _POSIX_FSYNC 1 #define _POSIX_MAPPED_FILES 1 -#define _POSIX_MEMLOCK 1 -#define _POSIX_MEMLOCK_RANGE 1 -#define _POSIX_MEMORY_PROTECTION 1 +/* #define _POSIX_MEMLOCK 1 */ +/* #define _POSIX_MEMLOCK_RANGE 1 */ +/* #define _POSIX_MEMORY_PROTECTION 1 */ #define _POSIX_MESSAGE_PASSING 1 #define _POSIX_MONOTONIC_CLOCK 200112L #define _POSIX_CLOCK_SELECTION 200112L