drivers/infiniband/core/.tmp_gl_uverbs_main.o:undefined reference to `__user_bad'
From: kbuild test robot
Date: Fri Jan 11 2019 - 09:53:14 EST
Hi Masahiro,
It's probably a bug fix that unveils the link errors.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 1bdbe227492075d058e37cb3d400e6468d0095b5
commit: 3bd6e94bec122a951d462c239b47954cf5f36e33 arch: restore generic-y += shmparam.h for some architectures
date: 5 days ago
config: microblaze-allyesconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 8.1.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 3bd6e94bec122a951d462c239b47954cf5f36e33
# save the attached .config to linux build tree
GCC_VERSION=8.1.0 make.cross ARCH=microblaze
All errors (new ones prefixed by >>):
`.exit.data' referenced in section `.exit.text' of drivers/tty/n_hdlc.o: defined in discarded section `.exit.data' of drivers/tty/n_hdlc.o
`.exit.data' referenced in section `.exit.text' of drivers/tty/n_hdlc.o: defined in discarded section `.exit.data' of drivers/tty/n_hdlc.o
drivers/infiniband/core/uverbs_main.o: In function `ib_uverbs_write':
>> drivers/infiniband/core/.tmp_gl_uverbs_main.o:(.text+0x139c): undefined reference to `__user_bad'
drivers/android/binder.o: In function `binder_thread_write':
>> drivers/android/.tmp_gl_binder.o:(.text+0xdbb8): undefined reference to `__user_bad'
drivers/android/.tmp_gl_binder.o:(.text+0xdbe4): undefined reference to `__user_bad'
drivers/android/.tmp_gl_binder.o:(.text+0xe05c): undefined reference to `__user_bad'
drivers/android/.tmp_gl_binder.o:(.text+0xe5d8): undefined reference to `__user_bad'
drivers/android/binder.o:drivers/android/.tmp_gl_binder.o:(.text+0xebb8): more undefined references to `__user_bad' follow
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip