From patchwork Fri Jul 21 21:22:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Paul M. Bendixen" X-Patchwork-Id: 124105 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9010:0:b0:3e4:2afc:c1 with SMTP id l16csp473118vqg; Fri, 21 Jul 2023 14:24:27 -0700 (PDT) X-Google-Smtp-Source: APBJJlHKvIg82caM5KgXUYvcQX7PO0rv0feBXF2RmRcxSe6Ivw0CZQUkczhPgakYFeq/3kv9U834 X-Received: by 2002:a2e:8813:0:b0:2b7:33b9:8809 with SMTP id x19-20020a2e8813000000b002b733b98809mr2438880ljh.16.1689974667250; Fri, 21 Jul 2023 14:24:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689974667; cv=none; d=google.com; s=arc-20160816; b=enam9JRqFzhEmyznLHDyTf3DDzqV4SthTeghhLokXTZvAgpT/4u1zUG1sfbTna6pAG MkEj1nXoQ8i0YVs3WSiR4anGwygilGHTjqB3C6bG74xg3JFbsx0LtA7ugR9Sqyofhfuv AvNdYueRHt19EqurY/FGTA9nUiodvh3y1Ryv0UidEplgKiWOnmQ5g3Y10fZf6HyRd+wc vIFZD2R0GAOHnch7jV9rYuMPqpy+GiamiqKjsKZcugmI9PwxMHNsaTEoztmhM8YW7gnF ypeCVRFH+nC4CV/gvak/Eyhwfh4bGoEhK6FJEWJHQq+PYNxN9gD8LI6e834ijFuh2RQB Z7zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:to:subject :message-id:date:mime-version:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=Grfx4WcSRTk7d4lOHkSTrACnOx9C773mvZnKQLGC6Xo=; fh=L7enuc4jADz0foYM/Eyk58xCLXDe3Mky0lxfHiOWktU=; b=VWdlCktW0w6iZu/0PQW2bc3GrkmpBKnk5SlhBMdqp5ytB3ow58dSxP5d2OwBotLbw8 wd8m7F+v+hFoTd7QhYt1FQxoiV34sPTKpulw+M5KbkjNqxbFpqRY8C5naviwLmGPek0o rgG/bs7Pa6hSeEjmzxiqtmWOcS1p6o3SzrDC8pOyHsaAIqgnwBNeDugK1le+vBtwgFoq YWkR3YxJRsyQqcdK2PvzpUv6HTXDw9IUmtxFOS2xecAMndtervzBexPbRsZ0nl+pW+// SGLSEbRq+bD04tf+xHYRtKtBAbp0gLaJvAiAL/C4fFvHQqH0HjXShBSV49o7GJU3DgkV mQWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=KrScMXoy; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id o1-20020a170906288100b00965a6d6b536si2651817ejd.335.2023.07.21.14.24.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jul 2023 14:24:27 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=KrScMXoy; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 515EB386C5BD for ; Fri, 21 Jul 2023 21:23:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 515EB386C5BD DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1689974630; bh=Grfx4WcSRTk7d4lOHkSTrACnOx9C773mvZnKQLGC6Xo=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=KrScMXoy/8EqaQW8dIyHGFcN5US2OBF6XTcoMY6Wpnupi0MnjrmJddKFTpy3t6mT+ qOONXtBoIYwIk7AB6/q3E06dhBzq8FldvknY2RXLIpNy4eIftP7czHejGAyVf1D5e7 uX6pDKCcB5n3r+AilUN8Wrm7k8S6TAc4BGMCFgO0= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by sourceware.org (Postfix) with ESMTPS id B55A1385DC0C; Fri, 21 Jul 2023 21:23:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B55A1385DC0C Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-4fba1288bbdso3893064e87.1; Fri, 21 Jul 2023 14:23:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689974580; x=1690579380; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vkEFXORtHV5PT+wegLtZ8iIpd+EaKY6vegAU1nd5oN0=; b=UninVSIBhLWwuEAc/WZm8g885QAT2003L4f42dXFfogkzBZG+zjswfgvl/R8DwBaog L1EZmZea4Y0WHejoK39jKD3XKJ+MuLn2aRpPHWRvleuORrUZXYdGmVd+bUcndgmqI1GU Hf3CdKfgBPm84KoNp5mGAdMeOFQelvZ7vp4K8vJoGN7E5/Vs2RBUEs+4eY68VuvAiYXp /dz93bGN54v0ymmtHNVgS95VIjaCQbxshdCLpUIF5aAaNRnnX2mXW7JWgv4SvvbDdjkF zGrH61s/SQ/Mr52/8SsZ6Nqxa2rQvu4bX42qWBPFvLACRNHnsRfLHl+MaaNTfgxGikUd TX4w== X-Gm-Message-State: ABy/qLbGplkflfv7SIziEN3SqZ6dak3nrrI/xCdCIj/eMDpMC4Ti5rGX WhET9HjY+tKlyYLJMzsdyhfGOpTioHurvasjICHa+Z2lEXo= X-Received: by 2002:ac2:4569:0:b0:4fb:fe97:5e35 with SMTP id k9-20020ac24569000000b004fbfe975e35mr2094086lfm.47.1689974580168; Fri, 21 Jul 2023 14:23:00 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 21 Jul 2023 23:22:48 +0200 Message-ID: Subject: [PATCH] libstdc++ Add cstdarg to freestanding To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org X-Spam-Status: No, score=-9.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: "Paul M. Bendixen via Gcc-patches" From: "Paul M. Bendixen" Reply-To: "Paul M. Bendixen" Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1772066876509963789 X-GMAIL-MSGID: 1772066876509963789 P1642 includes the header cstdarg to the freestanding implementation. This was probably left out by accident, this patch puts it in. Since this is one of the headers that go in whole cloth, there should be no further actions needed. This might be related to PR106953, but since that one touches the partial headers I'm not sure /Paul M. Bendixen --- • − − •/• −/• • −/• − • •/− • • •/•/− •/− • •/• •/− • • −/•/− •/• − − •− •/− − •/− −/• −/• •/• − • •/• − • − • −/− • − •/− − −/− −// From 5584c194927678067e412aeb19f10b9662e398a6 Mon Sep 17 00:00:00 2001 From: "Paul M. Bendixen" Date: Fri, 21 Jul 2023 22:04:23 +0200 Subject: [PATCH] libstdc++: Include cstdarg in freestanding P1642 includes cstdarg in the full headers to include. Include it. Signed-off-by: Paul M. Bendixen --- libstdc++-v3/include/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/include/Makefile.in b/libstdc++-v3/include/Makefile.in index 0ff875b280b..f09f97e2f6b 100644 --- a/libstdc++-v3/include/Makefile.in +++ b/libstdc++-v3/include/Makefile.in @@ -1194,6 +1194,7 @@ c_base_builddir = . c_base_freestanding = \ ${c_base_srcdir}/cfloat \ ${c_base_srcdir}/climits \ + ${c_base_srcdir}/cstdarg \ ${c_base_srcdir}/cstddef \ ${c_base_srcdir}/cstdint \ ${c_base_srcdir}/cstdlib @@ -1213,7 +1214,6 @@ c_base_freestanding = \ @GLIBCXX_HOSTED_TRUE@ ${c_base_srcdir}/csetjmp \ @GLIBCXX_HOSTED_TRUE@ ${c_base_srcdir}/csignal \ @GLIBCXX_HOSTED_TRUE@ ${c_base_srcdir}/cstdalign \ -@GLIBCXX_HOSTED_TRUE@ ${c_base_srcdir}/cstdarg \ @GLIBCXX_HOSTED_TRUE@ ${c_base_srcdir}/cstdbool \ @GLIBCXX_HOSTED_TRUE@ ${c_base_srcdir}/cstdio \ @GLIBCXX_HOSTED_TRUE@ ${c_base_srcdir}/cstring \ -- 2.34.1