Re: Linux 6.18.17 -- build regression
From: Richard Narron
Date: Fri Mar 13 2026 - 18:11:14 EST
On Thu, 12 Mar 2026, Sasha Levin wrote:
> On Thu, Mar 12, 2026 at 06:24:19PM -0400, Cal Peake wrote:
> > On Thu, 12 Mar 2026, Sasha Levin wrote:
> >
> > > I'm announcing the release of the 6.18.17 kernel.
> > >
> > > All users of the 6.18 kernel series must upgrade.
> > >
> >
> > Hi,
> >
> > This release breaks my build with the following output:
> >
> > LD .tmp_vmlinux1
> > ld: drivers/cxl/acpi.o: in function `add_root_nvdimm_bridge':
> > acpi.c:(.text+0x16f): undefined reference to `devm_cxl_add_nvdimm_bridge'
> > make[2]: *** [scripts/Makefile.vmlinux:72: vmlinux.unstripped] Error 1
> > make[1]: *** [/home/cal/linux/kernel/build/linux-6.18.17/Makefile:1242:
> > vmlinux] Error 2
> > make: *** [Makefile:248: __sub-make] Error 2
> >
> > I've attached my gzipped config. Commit af9bf9889663 looks possibly
> > guilty, but I don't have time at the moment to fully verify.
> >
> > Please let me know if I can provide anything else.
>
> Hey,
>
> Thanks for the report!
>
> Could you please confirm that cherry-picking 93d0fcdddc9e ("cxl/acpi: Fix
> CXL_ACPI and CXL_PMEM Kconfig tristate mismatch") fixes the issue you're
> seeing?
>
Hello Sasha,
Patrick Volkerding found a patch that worked for me:
https://lore.kernel.org/lkml/20260302200429.803417-1-gourry@xxxxxxxxxx/
In drivers/cxl/acpi.c
static int cxl_acpi_probe(struct platform_device *pdev)
it changes IS_ENABLED(CONFIG_CXL_PMEM)
to IS_REACHABLE(CONFIG_CXL_PMEM)
Richard Narron