Re: hang with current sparse with upstream linux arm64 build

Richard Fitzgerald <[email protected]> Mon, 23 Feb 2026 14:46:21 +0000
Newsgroups org.kernel.vger.linux-sparse
Message-ID <[email protected]>
On 23/02/2026 2:07 pm, Ben Dooks wrote:
> On 23/02/2026 10:51, Ben Dooks wrote:
>> Currently trying to run "make C=2" on the current upstream kernel using
>> arm64 build and getting sparse processes hanging using 100% cpu and one
>> with other 14minutes on the cpu.
>>
>> sparse checkout is 37156835e3d725b6d750f000be33ba3814bb2310
>>
>> kernel checkout is based on v7.0-rc1 
>> 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f with some warning fixes on.
>>
>> I've not yet tried a non-arm64 build or removing my warning fixes.
>>
>> Attached my linux kenrel config just in case that's useful.
> 
> So currently it seems to be hanging when checking drivers/clk/clk.c
> doing the following.
> 
> $ make C=1 drivers/clk/clk.o
> 
> This is working under v6.19 and not under v7.0-rc1
> 
> The git bisect is pointing to this commit
> 
> commit e19e1b480ac73c3e62ffebbca1174f0f511f43e7
> Author: Linus Torvalds <[email protected]>
> Date:   Sat Feb 21 16:14:11 2026 -0800
> 
>      add default_gfp() helper macro and use it in the new *alloc_obj() 
> helpers
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/ 
> commit/?id=e19e1b480ac73c3e62ffebbca1174f0f511f43e7
>

I'm getting something similar with an x86_64 build and 7.0-rc1:

> drivers/clk/clk.c:5551:26: error: Expected ) in function call
> drivers/clk/clk.c:5551:26: error: got ,
> drivers/clk/clk.c:5551:26: error: Expected ) in function call
> drivers/clk/clk.c:5551:26: error: got ,
> drivers/clk/clk.c:4124:15: error: undefined identifier '_res'
> drivers/clk/clk.c:4124:15: error: undefined identifier '__VA_OPT__'
> drivers/clk/clk.c:4124:15: error: undefined identifier '_res'

I get a massive amount of these error messages over many files.
For me it's hanging in a different part of the build.

fs/ext4/super.c:4881:9: error: undefined identifier '__VA_OPT__'
fs/ext4/super.c:4881:9: error: undefined identifier '_res'
fs/ext4/super.c:4881:9: error: undefined identifier '_res'
fs/ext4/super.c:4881:9: error: too many errors
   AR      fs/ext4/built-in.a
   AR      fs/built-in.a