On Wed, Apr 16, 2025 at 5:36 PM Ben Hutchings <b...@decadent.org.uk> wrote:
>
> I don't see why there would be a problem with mixing objects built using
> native and cross- C compilers with the same target and version.  (Unless
> you enable gcc plugins, which we don't.)

It may work, but as far as I was told, it is not supported.

> Official Debian binary packages are built natively, but there is also a
> standard way to cross-build them and the kernel source package supports
> this.  The resulting binary packages should be functionally identical.

I see -- thanks for the details Ben.

Some news related to this: the other day I needed the kernel config in
the procedural macros in order to do conditional compilation based on
the compilers features/version (which is how we usually do it in the
rest of the code), which may land on v6.16 or v6.17.

Cheers,
Miguel

Reply via email to