On Fri, Feb 12, 2021 at 12:21 PM Vincenzo Frascino <vincenzo.frascino@xxxxxxx> wrote: > > Hi Andrey, > > On 2/11/21 8:13 PM, Andrey Konovalov wrote: > >>>> riscv64-linux-ld: report.c:(.text+0x5c4): undefined reference to `kasan_flag_async' > > Let's do something like this (untested): > > > > https://github.com/xairy/linux/commit/91354d34b30ceedbc1b6417f1ff253de90618a97 > > Could you reproduce this? I tried yesterday before posting the patches and my > conclusion was that kbuild robot is testing on the wrong tree. > > I give it another go today, if you have more details based on your testing feel > free to share. I haven't tried reproducing, but the error makes sense. There's no definition of kasan_flag_async for KASAN modes other than HW_TAGS.