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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8FF1813997D for ; Sun, 10 Nov 2019 10:32:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55C51E0B09; Sun, 10 Nov 2019 10:30:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0DD22E0AB2 for ; Sun, 10 Nov 2019 10:30:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1317934CCE0 for ; Sat, 9 Nov 2019 23:51:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9AE8A889 for ; Sat, 9 Nov 2019 23:51:31 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1573343474.a4b24c3a01b9b2e239fd1ff7703cf6939e92b556.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-patches:master commit in: 4.3.6/gentoo/ X-VCS-Repository: proj/gcc-patches X-VCS-Files: 4.3.6/gentoo/94_all_cgraph_node-gcc-9.patch 4.3.6/gentoo/README.history X-VCS-Directories: 4.3.6/gentoo/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: a4b24c3a01b9b2e239fd1ff7703cf6939e92b556 X-VCS-Branch: master Date: Sat, 9 Nov 2019 23:51:31 +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: 41baaf72-1071-425f-bb29-5644ae291ed1 X-Archives-Hash: 829d19b7c7278648c1facac01e3fa014 commit: a4b24c3a01b9b2e239fd1ff7703cf6939e92b556 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Nov 9 23:36:37 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Nov 9 23:51:14 2019 +0000 URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=a4b24c3a 4.3.6: expand 98_all_cgraph_node-gcc-9.patch to allow gcc-9 Signed-off-by: Sergei Trofimovich gentoo.org> 4.3.6/gentoo/94_all_cgraph_node-gcc-9.patch | 6 +++--- 4.3.6/gentoo/README.history | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/4.3.6/gentoo/94_all_cgraph_node-gcc-9.patch b/4.3.6/gentoo/94_all_cgraph_node-gcc-9.patch index 92f27a8..16e99b0 100644 --- a/4.3.6/gentoo/94_all_cgraph_node-gcc-9.patch +++ b/4.3.6/gentoo/94_all_cgraph_node-gcc-9.patch @@ -16,7 +16,7 @@ gcc-4.6.4/gcc/pretty-print.h:322:6: error: 'cgraph_node' is not defined as a typ /* This header may be included before diagnostics-core.h, hence the duplicate definitions to allow for GCC-specific formats. */ -#if GCC_VERSION >= 3005 -+#if (GCC_VERSION >= 3005) && (GCC_VERSION != 9001) /* 9.1.0 is buggy: https://gcc.gnu.org/PR90677 */ ++#if (GCC_VERSION >= 3005) && (__GNUC__ != 9) /* gcc-9 is buggy: https://gcc.gnu.org/PR90677 */ #define ATTRIBUTE_GCC_PPDIAG(m, n) __attribute__ ((__format__ (__gcc_diag__, m ,n))) ATTRIBUTE_NONNULL(m) #else #define ATTRIBUTE_GCC_PPDIAG(m, n) ATTRIBUTE_NONNULL(m) @@ -27,7 +27,7 @@ gcc-4.6.4/gcc/pretty-print.h:322:6: error: 'cgraph_node' is not defined as a typ diagnostic framework extensions, you must include this file before toplev.h, not after. */ -#if GCC_VERSION >= 4001 -+#if (GCC_VERSION >= 4001) && (GCC_VERSION != 9001) /* 9.1.0 is buggy: https://gcc.gnu.org/PR90677 */ ++#if (GCC_VERSION >= 4001) && (__GNUC__ != 9) /* gcc-9 is buggy: https://gcc.gnu.org/PR90677 */ #define ATTRIBUTE_GCC_CDIAG(m, n) __attribute__ ((__format__ (GCC_DIAG_STYLE, m ,n))) ATTRIBUTE_NONNULL(m) #else #define ATTRIBUTE_GCC_CDIAG(m, n) ATTRIBUTE_NONNULL(m) @@ -38,7 +38,7 @@ gcc-4.6.4/gcc/pretty-print.h:322:6: error: 'cgraph_node' is not defined as a typ each language front end can extend them with its own set of format specifiers. We must use custom format checks. */ -#if GCC_VERSION >= 4001 -+#if (GCC_VERSION >= 4001) && (GCC_VERSION != 9001) /* 9.1.0 is buggy: https://gcc.gnu.org/PR90677 */ ++#if (GCC_VERSION >= 4001) && (__GNUC__ != 9) /* gcc-9 is buggy: https://gcc.gnu.org/PR90677 */ #define ATTRIBUTE_GCC_DIAG(m, n) __attribute__ ((__format__ (GCC_DIAG_STYLE, m, n))) ATTRIBUTE_NONNULL(m) #else #define ATTRIBUTE_GCC_DIAG(m, n) ATTRIBUTE_NONNULL(m) diff --git a/4.3.6/gentoo/README.history b/4.3.6/gentoo/README.history index a4158fa..ea04df1 100644 --- a/4.3.6/gentoo/README.history +++ b/4.3.6/gentoo/README.history @@ -1,3 +1,6 @@ +2 9 Nov 2019 + U 94_all_cgraph_node-gcc-9.patch + 1.4 1 Jun 2019 + 93_all_libjava-ucontext.patch + 94_all_cgraph_node-gcc-9.patch