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 C06DC158086 for ; Wed, 27 Oct 2021 14:55:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 166B3E08F7; Wed, 27 Oct 2021 14:55:19 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 87287E08F7 for ; Wed, 27 Oct 2021 14:55:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7C7AB3432A6 for ; Wed, 27 Oct 2021 14:55:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCCF379 for ; Wed, 27 Oct 2021 14:55:15 +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: <1635346428.9270a303580a1dbb5f2a8b45bb7972afa8e62d7e.mpagano@gentoo> Subject: [gentoo-commits] proj/linux-patches:5.10 commit in: / X-VCS-Repository: proj/linux-patches X-VCS-Files: 0000_README 2910_fix-gcc-detection-method.patch X-VCS-Directories: / X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: 9270a303580a1dbb5f2a8b45bb7972afa8e62d7e X-VCS-Branch: 5.10 Date: Wed, 27 Oct 2021 14:55:15 +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: fc5c8943-5bce-4642-9e33-a2a53945a04b X-Archives-Hash: ac9ec2cf8ba225e6df8b1fd49252986b commit: 9270a303580a1dbb5f2a8b45bb7972afa8e62d7e Author: Mike Pagano gentoo org> AuthorDate: Wed Oct 27 14:53:48 2021 +0000 Commit: Mike Pagano gentoo org> CommitDate: Wed Oct 27 14:53:48 2021 +0000 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=9270a303 Fix how gcc version detectioned to make visible CONFIG_GCC_PLUGINS Thanks to Kerin Millar. Bug: https://bugs.gentoo.org/814200 Signed-off-by: Mike Pagano gentoo.org> 0000_README | 4 +++ 2910_fix-gcc-detection-method.patch | 54 +++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/0000_README b/0000_README index 62f163c..16f8398 100644 --- a/0000_README +++ b/0000_README @@ -363,6 +363,10 @@ Patch: 2900_tmp513-Fix-build-issue-by-selecting-CONFIG_REG.patch From: https://bugs.gentoo.org/710790 Desc: tmp513 requies REGMAP_I2C to build. Select it by default in Kconfig. See bug #710790. Thanks to Phil Stracchino +Patch: 2910_fix-gcc-detection-method.patch +From: https://bugs.gentoo.org/814200 +Desc: Fix how gcc version is detected to make visible CONFIG_GCC_PLUGINS. Thanks to Kerin Millar. + Patch: 2920_sign-file-patch-for-libressl.patch From: https://bugs.gentoo.org/717166 Desc: sign-file: full functionality with modern LibreSSL diff --git a/2910_fix-gcc-detection-method.patch b/2910_fix-gcc-detection-method.patch new file mode 100644 index 0000000..470f3af --- /dev/null +++ b/2910_fix-gcc-detection-method.patch @@ -0,0 +1,54 @@ +diff --git a/scripts/gcc-plugin.sh b/scripts/gcc-plugin.sh +deleted file mode 100755 +index b79fd0bea838..000000000000 +--- a/scripts/gcc-plugin.sh ++++ /dev/null +@@ -1,19 +0,0 @@ +-#!/bin/sh +-# SPDX-License-Identifier: GPL-2.0 +- +-set -e +- +-srctree=$(dirname "$0") +- +-gccplugins_dir=$($* -print-file-name=plugin) +- +-# we need a c++ compiler that supports the designated initializer GNU extension +-$HOSTCC -c -x c++ -std=gnu++98 - -fsyntax-only -I $srctree/gcc-plugins -I $gccplugins_dir/include 2>/dev/null <