lkml.org 
[lkml]   [2021]   [Jul]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectWARNING: modpost: vmlinux.o(.text+0x18deea): Section mismatch in reference from the function __first_node() to the variable .init.data:numa_nodes_parsed
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2734d6c1b1a089fb593ef6a23d4b70903526fe0c
commit: 2cc7b6a44ac21d31b398b03f4845c53152070416 lib: add fast path for find_first_*_bit() and find_last_bit()
date: 2 months ago
config: x86_64-randconfig-r026-20210720 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 5d5b08761f944d5b9822d582378333cc4b36a0a7)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2cc7b6a44ac21d31b398b03f4845c53152070416
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 2cc7b6a44ac21d31b398b03f4845c53152070416
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>, old ones prefixed by <<):

>> WARNING: modpost: vmlinux.o(.text+0x18deea): Section mismatch in reference from the function __first_node() to the variable .init.data:numa_nodes_parsed
The function __first_node() references
the variable __initdata numa_nodes_parsed.
This is often because __first_node lacks a __initdata
annotation or the annotation of numa_nodes_parsed is wrong.

The below error/warnings are from parent commit:
<< WARNING: modpost: vmlinux.o(.text+0x18ddf7): Section mismatch in reference from the function test_bit() to the variable .init.data:numa_nodes_parsed
<< WARNING: modpost: vmlinux.o(.text+0x18de2c): Section mismatch in reference from the function __nodes_weight() to the variable .init.data:numa_nodes_parsed
<< WARNING: modpost: vmlinux.o(.text+0x18de51): Section mismatch in reference from the function __next_node() to the variable .init.data:numa_nodes_parsed
<< WARNING: modpost: vmlinux.o(.text+0x4dc0cd): Section mismatch in reference from the function shuffle_zone() to the function .meminit.text:__shuffle_zone()

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-07-20 08:14    [W:0.206 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site