On Sat, Mar 7, 2020 at 4:16 AM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote: > > On Sat, 7 Mar 2020 02:42:14 +0800 kbuild test robot <lkp@xxxxxxxxx> wrote: > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > head: b86a6a241b7c60ca7a6ca4fb3c0d2aedbbf2c1b6 > > commit: 2d8fce24a0fb125e4fbbd4bb546cc0f9e6122d8d [6276/7050] kasan: stackdepot: move filter_irq_stacks() to stackdepot.c > > config: ia64-randconfig-a001-20200306 (attached as .config) > > compiler: ia64-linux-gcc (GCC) 7.5.0 > > reproduce: > > wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > git checkout 2d8fce24a0fb125e4fbbd4bb546cc0f9e6122d8d > > # save the attached .config to linux build tree > > GCC_VERSION=7.5.0 make.cross ARCH=ia64 > > > > If you fix the issue, kindly add following tag > > Reported-by: kbuild test robot <lkp@xxxxxxxxx> > > > > All errors (new ones prefixed by >>): > > > > lib/stackdepot.o: In function `in_irqentry_text': > > >> lib/stackdepot.c:326: undefined reference to `__irqentry_text_start' > > >> lib/stackdepot.c:325: undefined reference to `__irqentry_text_end' > > >> lib/stackdepot.c:326: undefined reference to `__softirqentry_text_start' > > >> lib/stackdepot.c:327: undefined reference to `__softirqentry_text_end' > > >> lib/stackdepot.c:326: undefined reference to `__irqentry_text_start' > > >> lib/stackdepot.c:325: undefined reference to `__irqentry_text_end' > > >> lib/stackdepot.c:326: undefined reference to `__softirqentry_text_start' > > >> lib/stackdepot.c:327: undefined reference to `__softirqentry_text_end' > > > > Thanks. This has been known about for a couple of weeks. Alexander, did > I miss a fix? Thanks for letting me know. The previous bug was on a different arch, but the solution should probably be the same everywhere: add IRQENTRY_TEXT and SOFTIRQENTRY_TEXT to the linker scripts. I'll look into this. -- Alexander Potapenko Software Engineer Google Germany GmbH Erika-Mann-Straße, 33 80636 München Geschäftsführer: Paul Manicle, Halimah DeLaine Prado Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg