From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0FAEC15800F for ; Thu, 2 Feb 2023 19:15:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 428D4E0718; Thu, 2 Feb 2023 19:15:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2E784E0718 for ; Thu, 2 Feb 2023 19:15:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 28AF0335D27 for ; Thu, 2 Feb 2023 19:15:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FE847F8 for ; Thu, 2 Feb 2023 19:15:17 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1675365300.2f1213f382dae1e03ac226ff55c3dd661d973cea.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:5.4 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 0000_README 2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch X-VCS-Directories: / X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: 2f1213f382dae1e03ac226ff55c3dd661d973cea X-VCS-Branch: 5.4 Date: Thu, 2 Feb 2023 19:15:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 68fae1d1-8ef9-4993-9258-2757b88d2398 X-Archives-Hash: 1aec9875ff500079efc25335d050a629 commit: 2f1213f382dae1e03ac226ff55c3dd661d973cea Author: Mike Pagano gentoo org> AuthorDate: Thu Feb 2 19:15:00 2023 +0000 Commit: Mike Pagano gentoo org> CommitDate: Thu Feb 2 19:15:00 2023 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=2f1213f3 gcc-plugins: drop -std=gnu++11 to fix GCC 13 build See: https://lore.kernel.org/all/20230201230009.2252783-1-sam gentoo.org/ Signed-off-by: Mike Pagano gentoo.org> 0000_README | 4 ++++ ...c-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/0000_README b/0000_README index 36bb199c..3adc520a 100644 --- a/0000_README +++ b/0000_README @@ -991,6 +991,10 @@ Patch: 2920_sign-file-patch-for-libressl.patch From: https://bugs.gentoo.org/717166 Desc: sign-file: full functionality with modern LibreSSL +Patch: 2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch +From: https://lore.kernel.org/all/20230201230009.2252783-1-sam@gentoo.org/ +Desc: gcc-plugins: drop -std=gnu++11 to fix GCC 13 build + Patch: 4567_distro-Gentoo-Kconfig.patch From: Tom Wijsman Desc: Add Gentoo Linux support config settings and defaults. diff --git a/2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch b/2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch new file mode 100644 index 00000000..f4bf6251 --- /dev/null +++ b/2940_gcc-plugins-drop-std-gnu-plus-plus-to-fix-GCC-13-build.patch @@ -0,0 +1,11 @@ +--- a/scripts/gcc-plugins/Makefile 2023-02-02 14:12:55.366308720 -0500 ++++ b/scripts/gcc-plugins/Makefile 2023-02-02 14:13:41.066530357 -0500 +@@ -2,7 +2,7 @@ + GCC_PLUGINS_DIR := $(shell $(CC) -print-file-name=plugin) + + HOSTLIBS := hostcxxlibs +-HOST_EXTRACXXFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -std=gnu++11 -fno-rtti ++HOST_EXTRACXXFLAGS += -I$(GCC_PLUGINS_DIR)/include -I$(src) -fno-rtti + HOST_EXTRACXXFLAGS += -fno-exceptions -fasynchronous-unwind-tables -ggdb + HOST_EXTRACXXFLAGS += -Wno-narrowing -Wno-unused-variable + HOST_EXTRACXXFLAGS += -Wno-format-diag