lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e18ac87b-0034-4297-ae15-0dd0a36abb15@kernel.org>
Date: Thu, 8 Jan 2026 07:05:42 +0100
From: "Christophe Leroy (CS GROUP)" <chleroy@...nel.org>
To: Venkat <venkat88@...ux.ibm.com>,
 Mukesh Kumar Chaurasiya <mkchauras@...ux.ibm.com>,
 Peter Zijlstra <peterz@...radead.org>
Cc: Madhavan Srinivasan <maddy@...ux.ibm.com>,
 Michael Ellerman <mpe@...erman.id.au>, Nicholas Piggin <npiggin@...il.com>,
 oleg@...hat.com, kees@...nel.org, luto@...capital.net, wad@...omium.org,
 mchauras@...ux.ibm.com, thuth@...hat.com,
 Shrikanth Hegde <sshegde@...ux.ibm.com>,
 Andrew Morton <akpm@...ux-foundation.org>, macro@...am.me.uk, deller@....de,
 ldv@...ace.io, charlie@...osinc.com, segher@...nel.crashing.org,
 bigeasy@...utronix.de, namcao@...utronix.de,
 Thomas Gleixner <tglx@...utronix.de>, Kan Liang <kan.liang@...ux.intel.com>,
 mark.barnett@....com, linuxppc-dev <linuxppc-dev@...ts.ozlabs.org>,
 LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 0/8] Generic IRQ entry/exit support for powerpc

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/

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ