On Wed, Mar 11, 2026 at 12:20:18PM -0400, Ionen Wolkens wrote:
> This is only intended to catch the most common case.
> 
> Considered trying to rebuild objtool live, but felt that may be
> too fragile between different kernel versions and changing build
> and usage logic. Fortunately feel binutils does not receive new
> releases often enough for this to become a real hassle similarly
> to GCC plugins.
> 
> Dist kernels could optionally use binutils-libs:= to rebuild
> albeit that may just result in unnecessary rebuilds for the
> majority that are not using out-of-tree modules. Either way,
> the warning would still be needed for *-sources users.
> 
> Closes: https://bugs.gentoo.org/971092
> Signed-off-by: Ionen Wolkens <[email protected]>
> ---
>  eclass/linux-mod-r1.eclass | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)

I pushed this a bit earlier than planned by accident, but it should be
fine so won't revert it. If anyone had comments it's not too late to
change later.

Check was designed to be as safe as possible so it that it hopefully
won't abort when it shouldn't.
-- 
ionen

Attachment: signature.asc
Description: PGP signature

Reply via email to