public inbox for linux-sparse@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben.dooks@codethink.co.uk>
To: linux-sparse@vger.kernel.org
Subject: Re: hang with current sparse with upstream linux arm64 build
Date: Mon, 23 Feb 2026 14:07:45 +0000	[thread overview]
Message-ID: <54d24dbb-eec2-4759-970c-4d7d3e48e6df@codethink.co.uk> (raw)
In-Reply-To: <174fb380-6711-4305-b857-4b1ae86c74de@codethink.co.uk>

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 <torvalds@linux-foundation.org>
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

The stderr output before it hangs is:
drivers/clk/clk.c:4124:15: error: Expected ) in function call
drivers/clk/clk.c:4124:15: error: got ,
drivers/clk/clk.c:4124:15: error: Expected ) in function call
drivers/clk/clk.c:4124:15: error: got ,
drivers/clk/clk.c:4124:15: error: Expected ) in function call
drivers/clk/clk.c:4124:15: error: got ,
drivers/clk/clk.c:4241:19: error: Expected ) in function call
drivers/clk/clk.c:4241:19: error: got ,
drivers/clk/clk.c:4241:19: error: Expected ) in function call
drivers/clk/clk.c:4241:19: error: got ,
drivers/clk/clk.c:4241:19: error: Expected ) in function call
drivers/clk/clk.c:4241:19: error: got ,
drivers/clk/clk.c:4331:16: error: Expected ) in function call
drivers/clk/clk.c:4331:16: error: got ,
drivers/clk/clk.c:4331:16: error: Expected ) in function call
drivers/clk/clk.c:4331:16: error: got ,
drivers/clk/clk.c:4331:16: error: Expected ) in function call
drivers/clk/clk.c:4331:16: error: got ,
drivers/clk/clk.c:4816:14: error: Expected ) in function call
drivers/clk/clk.c:4816:14: error: got ,
drivers/clk/clk.c:4816:14: error: Expected ) in function call
drivers/clk/clk.c:4816:14: error: got ,
drivers/clk/clk.c:4816:14: error: Expected ) in function call
drivers/clk/clk.c:4816:14: error: got ,
drivers/clk/clk.c:5012:14: error: Expected ) in function call
drivers/clk/clk.c:5012:14: error: got ,
drivers/clk/clk.c:5012:14: error: Expected ) in function call
drivers/clk/clk.c:5012:14: error: got ,
drivers/clk/clk.c:5012:14: error: Expected ) in function call
drivers/clk/clk.c:5054:14: error: Expected ) in function call
drivers/clk/clk.c:5054:14: error: got ,
drivers/clk/clk.c:5054:14: error: Expected ) in function call
drivers/clk/clk.c:5054:14: error: got ,
drivers/clk/clk.c:5054:14: error: Expected ) in function call
drivers/clk/clk.c:5054:14: 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: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'
drivers/clk/clk.c:4124:15: error: undefined identifier '__VA_OPT__'
drivers/clk/clk.c:4124:15: error: undefined identifier '_res'
drivers/clk/clk.c:4241:19: error: undefined identifier '_res'
drivers/clk/clk.c:4241:19: error: undefined identifier '__VA_OPT__'
drivers/clk/clk.c:4241:19: error: undefined identifier '_res'
drivers/clk/clk.c:4241:19: error: undefined identifier '__VA_OPT__'
drivers/clk/clk.c:4241:19: error: undefined identifier '_res'
drivers/clk/clk.c:4331:16: error: undefined identifier '_res'
drivers/clk/clk.c:4331:16: error: undefined identifier '__VA_OPT__'
drivers/clk/clk.c:4331:16: error: undefined identifier '_res'
drivers/clk/clk.c:4331:16: error: undefined identifier '__VA_OPT__'
drivers/clk/clk.c:4331:16: error: undefined identifier '_res'
drivers/clk/clk.c:4816:14: error: undefined identifier '_res'
drivers/clk/clk.c:4816:14: error: undefined identifier '__VA_OPT__'
drivers/clk/clk.c:4816:14: error: undefined identifier '_res'
drivers/clk/clk.c:4816:14: error: undefined identifier '__VA_OPT__'
drivers/clk/clk.c:4816:14: error: undefined identifier '_res'
drivers/clk/clk.c:5012:14: error: undefined identifier '_res'
drivers/clk/clk.c:5012:14: error: undefined identifier '__VA_OPT__'
drivers/clk/clk.c:5012:14: error: undefined identifier '_res'
drivers/clk/clk.c:5012:14: error: undefined identifier '__VA_OPT__'
drivers/clk/clk.c:5012:14: error: undefined identifier '_res'
drivers/clk/clk.c:5054:14: error: undefined identifier '_res'
drivers/clk/clk.c:5054:14: error: undefined identifier '__VA_OPT__'
drivers/clk/clk.c:5054:14: error: undefined identifier '_res'


-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

https://www.codethink.co.uk/privacy.html

  reply	other threads:[~2026-02-23 14:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-23 10:51 hang with current sparse with upstream linux arm64 build Ben Dooks
2026-02-23 14:07 ` Ben Dooks [this message]
2026-02-23 14:46   ` Richard Fitzgerald
2026-02-23 16:43   ` Linus Torvalds
2026-02-23 17:20     ` Richard Fitzgerald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54d24dbb-eec2-4759-970c-4d7d3e48e6df@codethink.co.uk \
    --to=ben.dooks@codethink.co.uk \
    --cc=linux-sparse@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox