* [BUG] topology.c fails to build with clang-24
@ 2026-11-21 18:41 Marc Kleine-Budde
2026-11-21 18:47 ` Marc Kleine-Budde
2026-11-22 22:04 ` Nathan Chancellor
0 siblings, 2 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2026-11-21 18:41 UTC (permalink / raw)
To: Ingo Molnar, Peter Zijlstra, Juri Lelli, Vincent Guittot,
Dietmar Eggemann, Steven Rostedt, Ben Segall, Mel Gorman,
Valentin Schneider, K Prateek Nayak
Cc: linux-kernel, kernel
[-- Attachment #1: Type: text/plain, Size: 1599 bytes --]
Hello,
current Linus master commit c44104f3642d ("Merge tag
'drm-fixes-2026-11-21' of https://gitlab.freedesktop.org/drm/kernel")
fails to build with Debian's clang-24 from experimental:
| $ clang-24 --version
| Debian clang version 24.0.0 (++20261119065354+16721c9d8e82-1~exp1)
| Target: x86_64-pc-linux-gnu
| Thread model: posix
| InstalledDir: /usr/lib/llvm-24/bin
Standard x86-64 defconfig compilation, with LLVM=-24.
| In file included from kernel/sched/build_utility.c:86:
| kernel/sched/topology.c:2008:29: error: unsequenced accesses to volatile qualified 'jiffies' [-Werror,-Wunsequenced-volatile]
| 1998 | .last_balance = jiffies,
| | ~~~~~~~
| 1999 | .balance_interval = sd_weight,
| 2000 |
| 2001 | /* 50% success rate */
| 2002 | .newidle_call = 512,
| 2003 | .newidle_success = 256,
| 2004 | .newidle_ratio = 512,
| 2005 | .newidle_stamp = now,
| 2006 |
| 2007 | .max_newidle_lb_cost = 0,
| 2008 | .last_decay_max_lb_cost = jiffies,
| | ^
| 1 error generated.
regards,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [BUG] topology.c fails to build with clang-24
2026-11-21 18:41 [BUG] topology.c fails to build with clang-24 Marc Kleine-Budde
@ 2026-11-21 18:47 ` Marc Kleine-Budde
2026-11-22 22:04 ` Nathan Chancellor
1 sibling, 0 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2026-11-21 18:47 UTC (permalink / raw)
To: Ingo Molnar, Peter Zijlstra, Juri Lelli, Vincent Guittot,
Dietmar Eggemann, Steven Rostedt, Ben Segall, Mel Gorman,
Valentin Schneider, K Prateek Nayak
Cc: linux-kernel, kernel
[-- Attachment #1: Type: text/plain, Size: 675 bytes --]
On 21.11.2026 19:41:20, Marc Kleine-Budde wrote:
> Hello,
>
> current Linus master commit c44104f3642d ("Merge tag
> 'drm-fixes-2026-11-21' of https://gitlab.freedesktop.org/drm/kernel")
> fails to build with Debian's clang-24 from experimental:
This is already discussed in:
https://lore.kernel.org/all/20261116-topology-wunsequenced-v2-1-54611119172b@kernel.org/
Sorry for the noise,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [BUG] topology.c fails to build with clang-24
2026-11-21 18:41 [BUG] topology.c fails to build with clang-24 Marc Kleine-Budde
2026-11-21 18:47 ` Marc Kleine-Budde
@ 2026-11-22 22:04 ` Nathan Chancellor
1 sibling, 0 replies; 3+ messages in thread
From: Nathan Chancellor @ 2026-11-22 22:04 UTC (permalink / raw)
To: Marc Kleine-Budde
Cc: Ingo Molnar, Peter Zijlstra, Juri Lelli, Vincent Guittot,
Dietmar Eggemann, Steven Rostedt, Ben Segall, Mel Gorman,
Valentin Schneider, K Prateek Nayak, linux-kernel, kernel
On Sat, Nov 21, 2026 at 07:41:20PM +0100, Marc Kleine-Budde wrote:
> Hello,
>
> current Linus master commit c44104f3642d ("Merge tag
> 'drm-fixes-2026-11-21' of https://gitlab.freedesktop.org/drm/kernel")
> fails to build with Debian's clang-24 from experimental:
>
> | $ clang-24 --version
> | Debian clang version 24.0.0 (++20261119065354+16721c9d8e82-1~exp1)
> | Target: x86_64-pc-linux-gnu
> | Thread model: posix
> | InstalledDir: /usr/lib/llvm-24/bin
>
> Standard x86-64 defconfig compilation, with LLVM=-24.
>
> | In file included from kernel/sched/build_utility.c:86:
> | kernel/sched/topology.c:2008:29: error: unsequenced accesses to volatile qualified 'jiffies' [-Werror,-Wunsequenced-volatile]
> | 1998 | .last_balance = jiffies,
> | | ~~~~~~~
> | 1999 | .balance_interval = sd_weight,
> | 2000 |
> | 2001 | /* 50% success rate */
> | 2002 | .newidle_call = 512,
> | 2003 | .newidle_success = 256,
> | 2004 | .newidle_ratio = 512,
> | 2005 | .newidle_stamp = now,
> | 2006 |
> | 2007 | .max_newidle_lb_cost = 0,
> | 2008 | .last_decay_max_lb_cost = jiffies,
> | | ^
> | 1 error generated.
I sent
https://lore.kernel.org/20261116-topology-wunsequenced-v2-1-54611119172b@kernel.org/
for this but I am still waiting for it to be picked up (or told how to
make it acceptable if it is truly rejected).
--
Cheers,
Nathan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-11-22 22:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-21 18:41 [BUG] topology.c fails to build with clang-24 Marc Kleine-Budde
2026-11-21 18:47 ` Marc Kleine-Budde
2026-11-22 22:04 ` Nathan Chancellor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox