From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-f175.google.com (mail-qt1-f175.google.com [209.85.160.175]) by sourceware.org (Postfix) with ESMTPS id BFA123857C67 for ; Wed, 25 Aug 2021 19:13:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BFA123857C67 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-f175.google.com with SMTP id u21so365421qtw.8 for ; Wed, 25 Aug 2021 12:13:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+B9QpOP/wTBIREJerA/PN7sCj0pjk70yMSA67WQfM64=; b=KDNS1C4VvVIMtXwrDdAMjbdyv3acbMz1Vy6/MqVJnydwow0AV9YPm6pUloMt1mHFkV 2hU0tf0ZAJkCw4dOUYiwk2iTF1skUFBlZ2ZoTRcQD4SdiiQWGZ4O3WO4wlA86zcUn/yF U1hgO1rjNpmg3aHleMgXM8gatxKN0v8Lhi2y17lIDOfMgUdvZVvxoHnoEpZITon3OsrN WFW1erUx13FaYBgYML0wD0tvPz+jLd7Ca9daxfWcR1tOSXm+WORVtXKkcUNlzx6diZME mn0uOjfx5za7yGB1gMFs7/B3dUwmh+GiuxLzgioRlVVu0f2nd/LawhPaVbqOhSYqvtqQ TeZg== X-Gm-Message-State: AOAM530W9hCAKmH8y13QJDRo1YdnZqmr/OXQEBAFqKP/Z9tTm0cLAfxQ M0PXOYA9vz1QSGqwRFN4SAm9Qlsudyk= X-Google-Smtp-Source: ABdhPJznbABB9YK1TITC88vXod5TMSKh78umPB7NIjTtIZHgLQpd7cNcMMll+uD/O6TpPbG/IneuBw== X-Received: by 2002:a05:622a:1815:: with SMTP id t21mr39312186qtc.27.1629918793881; Wed, 25 Aug 2021 12:13:13 -0700 (PDT) Received: from devel.oarcorp.com (d27-96-189-151.evv.wideopenwest.com. [96.27.151.189]) by smtp.gmail.com with ESMTPSA id b21sm396431qte.38.2021.08.25.12.13.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Aug 2021 12:13:13 -0700 (PDT) From: Joel Sherrill To: newlib@sourceware.org Subject: [PATCH newlib 0/1] sys/signal.h needs sys/_intsup.h Date: Wed, 25 Aug 2021 14:12:44 -0500 Message-Id: <20210825191245.30049-1-joel@rtems.org> X-Mailer: git-send-email 2.24.4 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3033.0 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2021 19:13:15 -0000 Hi The recent addition of the sig2str block of code for definitions and prototypes resulted in the following one line program not compiling for RTEMS targets: #include Turned out that __STDINT_EXP used to conditionalize the definition of SIG2STR_MAX isn't defined unless is included. I guess the test code got lucky. It's a simple patch that needed more background and investigation than code. Is it safe to assume that including each POSIX and Standard C Library file independently should compile? If so, I will file a ticket to at least at those to the RTEMS compile only tests like the ones we have that check a method can be used per the specific includes in the POSIX specification. Sorry this slipped through. --joel Joel Sherrill (1): sys/signal.h: is needed for __STDINT_EXP newlib/libc/include/sys/signal.h | 4 ++++ 1 file changed, 4 insertions(+) -- 2.24.4