From mboxrd@z Thu Jan 1 00:00:00 1970 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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6C504C433F5 for ; Sun, 20 Mar 2022 00:18:57 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id C35F48D0002; Sat, 19 Mar 2022 20:18:56 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BE4C68D0001; Sat, 19 Mar 2022 20:18:56 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A85BD8D0002; Sat, 19 Mar 2022 20:18:56 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0114.hostedemail.com [216.40.44.114]) by kanga.kvack.org (Postfix) with ESMTP id 990F68D0001 for ; Sat, 19 Mar 2022 20:18:56 -0400 (EDT) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 495AEA5641 for ; Sun, 20 Mar 2022 00:18:56 +0000 (UTC) X-FDA: 79262854272.24.1DF7BB5 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by imf21.hostedemail.com (Postfix) with ESMTP id AF42F1C0008 for ; Sun, 20 Mar 2022 00:18:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647735534; x=1679271534; h=date:from:to:cc:subject:message-id:mime-version; bh=dxJoTXkUg5hVs1jCAIuubJJRqhLnjIPT5wIOovyhArE=; b=gv/WVgvtrNtetazZ4bNZKh5AfsCC0SGuC+mVYsthFkX5+Q0iTZsbzQyM M0/fGOJtoNIU/cw+rpjUkLQhs8Q+zUD4rHs9qyucvYfBvrWU9veZzLFSO vke6YQG+Pk2Yb5uuqVu9S9H4zT3MppdK2ur4QuT9/klP+E3gvWus+VNZy lMNaFHWIMIpiOSMc0wFUzLHSV/+6QohkTuseYMQykKH6Kjb27dRlon70D ulkTxx0Z0Ci5qHjoVifOAshNuUibh5AEy7FY2cEymlBIsVJbVktOP1ZFB sKILC/PtXIYf6y+x1Uv7sXxel/vJkUyklyR7yaK3d6p/YF8+tYtLZ5Dlb A==; X-IronPort-AV: E=McAfee;i="6200,9189,10291"; a="282158941" X-IronPort-AV: E=Sophos;i="5.90,195,1643702400"; d="scan'208";a="282158941" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Mar 2022 17:18:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,195,1643702400"; d="scan'208";a="648129509" Received: from lkp-server02.sh.intel.com (HELO 89b41b6ae01c) ([10.239.97.151]) by orsmga004.jf.intel.com with ESMTP; 19 Mar 2022 17:18:50 -0700 Received: from kbuild by 89b41b6ae01c with local (Exim 4.92) (envelope-from ) id 1nVjHV-000GOk-Mz; Sun, 20 Mar 2022 00:18:49 +0000 Date: Sun, 20 Mar 2022 08:18:05 +0800 From: kernel test robot To: Miguel Ojeda Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , Alex Gaynor , Wedson Almeida Filho , Gary Guo , Boqun Feng , Matthew Wilcox Subject: [linux-next:master 12714/13576] ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_offset: .text+0x3bc): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_names Message-ID: <202203200835.wEdmTF1a-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Server: rspam06 X-Rspamd-Queue-Id: AF42F1C0008 X-Stat-Signature: 197frwed5upduzfs4quk4efta5azfk3q Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b="gv/WVgvt"; spf=none (imf21.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.88) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspam-User: X-HE-Tag: 1647735534-69619 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000021, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 6d72dda014a4753974eb08950089ddf71fec4f60 commit: 0f50a8170b7266abc8a6100cf19b6e50500204ab [12714/13576] kallsyms: support "big" kernel symbols config: riscv-buildonly-randconfig-r002-20220320 (https://download.01.org/0day-ci/archive/20220320/202203200835.wEdmTF1a-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 217f267efe3082438e698e2f08566b9df8c530fa) 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://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=0f50a8170b7266abc8a6100cf19b6e50500204ab git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 0f50a8170b7266abc8a6100cf19b6e50500204ab # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_offset: .text+0x3bc): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_names >>> referenced by kallsyms.c >>> defined in kernel/built-in.a(kallsyms.o) -- >> ld.lld: error: kernel/built-in.a(kallsyms.o):(function update_iter: .text+0x77c): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_token_index >>> referenced by kallsyms.c >>> defined in kernel/built-in.a(kallsyms.o) -- >> ld.lld: error: kernel/built-in.a(kallsyms.o):(function update_iter: .text+0x786): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_offsets >>> referenced by kallsyms.c >>> defined in kernel/built-in.a(kallsyms.o) -- >> ld.lld: error: kernel/built-in.a(kallsyms.o):(function update_iter: .text+0x798): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_token_table >>> referenced by kallsyms.c >>> defined in kernel/built-in.a(kallsyms.o) -- >> ld.lld: error: kernel/built-in.a(kallsyms.o):(function kallsyms_open: .text+0x7fa): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_markers >>> referenced by kallsyms.c >>> defined in kernel/built-in.a(kallsyms.o) -- >> ld.lld: error: kernel/built-in.a(kallsyms.o):(function get_symbol_offset: .text+0x3ae): relocation R_RISCV_PCREL_HI20 out of range: -524450 is not in [-524288, 524287]; references kallsyms_markers >>> referenced by kallsyms.c >>> defined in kernel/built-in.a(kallsyms.o) -- 0-DAY CI Kernel Test Service https://01.org/lkp