All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>
To: Kees Cook <kees@kernel.org>
Cc: linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Build error in next-20260223 gcc-plugins/latent_entropy_plugin.so
Date: Wed, 25 Feb 2026 00:20:01 -0500	[thread overview]
Message-ID: <4051116.1771996801@turing-police> (raw)

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

             reply	other threads:[~2026-02-25  5:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-25  5:20 Valdis Klētnieks [this message]
2026-02-25  7:33 ` Build error in next-20260223 gcc-plugins/latent_entropy_plugin.so 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

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=4051116.1771996801@turing-police \
    --to=valdis.kletnieks@vt.edu \
    --cc=kees@kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.