ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(build_policy.o at 732976)'
From: kernel test robot
Date: Thu Aug 14 2025 - 01:54:57 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0cc53520e68bea7fb80fdc6bdf8d226d1b6a98d9
commit: 8f2146159b3a24d4fde0479c5e19f31908419004 Merge branch 'tip/sched/urgent'
date: 4 weeks ago
config: riscv-randconfig-r064-20250813 (https://download.01.org/0day-ci/archive/20250814/202508141341.Kqi1HOSv-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250814/202508141341.Kqi1HOSv-lkp@xxxxxxxxx/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508141341.Kqi1HOSv-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(security.o at 770236)'
>> ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(build_policy.o at 732976)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(memory.o at 744976)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(send.o at 765796)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(btf.o at 741556)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(testmgr.o at 773716)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(binder.o at 904276)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(inode.o at 764116)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(volumes.o at 764656)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(hugetlb.o at 746596)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(segment.o at 767896)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(ctree.o at 763576)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(file.o at 767296)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(page_alloc.o at 745936)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(namespace.o at 750256)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(node.o at 767836)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(vmscan.o at 743776)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(pci.o at 810796)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(data.o at 767776)'
ld.lld: error: Function Import: link error: linking module flags 'Code Model': IDs have conflicting values in 'vmlinux.a(init.o at 729676)' and 'vmlinux.a(syscall.o at 739936)'
ld.lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki