public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Build error in next-20260223 gcc-plugins/latent_entropy_plugin.so
@ 2026-02-25  5:20 Valdis Klētnieks
  2026-02-25  7:33 ` Kees Cook
  0 siblings, 1 reply; 7+ messages in thread
From: Valdis Klētnieks @ 2026-02-25  5:20 UTC (permalink / raw)
  To: Kees Cook; +Cc: linux-hardening, linux-kernel

Building next-20260223 dies an early death:

  HOSTLD  arch/x86/tools/relocs
  HOSTCC  arch/x86/tools/vdso2c
  HOSTCXX scripts/gcc-plugins/latent_entropy_plugin.so
In file included from scripts/gcc-plugins/latent_entropy_plugin.c:78:
scripts/gcc-plugins/gcc-common.h: In function 'void debug_tree(const_tree)':
scripts/gcc-plugins/gcc-common.h:417:20: error: 'CONST_CAST_TREE' was not declared in this scope; did you mean 'CONST_CAST_EXPR'?
  417 |         debug_tree(CONST_CAST_TREE(t));
      |                    ^~~~~~~~~~~~~~~
      |                    CONST_CAST_EXPR
scripts/gcc-plugins/gcc-common.h: In function 'void debug_gimple_stmt(const_gimple_ptr)':
scripts/gcc-plugins/gcc-common.h:312:47: error: expected primary-expression before ',' token
  312 | #define CONST_CAST_GIMPLE(X) CONST_CAST(gimple, (X))
      |                                               ^
scripts/gcc-plugins/gcc-common.h:422:27: note: in expansion of macro 'CONST_CAST_GIMPLE'
  422 |         debug_gimple_stmt(CONST_CAST_GIMPLE(s));
      |                           ^~~~~~~~~~~~~~~~~
scripts/gcc-plugins/gcc-common.h:312:30: error: 'CONST_CAST' was not declared in this scope; did you mean 'CONST_INT'?
  312 | #define CONST_CAST_GIMPLE(X) CONST_CAST(gimple, (X))
      |                              ^~~~~~~~~~
scripts/gcc-plugins/gcc-common.h:422:27: note: in expansion of macro 'CONST_CAST_GIMPLE'
  422 |         debug_gimple_stmt(CONST_CAST_GIMPLE(s));
      |                           ^~~~~~~~~~~~~~~~~
make[3]: *** [scripts/gcc-plugins/Makefile:54: scripts/gcc-plugins/latent_entropy_plugin.so] Error 1
make[2]: *** [scripts/Makefile.build:546: scripts/gcc-plugins] Error 2
make[1]: *** [/usr/src/linux-next/Makefile:1316: scripts] Error 2
make: *** [Makefile:248: __sub-make] Error 2

'git blame' isn't showing any recent changes..

next-20260109 built OK.   Any ideas before I start bisecting in more detail?

\0\0\0\0\0\0\0\0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-03-21 12:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-25  5:20 Build error in next-20260223 gcc-plugins/latent_entropy_plugin.so Valdis Klētnieks
2026-02-25  7:33 ` Kees Cook
2026-02-25 15:14   ` Valdis Klētnieks
2026-03-14 13:50     ` Ingo Saitz
2026-03-14 14:44       ` Ingo Saitz
2026-03-20 19:23         ` Kees Cook
2026-03-21 12:25           ` Ingo Saitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox