Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp460275pxf; Thu, 18 Mar 2021 04:57:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyY2iq6pxxFPc8hHsSie2vGDu9bYz9to42x12TBQcsIz089jt35KYEYFUtpk7zY1IRH+Xe8 X-Received: by 2002:aa7:c450:: with SMTP id n16mr3063216edr.16.1616068655020; Thu, 18 Mar 2021 04:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616068655; cv=none; d=google.com; s=arc-20160816; b=GmWENBGh1iYz5ks5Yrpgupio81MQIBfj8qwnQMGTYh7hwa08cjxu2yamp1QgxKtfz6 /F/PFGTVb+MnJ1YWyk0M59LFbdiGVRKyqbBF1eG9KW3JudP8UgKx2Do/h3SBGoTOoX9B RlHW6knBDAZEGMDfmYoVzMeIiSNr9e7z7vs4A0xtpFKvwW7rnRiVzKmKgBygNLc4CJL7 nwT2Djh1GNlB5ubTrZhn7jysW7gMY272xV5UgDg7LID9U51pZyEFkQMDFqf5Azlbmnqu OHhwgkjuH/4Xj7vAReTCUaAxaVCtWTcBu03zj2AcasgwemZgsIsZLVDaHXiHRTv701ji IZzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-transfer-encoding :mime-version:references:in-reply-to:subject:cc:to:from:sender :dkim-signature; bh=YztF6Wd6/VXGWXIG3Em3fyAkrNO59byXKe+h2J63iOk=; b=UKHsA/80iLkPM+NmKmL1wobz+TpsvGgQ6Kb33bHCbbXCu70Rdynsp5RBRWZN0KeV23 8IHvstUv1eqWOPL/dIfNqrN49QBdJ22A0QBoqqpkcryfZQYF4cOuI5U01ocJcO3FObgP d6pg30huNJiC301bnHf5pal8zWU8SDTfss3B61Esr//UKEfBLmnYI6YsxB6w5OaZe8vv tuZdMXVu8G0179LTAHONQ5Hv2SqS+V98/FSZ08aAdOQ7EKkDxZq3tlSXXrWO0NtUTI/n OLR2DlVevtJzz1pHFzyHS4I34FjRHQfesP0njQYVET5JzWiUYt4Qh4BOjsHl1LznqBuF HNQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vt-edu.20150623.gappssmtp.com header.s=20150623 header.b=PJk44+VI; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vt.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rl3si1558729ejb.86.2021.03.18.04.57.11; Thu, 18 Mar 2021 04:57:35 -0700 (PDT) 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=@vt-edu.20150623.gappssmtp.com header.s=20150623 header.b=PJk44+VI; 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=fail (p=NONE sp=NONE dis=NONE) header.from=vt.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230040AbhCRL4L (ORCPT + 99 others); Thu, 18 Mar 2021 07:56:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49442 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229792AbhCRLzi (ORCPT ); Thu, 18 Mar 2021 07:55:38 -0400 Received: from mail-qt1-x82d.google.com (mail-qt1-x82d.google.com [IPv6:2607:f8b0:4864:20::82d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A0C8C06174A for ; Thu, 18 Mar 2021 04:55:38 -0700 (PDT) Received: by mail-qt1-x82d.google.com with SMTP id g24so3784386qts.6 for ; Thu, 18 Mar 2021 04:55:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vt-edu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:in-reply-to:references:mime-version :content-transfer-encoding:date:message-id; bh=YztF6Wd6/VXGWXIG3Em3fyAkrNO59byXKe+h2J63iOk=; b=PJk44+VIbX9pxooH9Zfnjp+M2hEhx+JbPhe1fBs6R/o1Hp9FueXxWWZbGqBPF/O9Pp 5Ec4vwvJM4/JFO5upPKEkC+p2v5Ui79cCIcoLCJkdh0Z7ibAh9eFuO3FpnvtNr8Y+mof HsWj5wZUPa5Od9Mq7WMy+O7dzEjRebQ0kR/gPM+c25qbg5emb3598dNndYwbC5a1jbWH kNtP2YQP+OJB07tmaCm73biKxR4v2qcoH24+wMu5Ykq8zLz6e1ckmrioyE2e752KChn4 A8q+OayycpOzoL6VN3ZkO5EWAtSOnpZYVYrjOS3XaAl2LfhCcdxUFDwdRy6uz+hxQNJr 87kw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=YztF6Wd6/VXGWXIG3Em3fyAkrNO59byXKe+h2J63iOk=; b=PbbgaGWROguUbr+iZlAP5lMTREep7asgFncAwRZs7+9bUZKOxDaKBwvY2NMY4SCI19 CGLXYzOWh48jdY6i5iPuM/ddO+nIz6dDd7IOTm+aAX1sCO6pvQ1xkrXjGEAqqvsgXQfR 4HaYt+akzrWSgA8KH+hZBUhVVA06RnvgvH0ovd905CP0M/1ydQ1ahhbevU7/tt2cfd4K 4NNxknhd3pbx4QuCavY0CYmtL4ip7aC1rqViXC2fZxE5skkLwLPH1E95NGJRgSTBvQ3F wnX8Pwq63wKCY4eU3Y/gpgsdsRHM3gXxEaAuvtp/7XUpSgZH4FxwwrddGgOBW66FnUF2 w2xg== X-Gm-Message-State: AOAM532jUZm9uPYufaM6CZPjFjsdy+SaHu/zJV3nuHyH932dCkosvC2q M8Xjk8E6qJM3dFO5XfSNB5BA5A== X-Received: by 2002:ac8:519a:: with SMTP id c26mr3296977qtn.342.1616068537708; Thu, 18 Mar 2021 04:55:37 -0700 (PDT) Received: from turing-police ([2601:5c0:c380:d61::359]) by smtp.gmail.com with ESMTPSA id x36sm1248355qtd.57.2021.03.18.04.55.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Mar 2021 04:55:36 -0700 (PDT) Sender: Valdis Kletnieks From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: David Laight Cc: Kees Cook , Josh Poimboeuf , Geert Uytterhoeven , "linux-hardening@vger.kernel.org" , Linux Kernel Mailing List Subject: Re: [PATCH RESEND] gcc-plugins: avoid errors with -std=gnu++11 on old gcc In-Reply-To: <279b22592f1e43a48beeecd34e50b385@AcuMS.aculab.com> References: <279558.1615192821@turing-police> <202103172251.F9D770D@keescook> <282490.1616047333@turing-police> <279b22592f1e43a48beeecd34e50b385@AcuMS.aculab.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1616068535_248661P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 18 Mar 2021 07:55:35 -0400 Message-ID: <300176.1616068535@turing-police> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --==_Exmh_1616068535_248661P Content-Type: text/plain; charset=us-ascii On Thu, 18 Mar 2021 11:41:29 -0000, David Laight said: > That gcc bug just implies you need a space after "xxx". > That is easily fixable in the sources. It's not quite that simple. In file included from /usr/lib/gcc/x86_64-linux-gnu/5/plugin/include/tm.h:27, from /usr/lib/gcc/x86_64-linux-gnu/5/plugin/include/gcc-plugin.h:31, from /usr/lib/gcc/x86_64-linux-gnu/5/plugin/include/plugin.h:23, from scripts/gcc-plugins/gcc-common.h:9, from scripts/gcc-plugins/latent_entropy_plugin.c:78: >> /usr/lib/gcc/x86_64-linux-gnu/5/plugin/include/config/elfos.h:102:21: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), "%s"HOST_WIDE_INT_PRINT_UNSIGNED"\n",\ The problem isn't in a kernel source file... To quote an earlier message of mine: > It looks like it's not a kernel source tree issue, it's a g++ issue fixed in g++ 6 and later. > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959 > And it looks like there was an intent to backport it to 4.9 and 5.4: > https://gcc.gnu.org/legacy-ml/gcc-patches/2016-02/msg01409.html > The bugtracker doesn't show an equivalent for 69959 being closed against 4.9.x or 5.[56], > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63254 has a patch for one of the > gcc-supplied files that tosses the warning, but that way lies madness... --==_Exmh_1616068535_248661P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBYFM/twdmEQWDXROgAQIFLw/9Hvpmfb4yKYzbWxvudeHerzDVFv9LVptA MNx8PG+mbs3n8d1FwdVQ32D3FFCDjsUwgHrzZIGNhoyzOx/l9lKvUBFBtFdaofcd OR9dxgFzkuMww4hw6Ft49ZlaMSI0KMK/KXxHAF9sD4R3TmWFRDxP7wx2CYvUqZGU Im62hD+ZqBE+DlZnxCZHwkKL9ZUFzKmR+nquvOdRxlwI1heKP6XFod+6vYDbNb+8 GUxMuirDljIuTfgO2ARflIdhNKSJTLl3xNZN6nGZhe0CeHk68fDNeoqXLJ/JsLk0 PcnJHSswZJAMyU0Yduuj6Dp+qgqr7bVXDQuAunr+bAOXkQnonjjADl7ij6D3k727 hTLObP1bnw7WKVUTFvR6BjLsjJcphWfodrujrVTlm89lW/JpcX/kwALj+WS8JRiM BS6+iqXhehKipuIW1bkWFox+60/7WPkbuk5fERrZacVcRMF9uces2vrAl9PxyUJw ib6d1DSRLbIDJNXw1UR28yoprVREeVu7Rco/hk4vdnCM8WsTJK5ax8WOvyIef8om G1NRDm5l27gJ8FF6v+vtiSKNs3+DvteKACa+s4HcH2MyEoa21+q4Bcd0fgCK6SWf bv6SlRFF5k4m+URQmq3MzwITuYZ+r773hH9AthJmWqBm3SoRiDXHCxuWSB/yKC/P xCTWp6Oj2wY= =GT68 -----END PGP SIGNATURE----- --==_Exmh_1616068535_248661P--