On Sat, Jul 06, 2019 at 12:08:59AM +0800, kbuild test robot wrote: > tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y > head: af13e6db0db43996e060d2b9ca57f60b09d08cb8 > commit: 273b0e9d8a3e0970fab8ad1b037adf9e3a9fc63b [9986/9999] bug.h: work around GCC PR82365 in BUG() > config: arc-defconfig (attached as .config) > compiler: arc-elf-gcc (GCC) 7.4.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 273b0e9d8a3e0970fab8ad1b037adf9e3a9fc63b > # save the attached .config to linux build tree > GCC_VERSION=7.4.0 make.cross ARCH=arc > > If you fix the issue, kindly add following tag > Reported-by: kbuild test robot <lkp@xxxxxxxxx> > > All errors (new ones prefixed by >>): > > arch/arc/built-in.o: In function `genregs_set': > >> ptrace.c:(.text+0x9bc): undefined reference to `abort' > >> ptrace.c:(.text+0x9bc): undefined reference to `abort' > arch/arc/built-in.o: In function `genregs_get': > ptrace.c:(.text+0x2de8): undefined reference to `abort' > ptrace.c:(.text+0x2de8): undefined reference to `abort' > arch/arc/built-in.o: In function `arc_pmu_device_probe': > >> perf_event.c:(.text+0x99e6): undefined reference to `abort' > arch/arc/built-in.o:perf_event.c:(.text+0x99e6): more undefined references to `abort' follow I've queued up af1be2e21203 ("ARC: handle gcc generated __builtin_trap for older compiler") to hopefully resolve this now. thanks, greg k-h