All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [peterz-queue:x86/module 3/5] /usr/bin/ld: arch/x86/um/../kernel/module.c:272: undefined reference to `split_lock_enabled'
Date: Sat, 30 May 2020 17:09:55 +0800	[thread overview]
Message-ID: <202005301751.8ic4dpU4%lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2020-05-30  9:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202005301751.8ic4dpU4%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.