Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1189189pxu; Wed, 6 Jan 2021 15:12:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNuj7VW7bwAuqGWXvd2zJmIvrogS3R8IdcEFaWbFDRsB0jY9hrYf+Ius6LwbAZbYvx/MbW X-Received: by 2002:a50:e882:: with SMTP id f2mr5367310edn.76.1609974746420; Wed, 06 Jan 2021 15:12:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609974746; cv=none; d=google.com; s=arc-20160816; b=R49IAvID5z20FyXBpBEB/PDbR3WBdjMjpcmY29QpAkEHn92oDZi3f7GDlq7fw7wWMR AEUBatU9/sVHtOH3UfpfwvtspRCjIepUPf8I8LQ3C4b809eybH8FoDEtIgMs9jM42B68 bJD8aU/zN3CEjWXTsrbuQ05bDMQiYEY9A0q7zA76OYQ2zHYWblrMXgFjL+Abluno/46A roaY3QbRBrD6L7zL09YPnpXiVM/kCuyv4GA030zna9AuIwKG7XV4tyA0wVXOZWIK63Iu 5pcGGZOBfRLZlrU4yfwz8LsNaHbNYeigE0Mqe37pQLc66ADmdTxAE4NfXhb60AA4tit/ uH7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=axakR3V8Px/scAgH93voC/mtIO5dG1PShrCOBx0oSuQ=; b=AsQCiDoyGAnTY014BfGKSerb0P1w1IBfnmjQUkGJZoA7pl85sMT2sEj0MCIvq5EBKu aBxOgSDQDn2tbjp2SHnTfdD02Bao+IlHgKmmjqQkwCtIIi20NAwJFeBx0Yvof9SsAenK 3tzj09qbhm0fnW8hAlX73NSEi60RkbbKCGQ7GDLJ61SvUl4ee7OIXvTq07UUuXWPE/TF OelgetheQk5cwdg+7w/L95N9qPaQSLd6Ojli4+dHoHRpFqNe0FEffN7JpbJBe+Eo6wj/ VN5+n/oFRhowPLzpvv2IsGF9xlbQyyn4CzM0FHIyPjBh+uQ5K2JT9pfypQe7HLGMYfta Vanw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=csHjke2t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z27si1499143edl.135.2021.01.06.15.12.01; Wed, 06 Jan 2021 15:12:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=csHjke2t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726645AbhAFXK6 (ORCPT + 99 others); Wed, 6 Jan 2021 18:10:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726310AbhAFXK5 (ORCPT ); Wed, 6 Jan 2021 18:10:57 -0500 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A54CCC061799 for ; Wed, 6 Jan 2021 15:10:17 -0800 (PST) Received: by mail-pf1-x429.google.com with SMTP id x126so2595363pfc.7 for ; Wed, 06 Jan 2021 15:10:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=axakR3V8Px/scAgH93voC/mtIO5dG1PShrCOBx0oSuQ=; b=csHjke2t8Ll0E6OubejG57TgVe6VHXNFpLMhiBdQRRCutar+xa87WJc5VHGZMcT1j2 fJ7I6HDt6nYZRqBjwBfNp7OhvBj6P65MhLHnhFYk/Bdzi+OttQAl1K+Krw4eE6EHXKhf JP9rvM3eh3NcxiiWj6GrEqbrziuWNlVcED89c= 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=axakR3V8Px/scAgH93voC/mtIO5dG1PShrCOBx0oSuQ=; b=lrTO4nWB6ogoXoU2v20s9R9sx7sxL8gSQnMaZNtCHYkt10CabvPKXo9HmqpRADBJqJ uZn/sgiosf6IdaLWHQKwM5HMqAwi+9Q1vRYni0rEec6BFil0JvLhHuKKD8d8FiLXmoaZ YbY1YjSBhzAY28zbkGLTXDzEXsrn0dq2Z++y8eBgWhAyPTEGJ4xKItIBg7cuIlgTW0HM yrAlXTGEXI2Y5xuWB+bxA/0+c7Sjs5s69nYtOvGZ7pjKft5BNZIcSSI7C1haocfh/pWX Vk8CsMNp4ckA0MzHx16Sb0vH1r86DySfXtR/aXw3EVRhHnRxCkDUUd0cWC30VKqTbHnm qcqw== X-Gm-Message-State: AOAM532e4nMiND+S1jFVLu3PZFTded6XhUckWoq6M7vn+vMVYnsn0lmr KCBtuHGtqMw26pqmyelI48sZCg== X-Received: by 2002:a63:2265:: with SMTP id t37mr6720232pgm.336.1609974617144; Wed, 06 Jan 2021 15:10:17 -0800 (PST) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id x1sm3469752pfc.112.2021.01.06.15.10.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Jan 2021 15:10:16 -0800 (PST) From: Kees Cook To: =?UTF-8?q?Valdis=20Kl=C4=93tnieks?= Cc: Kees Cook , linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, Josh Poimboeuf Subject: Re: [PATCH] gcc-plugins: fix gcc 11 indigestion with plugins... Date: Wed, 6 Jan 2021 15:09:42 -0800 Message-Id: <160997457204.3687425.15622431721220616573.b4-ty@chromium.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <82487.1609006918@turing-police> References: <82487.1609006918@turing-police> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 26 Dec 2020 13:21:58 -0500, Valdis Klētnieks wrote: > Fedora Rawhide has started including gcc 11,and the g++ compiler > throws a wobbly when it hits scripts/gcc-plugins: > > HOSTCXX scripts/gcc-plugins/latent_entropy_plugin.so > In file included from /usr/include/c++/11/type_traits:35, > from /usr/lib/gcc/x86_64-redhat-linux/11/plugin/include/system.h:244, > from /usr/lib/gcc/x86_64-redhat-linux/11/plugin/include/gcc-plugin.h:28, > from scripts/gcc-plugins/gcc-common.h:7, > from scripts/gcc-plugins/latent_entropy_plugin.c:78: > /usr/include/c++/11/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO > C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options. > 32 | #error This file requires compiler and library support \ > > [...] Applied to for-linus/gcc-plugins, thanks! [1/1] gcc-plugins: fix gcc 11 indigestion with plugins... https://git.kernel.org/kees/c/67a5a6801305 -- Kees Cook