On Fri, Sep 4, 2026 at 3:20 AM Jose Fernandez (Anthropic)
<[email protected]> wrote:
>
> +# bindgen generates no code, and its libclang may predate the section
> +# argument of -fpatchable-function-entry that a kCFI kernel with CALL_OPS
> +# passes on arm64.
> +bindgen_c_flags = $(filter-out -fpatchable-function-entry=%,$(c_flags))

In general, one should be using the same version (we warn otherwise
early in the build), but yeah, it is just a warning for now and it is
nice to try to remain a bit flexible.

Now, if we are going to filter this out for Clang, should we just
filter it out for GCC too? i.e. outside the `ifdef`?

By the way, "generates no code" sounds a bit strange, since `bindgen`
generates source code...

Thanks!

Cheers,
Miguel

Reply via email to