public inbox for linux-sparse@vger.kernel.org
 help / color / mirror / Atom feed
From: Richard Fitzgerald <rf@opensource.cirrus.com>
To: Ben Dooks <ben.dooks@codethink.co.uk>, linux-sparse@vger.kernel.org
Cc: patches@opensource.cirrus.com
Subject: Re: hang with current sparse with upstream linux arm64 build
Date: Mon, 23 Feb 2026 14:46:21 +0000	[thread overview]
Message-ID: <f6e6bdde-3cac-4e74-9f80-1ccce895fe5a@opensource.cirrus.com> (raw)
In-Reply-To: <54d24dbb-eec2-4759-970c-4d7d3e48e6df@codethink.co.uk>

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 <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
>

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


  reply	other threads:[~2026-02-23 14:46 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
2026-02-23 14:46   ` Richard Fitzgerald [this message]
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=f6e6bdde-3cac-4e74-9f80-1ccce895fe5a@opensource.cirrus.com \
    --to=rf@opensource.cirrus.com \
    --cc=ben.dooks@codethink.co.uk \
    --cc=linux-sparse@vger.kernel.org \
    --cc=patches@opensource.cirrus.com \
    /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