linux-hardening.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel bug report and patch
@ 2022-06-08  8:48 David Binderman
  0 siblings, 0 replies; only message in thread
From: David Binderman @ 2022-06-08  8:48 UTC (permalink / raw)
  To: keescook, linux-hardening, Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-08  9:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08  8:48 kernel bug report and patch David Binderman

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).