Re: [PATCH] um: Avoid longjmp/setjmp symbol clashes with libpthread.a

From: kbuild test robot
Date: Wed May 24 2017 - 12:22:19 EST


Hi Florian,

[auto build test ERROR on linus/master]
[also build test ERROR on v4.12-rc2 next-20170524]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Florian-Fainelli/um-Avoid-longjmp-setjmp-symbol-clashes-with-libpthread-a/20170524-154948
config: um-allnoconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=um

All errors (new ones prefixed by >>):

arch/um/kernel/built-in.o: In function `segv':
>> (.text+0x34bd): undefined reference to `kernel_longjmp'
arch/um/kernel/built-in.o: In function `bus_handler':
(.text+0x38c6): undefined reference to `kernel_longjmp'
arch/um/os-Linux/built-in.o: In function `switch_threads':
(.text+0x4e7d): undefined reference to `kernel_longjmp'
arch/um/os-Linux/built-in.o: In function `start_idle_thread':
(.text+0x4f20): undefined reference to `kernel_longjmp'
arch/um/os-Linux/built-in.o: In function `start_idle_thread':
(.text+0x4f58): undefined reference to `kernel_longjmp'
arch/um/os-Linux/built-in.o:(.text+0x4fab): more undefined references to `kernel_longjmp' follow
collect2: error: ld returned 1 exit status

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip