HI,
i try to build a Samsung Kernel with KASAN enabled but have problems getting it compiled.
how would you proceed from there to make it a successfull build?
I tried several cross compilers but i always end up with the same errors.
-------------------cut-------------------------------------
/home/kerneldev/kernel/net/core/rtnetlink.c:2557: undefined reference to `__asan_alloca_poison'
/home/kerneldev/kernel/net/core/rtnetlink.c:2558: undefined reference to `__asan_alloca_poison'
/home/kerneldev/kernel/net/core/rtnetlink.c:2745: undefined reference to `__asan_allocas_unpoison'
/home/kerneldev/kernel/net/core/rtnetlink.c:2745: undefined reference to `__asan_allocas_unpoison'
/home/kerneldev/kernel/net/core/rtnetlink.c:2746: undefined reference to `__asan_allocas_unpoison'
net/netfilter/nfnetlink.o: In function `nfnetlink_rcv_msg':
/home/kerneldev/kernel/net/netfilter/nfnetlink.c:190: undefined reference to `__asan_alloca_poison'
/home/kerneldev/kernel/net/netfilter/nfnetlink.c:224: undefined reference to `__asan_allocas_unpoison'
/home/kerneldev/kernel/net/netfilter/nfnetlink.c:224: undefined reference to `__asan_allocas_unpoison'
/home/kerneldev/kernel/net/netfilter/nfnetlink.c:225: undefined reference to `__asan_allocas_unpoison'
net/netfilter/nfnetlink.o: In function `nfnetlink_rcv_batch':
/home/kerneldev/kernel/net/netfilter/nfnetlink.c:407: undefined reference to `__asan_allocas_unpoison'
/home/kerneldev/kernel/net/netfilter/nfnetlink.c:384: undefined reference to `__asan_alloca_poison'
/home/kerneldev/kernel/net/netfilter/nfnetlink.c:454: undefined reference to `__asan_allocas_unpoison'
net/bluetooth/smp.o: In function `aes_cmac':
/home/kerneldev/kernel/net/bluetooth/smp.c:175: undefined reference to `__asan_alloca_poison'
/home/kerneldev/kernel/net/bluetooth/smp.c:214: undefined reference to `__asan_allocas_unpoison'
/home/kerneldev/kernel/net/bluetooth/smp.c:214: undefined reference to `__asan_allocas_unpoison'
net/wireless/nl80211.o: In function `nl80211_send_wiphy':
/home/kerneldev/kernel/net/wireless/nl80211.c:1914: undefined reference to `__asan_set_shadow_00'-------------------cut-------------------------------------
the only thing i could find was a stackoverflow post [1] but this guy also had no solution to the problem.
Thanks for any help!