On Tue, Oct 15, 2019 at 09:50:40AM +0100, Ben Dooks wrote: > The following errors are coming when checking a kernel built for > ARM. ... > The code is as follows > > #if defined(__i386__) && !defined(__arch_um__) ... > so shouldn't really being built? Absolutely. It's a 'side-effect' of trying to autodetect the target architecture based on the machine used to build the sparse executable. There are a few solutions to this. I'll need to see. Best regards, -- Luc