From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEBA012B9F; Sat, 14 Oct 2023 15:24:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="X8ecC4Hd" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697297097; x=1728833097; h=date:from:cc:subject:message-id:mime-version; bh=kx1+TTLF1ucZTxYiEphIfa+W3aDIJP8Sq6ixFjJcFqI=; b=X8ecC4HdnQEFp+UDolJr9qp8UtCSOyy9wPtTFzkOCQgQ3AJiXWuJbm5R IMh4sxggQelbKxL6M2CUttA4qaLpI9tl+0bwmqSG2/dRd7DhEXBe+4RZe uyrN5YxXuPmVExP5BINjhWTk44ILuvk/cUZtLZsXholMGmQAG8zpiUrU9 jrUdI/LaKpuTdNEFG1B+FxaezzrhTE3QFvixO/BibGTEMicedK/wZgC/Z bg1TYJjeyla5mWWL1LVogzb5jW2uAtWgrD6poys5JItbBOxpucwhoW90t fGyAH68p6zXIafEYPHVjTCoZEquCG5jb/qCRebtxHp6VnyQfjSaNUuE8/ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10863"; a="375683291" X-IronPort-AV: E=Sophos;i="6.03,224,1694761200"; d="scan'208";a="375683291" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2023 08:24:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10863"; a="731700751" X-IronPort-AV: E=Sophos;i="6.03,224,1694761200"; d="scan'208";a="731700751" Received: from lkp-server02.sh.intel.com (HELO f64821696465) ([10.239.97.151]) by orsmga006.jf.intel.com with ESMTP; 14 Oct 2023 08:24:56 -0700 Received: from kbuild by f64821696465 with local (Exim 4.96) (envelope-from ) id 1qrgVX-0006JA-0K; Sat, 14 Oct 2023 15:24:51 +0000 Date: Sat, 14 Oct 2023 23:23:51 +0800 From: kernel test robot Cc: oe-kbuild-all@lists.linux.dev, llvm@lists.linux.dev Subject: ld.lld: error: vmlinux.a(kernel/kallsyms.o):(function kallsyms_sym_address: .text+0x10): relocation R_RISCV_PCREL_HI20 out of range: -524527 is not in [-524288, 524287]; references kallsyms_relative_base Message-ID: <202310142300.teTn3YiW-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline CC: linux-kernel@vger.kernel.org TO: Zhen Lei CC: Luis Chamberlain Hi Zhen, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 727fb83765049981e342db4c5a8b51aca72201d8 commit: 30f3bb09778de64ef9f23fb4bb5f868c4728a071 kallsyms: Add self-test facility date: 11 months ago config: riscv-randconfig-r021-20230908 (https://download.01.org/0day-ci/archive/20231014/202310142300.teTn3YiW-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231014/202310142300.teTn3YiW-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310142300.teTn3YiW-lkp@intel.com/ All errors (new ones prefixed by >>): >> ld.lld: error: vmlinux.a(kernel/kallsyms.o):(function kallsyms_sym_address: .text+0x10): relocation R_RISCV_PCREL_HI20 out of range: -524527 is not in [-524288, 524287]; references kallsyms_relative_base >>> referenced by kallsyms.c >>> defined in vmlinux.a(kernel/kallsyms.o) -- >> ld.lld: error: vmlinux.a(kernel/kallsyms.o):(function kallsyms_sym_address: .text+0x20): relocation R_RISCV_PCREL_HI20 out of range: -524527 is not in [-524288, 524287]; references kallsyms_offsets >>> referenced by kallsyms.c >>> defined in vmlinux.a(kernel/kallsyms.o) -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki