[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202108250322.vS0VcwCh-lkp@intel.com>
Date: Wed, 25 Aug 2021 03:59:29 +0800
From: kernel test robot <lkp@...el.com>
To: Anup Patel <anup.patel@....com>
Cc: clang-built-linux@...glegroups.com, kbuild-all@...ts.01.org,
linux-kernel@...r.kernel.org
Subject: [avpatel:riscv_kvm_aia_v1 22/44] WARNING: modpost:
vmlinux.o(.text+0x52dc): Section mismatch in reference from the function
riscv_ipi_setup() to the function .init.text:sbi_ipi_init()
Hi Anup,
FYI, the error/warning still remains.
tree: https://github.com/avpatel/linux.git riscv_kvm_aia_v1
head: 02cc9f6a02a4cd96882f719d53e5f3e16e549288
commit: b558ac643cf43938bfd21643ec02336eb045ebae [22/44] RISC-V: Treat IPIs as normal Linux IRQs
config: riscv-randconfig-r024-20210824 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project d26000e4cc2bc65e207a84fa26cb6e374d60aa12)
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 riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
# https://github.com/avpatel/linux/commit/b558ac643cf43938bfd21643ec02336eb045ebae
git remote add avpatel https://github.com/avpatel/linux.git
git fetch --no-tags avpatel riscv_kvm_aia_v1
git checkout b558ac643cf43938bfd21643ec02336eb045ebae
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=riscv 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+0x52dc): Section mismatch in reference from the function riscv_ipi_setup() to the function .init.text:sbi_ipi_init()
The function riscv_ipi_setup() references
the function __init sbi_ipi_init().
This is often because riscv_ipi_setup lacks a __init
annotation or the annotation of sbi_ipi_init is wrong.
---
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" (32576 bytes)
Powered by blists - more mailing lists