Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2EE13C6FD1D for ; Fri, 17 Mar 2023 12:10:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229772AbjCQMKT (ORCPT ); Fri, 17 Mar 2023 08:10:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229990AbjCQMKO (ORCPT ); Fri, 17 Mar 2023 08:10:14 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 343A0BBB0C for ; Fri, 17 Mar 2023 05:10:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679055012; x=1710591012; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=74x+HdYibsA/wqEfWvcwgYAGJ9bXo0e4vgKCvjJbqwQ=; b=UxThGYkvL+VSq5Li534zPYMCMktnceokyFh0aEk+XwI+qzAFuDNKikFf hQM7NR572ouL3rUDua3A/qgN0FbKNYMEeBy/U08gcVkDeTkI3ZdZiR2VK nQr4DoqWkMmTCAvq6mPbe3BAHp6jPjbMboBq9nh2qONhRS/y1AE9EttPh lYGogEavqs86kMkmjKXTwzASdKQhGysICWBg/xlarMcuLxhx6/V8JK/B5 J+/A+N9HDC/eyv2AYlu2wo940dTb/dPYAH+a7RSPSYbT3LROgHmW2RNhl mx/SwUnviDEy3niOqJeVOefmIbD0gLkhFfd+He1dSYerxGkn22bPWglrJ Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10651"; a="322094125" X-IronPort-AV: E=Sophos;i="5.98,268,1673942400"; d="scan'208";a="322094125" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2023 05:10:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10651"; a="854425785" X-IronPort-AV: E=Sophos;i="5.98,268,1673942400"; d="scan'208";a="854425785" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 17 Mar 2023 05:10:07 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pd8uM-0009Ks-15; Fri, 17 Mar 2023 12:10:06 +0000 Date: Fri, 17 Mar 2023 20:10:00 +0800 From: kernel test robot To: Evan Green , Palmer Dabbelt Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, slewis@rivosinc.com, heiko@sntech.de, Conor Dooley , vineetg@rivosinc.com, 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@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v4 6/6] RISC-V: Add hwprobe vDSO function and data Message-ID: <202303171953.6DiSO3Si-lkp@intel.com> References: <20230314183220.513101-7-evan@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230314183220.513101-7-evan@rivosinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 | 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