Re: linux-next: build failure after merge of the tip tree

From: Marc Zyngier
Date: Tue Aug 27 2024 - 02:50:53 EST


On Tue, 27 Aug 2024 04:11:32 +0100,
Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> On Tue, 27 Aug 2024 12:50:43 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> >
> > After merging the tip tree, today's linux-next build (x86_64 allmodconfig)
> > failed like this:
>
> In file included from include/asm-generic/percpu.h:7,
> from arch/x86/include/asm/percpu.h:616,
> from arch/x86/include/asm/preempt.h:6,
> from include/linux/preempt.h:79,
> from include/linux/spinlock.h:56,
> from include/linux/irq.h:14,
> from kernel/irq/manage.c:11:
> kernel/irq/manage.c: In function 'irq_do_set_affinity':
> include/linux/percpu-defs.h:92:40: error: section attribute cannot be specified for local variables
> 92 | extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \

Crap. This seems to be caused by CONFIG_DEBUG_FORCE_WEAK_PER_CPU.

I'll respin a new version of this change shortly.

Thanks again for the heads up.

M.

--
Without deviation from the norm, progress is not possible.