From: David Binderman <dcb314@hotmail.com>
To: "keescook@chromium.org" <keescook@chromium.org>,
"linux-hardening@vger.kernel.org"
<linux-hardening@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: kernel bug report and patch
Date: Wed, 8 Jun 2022 08:48:47 +0000 [thread overview]
Message-ID: <DB6P189MB05681E9F4785DF2758B9875B9CA49@DB6P189MB0568.EURP189.PROD.OUTLOOK.COM> (raw)
Hello there Kees,
I've been trying for the last few weeks to compile recent linux kernels with
development versions of gcc, without success.
I keep getting this error:
In file included from scripts/gcc-plugins/gcc-common.h:75,
from scripts/gcc-plugins/stackleak_plugin.c:30:
/home/dcb/gcc/results.20220604.asan.ubsan/lib/gcc/x86_64-pc-linux-gnu/13.0.0/plugin/include/gimple-fold.h:71:32: error: use of enum ‘gsi_iterator_update’ without previous declaration
I found this patch useful:
*** ../linux-5.18/scripts/gcc-plugins/gcc-common.h 2022-03-20 20:14:17.0000
00000 +0000
--- scripts/gcc-plugins/gcc-common.h 2022-06-08 09:21:21.693178983 +0100
***************
*** 71,76 ****
--- 71,78 ----
#include "varasm.h"
#include "stor-layout.h"
#include "internal-fn.h"
+ #include "gimple.h"
+ #include "gimple-iterator.h"
#include "gimple-expr.h"
#include "gimple-fold.h"
#include "context.h"
Regards
David Binderman
reply other threads:[~2022-06-08 9:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DB6P189MB05681E9F4785DF2758B9875B9CA49@DB6P189MB0568.EURP189.PROD.OUTLOOK.COM \
--to=dcb314@hotmail.com \
--cc=keescook@chromium.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).