* [peterz-queue:x86/module 3/5] /usr/bin/ld: arch/x86/um/../kernel/module.c:272: undefined reference to `split_lock_enabled'
@ 2020-05-30 9:09 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-30 9:09 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3863 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git x86/module
head: 8f6b98f5b7f2f29d449890a3acdb8d5abc5f5cc9
commit: 1dfaa909cc36d86cd04446eff4c5b59e5bfc6bcc [3/5] x86,module: Detect VMX vs SLD conflicts
config: um-randconfig-r021-20200529 (attached as .config)
compiler: gcc-5 (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010
reproduce (this is a W=1 build):
git checkout 1dfaa909cc36d86cd04446eff4c5b59e5bfc6bcc
# save the attached .config to linux build tree
make W=1 ARCH=um
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
/usr/bin/ld: arch/x86/um/../kernel/module.o: in function `kernel_insn_init':
arch/x86/include/asm/insn.h:112: undefined reference to `insn_init'
/usr/bin/ld: arch/x86/um/../kernel/module.o: in function `decode_module':
arch/x86/um/../kernel/module.c:277: undefined reference to `insn_get_length'
>> /usr/bin/ld: arch/x86/um/../kernel/module.c:272: undefined reference to `split_lock_enabled'
/usr/bin/ld: arch/x86/um/../kernel/module.o: in function `insn_is_evex':
arch/x86/include/asm/insn.h:128: undefined reference to `insn_get_prefixes'
collect2: error: ld returned 1 exit status
--
cc1: warning: arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs]
In file included from include/linux/uaccess.h:11:0,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:34,
from arch/x86/um/../kernel/module.c:12:
arch/um/include/asm/uaccess.h: In function '__access_ok':
arch/um/include/asm/uaccess.h:17:29: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
(((unsigned long) (addr) >= FIXADDR_USER_START) && ^
arch/um/include/asm/uaccess.h:45:3: note: in expansion of macro '__access_ok_vsyscall'
__access_ok_vsyscall(addr, size) ||
^
In file included from include/linux/kernel.h:11:0,
from include/linux/list.h:9,
from include/linux/module.h:12,
from include/linux/moduleloader.h:6,
from arch/x86/um/../kernel/module.c:9:
include/asm-generic/fixmap.h: In function 'fix_to_virt':
include/asm-generic/fixmap.h:32:19: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
^
include/linux/compiler.h:330:9: note: in definition of macro '__compiletime_assert'
if (!(condition)) ^
include/linux/compiler.h:350:2: note: in expansion of macro '_compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
^
include/asm-generic/fixmap.h:32:2: note: in expansion of macro 'BUILD_BUG_ON'
BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
^
In file included from arch/x86/um/../kernel/module.c:27:0:
arch/x86/include/asm/cpu.h: At top level:
>> arch/x86/include/asm/cpu.h:38:31: warning: 'struct cpuinfo_x86' declared inside parameter list
int mwait_usable(const struct cpuinfo_x86 *);
^
>> arch/x86/include/asm/cpu.h:38:31: warning: its scope is only this definition or declaration, which is probably not what you want
arch/x86/include/asm/cpu.h:44:49: warning: 'struct cpuinfo_x86' declared inside parameter list
extern void __init cpu_set_core_cap_bits(struct cpuinfo_x86 *c);
^
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 16715 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-05-30 9:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-30 9:09 [peterz-queue:x86/module 3/5] /usr/bin/ld: arch/x86/um/../kernel/module.c:272: undefined reference to `split_lock_enabled' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.