* Re: [PATCH v4 6/6] RISC-V: Add hwprobe vDSO function and data
[not found] <20230314183220.513101-7-evan@rivosinc.com>
@ 2023-03-17 11:08 ` kernel test robot
2023-03-17 12:10 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-03-17 11:08 UTC (permalink / raw)
To: Evan Green, Palmer Dabbelt
Cc: llvm, oe-kbuild-all, slewis, heiko, Conor Dooley, vineetg,
Evan Green, Albert Ou, Andrew Bresticker, Atish Patra,
Celeste Liu, Davidlohr Bueso, Guo Ren, Jann Horn, Jisheng Zhang,
Liam R. Howlett, Nathan Chancellor, Paul Walmsley, linux-kernel,
linux-riscv
Hi Evan,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on v6.2]
[cannot apply to shuah-kselftest/next shuah-kselftest/fixes linus/master v6.3-rc2 v6.3-rc1 next-20230317]
[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/Evan-Green/RISC-V-Move-struct-riscv_cpuinfo-to-new-header/20230315-023754
patch link: https://lore.kernel.org/r/20230314183220.513101-7-evan%40rivosinc.com
patch subject: [PATCH v4 6/6] RISC-V: Add hwprobe vDSO function and data
config: riscv-randconfig-r033-20230312 (https://download.01.org/0day-ci/archive/20230317/202303171804.y0iCB2XM-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7)
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-riscv-linux-gnu
# https://github.com/intel-lab-lkp/linux/commit/8ded35c1c6a29c13d7509e1e845fe6bb27a4c109
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Evan-Green/RISC-V-Move-struct-riscv_cpuinfo-to-new-header/20230315-023754
git checkout 8ded35c1c6a29c13d7509e1e845fe6bb27a4c109
# 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 olddefconfig
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@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303171804.y0iCB2XM-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: relocation R_RISCV_HI20 cannot be used against symbol '_vdso_data'; recompile with -fPIC
>>> defined in arch/riscv/kernel/vdso/vdso.lds:101
>>> referenced by hwprobe.c:35 (arch/riscv/kernel/vdso/hwprobe.c:35)
>>> arch/riscv/kernel/vdso/hwprobe.o:(__vdso_riscv_hwprobe)
--
>> ld.lld: error: relocation R_RISCV_LO12_I cannot be used against symbol '_vdso_data'; recompile with -fPIC
>>> defined in arch/riscv/kernel/vdso/vdso.lds:101
>>> referenced by hwprobe.c:0 (arch/riscv/kernel/vdso/hwprobe.c:0)
>>> arch/riscv/kernel/vdso/hwprobe.o:(__vdso_riscv_hwprobe)
--
>> ld.lld: error: relocation R_RISCV_HI20 cannot be used against symbol '_vdso_data'; recompile with -fPIC
>>> defined in arch/riscv/kernel/vdso/vdso.lds:101
>>> referenced by hwprobe.c:0 (arch/riscv/kernel/vdso/hwprobe.c:0)
>>> arch/riscv/kernel/vdso/hwprobe.o:(__vdso_riscv_hwprobe)
--
>> ld.lld: error: relocation R_RISCV_LO12_I cannot be used against symbol '_vdso_data'; recompile with -fPIC
>>> defined in arch/riscv/kernel/vdso/vdso.lds:101
>>> referenced by hwprobe.c:0 (arch/riscv/kernel/vdso/hwprobe.c:0)
>>> arch/riscv/kernel/vdso/hwprobe.o:(__vdso_riscv_hwprobe)
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH v4 6/6] RISC-V: Add hwprobe vDSO function and data
[not found] <20230314183220.513101-7-evan@rivosinc.com>
2023-03-17 11:08 ` [PATCH v4 6/6] RISC-V: Add hwprobe vDSO function and data kernel test robot
@ 2023-03-17 12:10 ` kernel test robot
1 sibling, 0 replies; 2+ messages in thread
From: kernel test robot @ 2023-03-17 12:10 UTC (permalink / raw)
To: Evan Green, Palmer Dabbelt
Cc: llvm, oe-kbuild-all, slewis, heiko, Conor Dooley, vineetg,
Evan Green, Albert Ou, Andrew Bresticker, Atish Patra,
Celeste Liu, Davidlohr Bueso, Guo Ren, Jann Horn, Jisheng Zhang,
Liam R. Howlett, Nathan Chancellor, Paul Walmsley, linux-kernel,
linux-riscv
Hi Evan,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on v6.2]
[cannot apply to shuah-kselftest/next shuah-kselftest/fixes linus/master v6.3-rc2 v6.3-rc1 next-20230317]
[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/Evan-Green/RISC-V-Move-struct-riscv_cpuinfo-to-new-header/20230315-023754
patch link: https://lore.kernel.org/r/20230314183220.513101-7-evan%40rivosinc.com
patch subject: [PATCH v4 6/6] RISC-V: Add hwprobe vDSO function and data
config: riscv-randconfig-r042-20230313 (https://download.01.org/0day-ci/archive/20230317/202303171953.6DiSO3Si-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 67409911353323ca5edf2049ef0df54132fa1ca7)
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/8ded35c1c6a29c13d7509e1e845fe6bb27a4c109
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Evan-Green/RISC-V-Move-struct-riscv_cpuinfo-to-new-header/20230315-023754
git checkout 8ded35c1c6a29c13d7509e1e845fe6bb27a4c109
# 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 olddefconfig
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@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303171953.6DiSO3Si-lkp@intel.com/
All errors (new ones prefixed by >>):
>> ld.lld: error: relocation R_RISCV_HI20 cannot be used against symbol '_vdso_data'; recompile with -fPIC
>>> defined in arch/riscv/kernel/vdso/vdso.lds:105
>>> referenced by hwprobe.c
>>> arch/riscv/kernel/vdso/hwprobe.o:(__vdso_riscv_hwprobe)
--
>> ld.lld: error: relocation R_RISCV_LO12_I cannot be used against symbol '_vdso_data'; recompile with -fPIC
>>> defined in arch/riscv/kernel/vdso/vdso.lds:105
>>> referenced by hwprobe.c
>>> arch/riscv/kernel/vdso/hwprobe.o:(__vdso_riscv_hwprobe)
--
>> ld.lld: error: version script assignment of 'LINUX_4.15' to symbol '__vdso_riscv_hwprobe' failed: symbol not defined
--
>> ld.lld: error: relocation R_RISCV_LO12_I cannot be used against symbol '_vdso_data'; recompile with -fPIC
>>> defined in arch/riscv/kernel/vdso/vdso.lds:105
>>> referenced by hwprobe.c
>>> arch/riscv/kernel/vdso/hwprobe.o:(__vdso_riscv_hwprobe)
llvm-nm: error: arch/riscv/kernel/vdso/vdso.so.dbg: No such file or directory
>> ld.lld: error: version script assignment of 'LINUX_4.15' to symbol '__vdso_riscv_hwprobe' failed: symbol not defined
llvm-nm: error: arch/riscv/kernel/compat_vdso/compat_vdso.so.dbg: No such file or directory
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-17 12:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20230314183220.513101-7-evan@rivosinc.com>
2023-03-17 11:08 ` [PATCH v4 6/6] RISC-V: Add hwprobe vDSO function and data kernel test robot
2023-03-17 12:10 ` kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox