# Kernel build failure with MEM\_ALLOC\_PROFILING=y set (Talos II, v6.10-rc5)

- From: Erhard Furtner \<hidden\>
- Date: 2024-06-29 13:32:27 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2024/06/9534332
- Thread: https://ratatoskr.run/linuxppc-dev/2024/06/9534332/t.md

```text
Greetings!

I get a build failure on v6.10-rc5 on my Talos II when MEM_ALLOC_PROFILING=y is enabled:

[...]
  LD [M]  fs/xfs/xfs.o
  LD [M]  fs/bcachefs/bcachefs.o
  AR      built-in.a
  AR      vmlinux.a
  LD      vmlinux.o
  OBJCOPY modules.builtin.modinfo
  GEN     modules.builtin
  GEN     .vmlinux.objs
  MODPOST Module.symvers
ERROR: modpost: "page_ext_get" [arch/powerpc/kvm/kvm-hv.ko] undefined!
ERROR: modpost: "mem_alloc_profiling_key" [arch/powerpc/kvm/kvm-hv.ko] undefined!
ERROR: modpost: "page_ext_put" [arch/powerpc/kvm/kvm-hv.ko] undefined!
make[2]: *** [scripts/Makefile.modpost:145: Module.symvers] Fehler 1
make[1]: *** [/usr/src/linux-stable/Makefile:1886: modpost] Fehler 2
make: *** [Makefile:240: __sub-make] Fehler 2

Same .config builds fine without MEM_ALLOC_PROFILING set. Kernel .config attached.

Regards,
Erhard
```

## Attachments

- [config\_610-rc5\_p9](https://ratatoskr.run/linuxppc-dev/2024/06/9534332/attachment/0) (application/octet-stream, 128027 bytes)
