From patchwork Sun Feb 4 17:01:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Valdis_Kl=C4=93tnieks?= X-Patchwork-Id: 10199383 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2B64860318 for ; Sun, 4 Feb 2018 17:02:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 22CB7285A2 for ; Sun, 4 Feb 2018 17:02:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 151C5285AF; Sun, 4 Feb 2018 17:02:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.wl.linuxfoundation.org (Postfix) with SMTP id F322C285A2 for ; Sun, 4 Feb 2018 17:02:08 +0000 (UTC) Received: (qmail 7866 invoked by uid 550); 4 Feb 2018 17:02:04 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Delivered-To: mailing list kernel-hardening@lists.openwall.com Received: (qmail 7709 invoked from network); 4 Feb 2018 17:02:03 -0000 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:mime-version:date:message-id; bh=xVaqeGT6Hn/Y8WH62kl/yMqs607lSqFk+RZmDBP1hxQ=; b=P+Q1OMXbgt//+fO66cMyujtQUaz8CK8zSbJm+uRZAx31TD4EXRjNXnJ6cgnRg5IUiq KKrqq6inXbF9txl/26dSwluVpwbKr8/hKQCqDXpMys7Eoe7KBEeAlWM21H3I2Xb4yIK0 ikHUSfsdnqNGByq4l9jROqxNSSaC4gIKgQaWh5AB3Pp19PkOJh7Zq7+RIXITubgV5tuR tlyxfcI2c3nnunw+cYZSQH6kjziNliuJmmT7Thv/Its415ZYUxlJS1Dq7vXQbykcfk0B 0KHNHG92i5+KstzzVYsqPzoZ7HEVORKN1Kv50JS8m2edAYopI7uDh6Iu14MM51Md6CG/ jIwA== X-Gm-Message-State: APf1xPDh5LnIGRiJVvrupzlry9YwBuKpc4Q5GV5/I5h2OAo47km8MZqP RH20dixGP/KbPZdMFy9A81m3jtHpMburURQ7F1upWipHWd5mpD8J4rGEc9Ku8+vPSLaLZ7Ewlxc lU7PEhXkVlgNfX69ssia8y/XDCdEeITbr4gnW1ay2ZBQC X-Received: by 10.233.232.68 with SMTP id a65mr4302090qkg.245.1517763705394; Sun, 04 Feb 2018 09:01:45 -0800 (PST) X-Google-Smtp-Source: AH8x227DsNkbAoLXwP6ypziDLP3JFIv+EqjW8hMTxFAO2ODQkGF71q3DV7nG8DeK5UBz+0szLZu8nA== X-Received: by 10.233.232.68 with SMTP id a65mr4302064qkg.245.1517763705171; Sun, 04 Feb 2018 09:01:45 -0800 (PST) X-Mailer: exmh version 2.8.0 04/21/2017 with nmh-1.7+dev From: valdis.kletnieks@vt.edu To: Kees Cook , kernel-hardening@lists.openwall.com cc: linux-kernel@vger.kernel.org Subject: [PATCH 1/2] GCC release 8 support for gcc-plugins Mime-Version: 1.0 Date: Sun, 04 Feb 2018 12:01:43 -0500 Message-ID: <119189.1517763703@turing-police.cc.vt.edu> X-Virus-Scanned: ClamAV using ClamSMTP GCC requires another #include to get the gcc-plugins to build cleanly. Signed-off-by: Valdis Kletnieks diff --git a/scripts/gcc-plugins/gcc-common.h b/scripts/gcc-plugins/gcc-common.h index ffd1dfaa1cc1..f46750053377 100644 --- a/scripts/gcc-plugins/gcc-common.h +++ b/scripts/gcc-plugins/gcc-common.h @@ -97,6 +97,10 @@ #include "predict.h" #include "ipa-utils.h" +#if BUILDING_GCC_VERSION >= 8000 +#include "stringpool.h" +#endif + #if BUILDING_GCC_VERSION >= 4009 #include "attribs.h" #include "varasm.h"