[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202211012201.VNdfUEyW-lkp@intel.com>
Date: Tue, 1 Nov 2022 22:59:21 +0800
From: kernel test robot <lkp@...el.com>
To: Jisheng Zhang <jszhang@...nel.org>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] riscv: vdso: fix build with llvm
Hi Jisheng,
I love your patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v6.1-rc3 next-20221101]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Jisheng-Zhang/riscv-vdso-fix-build-with-llvm/20221101-101926
patch link: https://lore.kernel.org/r/20221031182943.2453-1-jszhang%40kernel.org
patch subject: [PATCH] riscv: vdso: fix build with llvm
config: riscv-randconfig-r022-20221030
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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/intel-lab-lkp/linux/commit/9a1e0495b1c93ca30480a13701a1c0f78fd04e6a
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Jisheng-Zhang/riscv-vdso-fix-build-with-llvm/20221101-101926
git checkout 9a1e0495b1c93ca30480a13701a1c0f78fd04e6a
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv prepare
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> ld.lld: error: section .dynamic file range overlaps with .text
>>> .dynamic range is [0x760, 0x88F]
>>> .text range is [0x800, 0x178B]
--
>> ld.lld: error: section .text file range overlaps with _ftrace_branch
>>> .text range is [0x800, 0x178B]
>>> _ftrace_branch range is [0x890, 0x9F7]
--
>> ld.lld: error: section .dynamic virtual address range overlaps with .text
>>> .dynamic range is [0x760, 0x88F]
>>> .text range is [0x800, 0x178B]
--
>> ld.lld: error: section .text virtual address range overlaps with _ftrace_branch
>>> .text range is [0x800, 0x178B]
>>> _ftrace_branch range is [0x890, 0x9F7]
--
>> ld.lld: error: section .dynamic load address range overlaps with .text
>>> .dynamic range is [0x760, 0x88F]
>>> .text range is [0x800, 0x178B]
--
>> ld.lld: error: section .text load address range overlaps with _ftrace_branch
>>> .text range is [0x800, 0x178B]
>>> _ftrace_branch range is [0x890, 0x9F7]
--
>> ld.lld: error: section .text load address range overlaps with _ftrace_branch
>>> .text range is [0x800, 0x178B]
>>> _ftrace_branch range is [0x890, 0x9F7]
--
scripts/genksyms/parse.y: warning: 9 shift/reduce conflicts [-Wconflicts-sr]
scripts/genksyms/parse.y: warning: 5 reduce/reduce conflicts [-Wconflicts-rr]
scripts/genksyms/parse.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
>> ld.lld: error: section .dynamic file range overlaps with .text
>>> .dynamic range is [0x760, 0x88F]
>>> .text range is [0x800, 0x178B]
--
>> ld.lld: error: section .text load address range overlaps with _ftrace_branch
>>> .text range is [0x800, 0x178B]
>>> _ftrace_branch range is [0x890, 0x9F7]
llvm-nm: error: arch/riscv/kernel/vdso/vdso.so.dbg: No such file or directory
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (142327 bytes)
Powered by blists - more mailing lists