Thread (17 messages) 17 messages, 5 authors, 2026-01-08

Re: [PATCH v3 0/8] Generic IRQ entry/exit support for powerpc

From: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org>
Date: 2026-01-08 06:05:53
Also in: lkml

Hi,

Le 08/01/2026 à 06:16, Venkat a écrit :
With this patch set, build fails.

Failure logs:

ld: init/main.o: in function `do_one_initcall':
/root/linux/init/main.c:1384: undefined reference to `memcpy'
I guess you have KASAN enabled ?

See 
https://lore.kernel.org/all/0947502d-96e3-4179-ae48-603de74dc7b3@kernel.org/ (local)

This is because of commit 69d4c0d32186 ("entry, kasan, x86: Disallow 
overriding mem*() functions") which changed the core behaviour in 2023 
without taking care of other architectures than x86 who was the only one 
with CONFIG_GENERIC_ENTRY ?

For powerpc the expected behaviour introduced in 2019 by commit 
26deb04342e3 ("powerpc: prepare string/mem functions for KASAN") needs 
to be modified the same way to fit with the core change.

Christophe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help