Hi Jisheng, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v6.0] [cannot apply to next-20221007] [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-improve-boot-time-isa-extensions-handling/20221006-152055 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 833477fce7a14d43ae4c07f8ddc32fa5119471a2 config: riscv-randconfig-r003-20221003 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/322e8b44d0cc6b6b2bd179469be16d70df012a1e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jisheng-Zhang/riscv-improve-boot-time-isa-extensions-handling/20221006-152055 git checkout 322e8b44d0cc6b6b2bd179469be16d70df012a1e # 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 All errors (new ones prefixed by >>): >> ld.lld: error: relocation R_RISCV_64 cannot be used against symbol '.Ltmp0'; recompile with -fPIC >>> defined in arch/riscv/kernel/vdso/vgettimeofday.o >>> referenced by vgettimeofday.c >>> arch/riscv/kernel/vdso/vgettimeofday.o:(.alternative+0x0) -- >> ld.lld: error: relocation R_RISCV_64 cannot be used against symbol '.Ltmp2'; recompile with -fPIC >>> defined in arch/riscv/kernel/vdso/vgettimeofday.o >>> referenced by vgettimeofday.c >>> arch/riscv/kernel/vdso/vgettimeofday.o:(.alternative+0x8) -- >> ld.lld: error: relocation R_RISCV_64 cannot be used against symbol '.Ltmp20'; recompile with -fPIC >>> defined in arch/riscv/kernel/vdso/vgettimeofday.o >>> referenced by vgettimeofday.c >>> arch/riscv/kernel/vdso/vgettimeofday.o:(.alternative+0xB4) -- >> ld.lld: error: relocation R_RISCV_64 cannot be used against symbol '.Ltmp22'; recompile with -fPIC >>> defined in arch/riscv/kernel/vdso/vgettimeofday.o >>> referenced by vgettimeofday.c >>> arch/riscv/kernel/vdso/vgettimeofday.o:(.alternative+0xBC) -- >> ld.lld: error: relocation R_RISCV_64 cannot be used against symbol '.Ltmp4'; recompile with -fPIC >>> defined in arch/riscv/kernel/vdso/vgettimeofday.o >>> referenced by vgettimeofday.c >>> arch/riscv/kernel/vdso/vgettimeofday.o:(.alternative+0x24) -- >> ld.lld: error: relocation R_RISCV_64 cannot be used against symbol '.Ltmp6'; recompile with -fPIC >>> defined in arch/riscv/kernel/vdso/vgettimeofday.o >>> referenced by vgettimeofday.c >>> arch/riscv/kernel/vdso/vgettimeofday.o:(.alternative+0x2C) -- >> ld.lld: error: relocation R_RISCV_64 cannot be used against symbol '.Ltmp8'; recompile with -fPIC >>> defined in arch/riscv/kernel/vdso/vgettimeofday.o >>> referenced by vgettimeofday.c >>> arch/riscv/kernel/vdso/vgettimeofday.o:(.alternative+0x48) -- >> ld.lld: error: relocation R_RISCV_64 cannot be used against symbol '.Ltmp10'; recompile with -fPIC >>> defined in arch/riscv/kernel/vdso/vgettimeofday.o >>> referenced by vgettimeofday.c >>> arch/riscv/kernel/vdso/vgettimeofday.o:(.alternative+0x50) -- >> ld.lld: error: relocation R_RISCV_64 cannot be used against symbol '.Ltmp12'; recompile with -fPIC >>> defined in arch/riscv/kernel/vdso/vgettimeofday.o >>> referenced by vgettimeofday.c >>> arch/riscv/kernel/vdso/vgettimeofday.o:(.alternative+0x6C) -- >> ld.lld: error: relocation R_RISCV_64 cannot be used against symbol '.Ltmp14'; recompile with -fPIC >>> defined in arch/riscv/kernel/vdso/vgettimeofday.o >>> referenced by vgettimeofday.c >>> arch/riscv/kernel/vdso/vgettimeofday.o:(.alternative+0x74) -- >> ld.lld: error: relocation R_RISCV_64 cannot be used against symbol '.Ltmp16'; recompile with -fPIC >>> defined in arch/riscv/kernel/vdso/vgettimeofday.o >>> referenced by vgettimeofday.c >>> arch/riscv/kernel/vdso/vgettimeofday.o:(.alternative+0x90) .. -- 0-DAY CI Kernel Test Service https://01.org/lkp