The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* Linux-6.17 meets gcc trunk
@ 2025-09-30  8:08 David Binderman
  2025-09-30 16:06 ` Kees Cook
  0 siblings, 1 reply; 2+ messages in thread
From: David Binderman @ 2025-09-30  8:08 UTC (permalink / raw)
  To: kees@kernel.org, linux-hardening@vger.kernel.org, LKML

Hello there,

I just tried to compile linux-6.17 with gcc trunk. It said:

  HDRINST usr/include/asm/types.h
In file included from scripts/gcc-plugins/latent_entropy_plugin.c:78:
scripts/gcc-plugins/gcc-common.h:176:25: error: ‘TODO_verify_il’ was not declared in this scope; did you mean ‘TODO_verify_flow’?
  176 | #define TODO_verify_ssa TODO_verify_il
      |                         ^~~~~~~~~~~~~~
scripts/gcc-plugins/latent_entropy_plugin.c:567:27: note: in expansion of macro ‘TODO_verify_ssa’
  567 | #define TODO_FLAGS_FINISH TODO_verify_ssa | TODO_verify_stmts | TODO_dump_func \
      |                           ^~~~~~~~~~~~~~~
scripts/gcc-plugins/gcc-generate-gimple-pass.h:86:43: note: in expansion of macro ‘TODO_FLAGS_FINISH’
   86 |                 .todo_flags_finish      = TODO_FLAGS_FINISH,


gcc trunk is at https://gcc.gnu.org/git.html. This error has been occurring
for a few weeks now, so I don't think it is transitory.

The kernel configure script is:

$ make distclean allyesconfig

Regards

David Binderman

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

* Re: Linux-6.17 meets gcc trunk
  2025-09-30  8:08 Linux-6.17 meets gcc trunk David Binderman
@ 2025-09-30 16:06 ` Kees Cook
  0 siblings, 0 replies; 2+ messages in thread
From: Kees Cook @ 2025-09-30 16:06 UTC (permalink / raw)
  To: David Binderman; +Cc: linux-hardening@vger.kernel.org, LKML

On Tue, Sep 30, 2025 at 08:08:27AM +0000, David Binderman wrote:
> Hello there,
> 
> I just tried to compile linux-6.17 with gcc trunk. It said:
> 
>   HDRINST usr/include/asm/types.h
> In file included from scripts/gcc-plugins/latent_entropy_plugin.c:78:
> scripts/gcc-plugins/gcc-common.h:176:25: error: ‘TODO_verify_il’ was not declared in this scope; did you mean ‘TODO_verify_flow’?
>   176 | #define TODO_verify_ssa TODO_verify_il
>       |                         ^~~~~~~~~~~~~~
> scripts/gcc-plugins/latent_entropy_plugin.c:567:27: note: in expansion of macro ‘TODO_verify_ssa’
>   567 | #define TODO_FLAGS_FINISH TODO_verify_ssa | TODO_verify_stmts | TODO_dump_func \
>       |                           ^~~~~~~~~~~~~~~
> scripts/gcc-plugins/gcc-generate-gimple-pass.h:86:43: note: in expansion of macro ‘TODO_FLAGS_FINISH’
>    86 |                 .todo_flags_finish      = TODO_FLAGS_FINISH,

This was fixed here:
https://git.kernel.org/linus/a40282dd3c484e6c882e93f4680e0a3ef3814453

It will need backporting to prior kernel releases.

-Kees

-- 
Kees Cook

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

end of thread, other threads:[~2025-09-30 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-30  8:08 Linux-6.17 meets gcc trunk David Binderman
2025-09-30 16:06 ` Kees Cook

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