* External kmod build failed on KASAN-enabled kernel
@ 2020-06-30 8:34 richard clark
0 siblings, 0 replies; only message in thread
From: richard clark @ 2020-06-30 8:34 UTC (permalink / raw)
To: linux-kernel, stable
Hi,
The same kmod source code can be built on KASAN-disabled kernel
(5.7.0), but after enable it with CONFIG_KASAN=y, the kmod can't build
on the new installed KASAN-enabled kernel with below error message,
seems no relevant answers for this issue with google:
root@build-ws:/home/mm/slab# make
make -C /lib/modules/5.7.0/build M=/home/mm/slab modules
make[1]: Entering directory '/home/linux-5.7'
CC [M] /home/mm/slab/tap_slab.o
MODPOST 1 modules
ERROR: modpost: "__asan_register_globals" [/home/mm/slab/tap_slab.ko] undefined!
ERROR: modpost: "__asan_unregister_globals"
[/home/mm/slab/tap_slab.ko] undefined!
ERROR: modpost: "__asan_load8_noabort" [/home/mm/slab/tap_slab.ko] undefined!
scripts/Makefile.modpost:94: recipe for target '__modpost' failed
make[2]: *** [__modpost] Error 1
Makefile:1642: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/home/linux-5.7'
Makefile:6: recipe for target 'default' failed
make: *** [default] Error 2
===
Regards,
Richard
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-06-30 8:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-30 8:34 External kmod build failed on KASAN-enabled kernel richard clark
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).