[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202107200908.KLboisRL-lkp@intel.com>
Date: Tue, 20 Jul 2021 09:22:16 +0800
From: kernel test robot <lkp@...el.com>
To: Yury Norov <yury.norov@...il.com>
Cc: clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Memory Management List <linux-mm@...ck.org>
Subject: WARNING: 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@...el.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
Download attachment ".config.gz" of type "application/gzip" (34589 bytes)
Powered by blists - more mailing lists