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 X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E351FC2B9F4 for ; Tue, 22 Jun 2021 09:56:14 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 97F096115A for ; Tue, 22 Jun 2021 09:56:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 97F096115A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 28C236B0036; Tue, 22 Jun 2021 05:56:14 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 23BC36B0062; Tue, 22 Jun 2021 05:56:14 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 104DD6B006C; Tue, 22 Jun 2021 05:56:14 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0056.hostedemail.com [216.40.44.56]) by kanga.kvack.org (Postfix) with ESMTP id D33376B0036 for ; Tue, 22 Jun 2021 05:56:13 -0400 (EDT) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id 7C414EFD2 for ; Tue, 22 Jun 2021 09:56:13 +0000 (UTC) X-FDA: 78280904226.09.E73CA5F Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by imf21.hostedemail.com (Postfix) with ESMTP id 93833E005F25 for ; Tue, 22 Jun 2021 09:56:10 +0000 (UTC) IronPort-SDR: vUNQojUi/bKFBpbuWcgyQJ9yemZMf3VmDaRMYLwzy/1+jWQMTRb/95DrxZiDeNx2T1O4LNFBR9 3ftxiwvfWPog== X-IronPort-AV: E=McAfee;i="6200,9189,10022"; a="205197374" X-IronPort-AV: E=Sophos;i="5.83,291,1616482800"; d="scan'208";a="205197374" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2021 02:56:02 -0700 IronPort-SDR: h1NMFmII6k19GhuJDWK/npy5LQHPTMz8/6HpDH1yFqq+JhvJRfiRs3Hm/SiFVpKzlK5pDk2TFd MRm8F4KdQ4Gg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,291,1616482800"; d="scan'208";a="490224709" Received: from shbuild999.sh.intel.com (HELO localhost) ([10.239.147.94]) by fmsmga002.fm.intel.com with ESMTP; 22 Jun 2021 02:56:01 -0700 Date: Tue, 22 Jun 2021 17:56:00 +0800 From: Feng Tang To: lkp Cc: "kbuild-all@lists.01.org" , Linux Memory Management List , Masahiro Yamada Subject: Re: [linux-next:master 3665/11714] {standard input}:2644: Error: pcrel offset for branch to .LS0015 too far (0x3e) Message-ID: <20210622095600.GB67867@shbuild999.sh.intel.com> References: <202106220959.QA9KOJ3Q-lkp@intel.com> <20210622094818.GA67867@shbuild999.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210622094818.GA67867@shbuild999.sh.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Authentication-Results: imf21.hostedemail.com; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=intel.com (policy=none); spf=none (imf21.hostedemail.com: domain of feng.tang@intel.com has no SPF policy when checking 192.55.52.120) smtp.mailfrom=feng.tang@intel.com X-Stat-Signature: z1gwy9ewydbtdpc6h353qohpn3efeqkp X-Rspamd-Queue-Id: 93833E005F25 X-Rspamd-Server: rspam06 X-HE-Tag: 1624355770-573502 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Jun 22, 2021 at 05:48:18PM +0800, Tang, Feng wrote: > On Tue, Jun 22, 2021 at 09:49:05AM +0800, kernel test robot wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > head: 889bab4c367a0ef58208fd80fafa74bb6e2dca26 > > commit: cf536e185869d4815d506e777bcca6edd9966a6e [3665/11714] Makefile: extend 32B aligned debug option to 64B aligned > > config: csky-randconfig-c024-20210622 (attached as .config) > > compiler: csky-linux-gcc (GCC) 9.3.0 > > 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 > > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=cf536e185869d4815d506e777bcca6edd9966a6e > > 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 cf536e185869d4815d506e777bcca6edd9966a6e > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=csky > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All errors (new ones prefixed by >>): > > > > {standard input}: Assembler messages: > > >> {standard input}:2644: Error: pcrel offset for branch to .LS0015 too far (0x3e) > > {standard input}:2653: Error: pcrel offset for branch to .LS0015 too far (0x34) > > {standard input}:2659: Error: pcrel offset for branch to .LS0015 too far (0x2c) > > Thanks for the report. > > I just reproduced the issue locally, with similar log: > > CC drivers/target/target_core_sbc.o > {standard input}: Assembler messages: > {standard input}:2644: Error: pcrel offset for branch to .LS0015 too far (0x3e) > {standard input}:2653: Error: pcrel offset for branch to .LS0015 too far (0x34) > {standard input}:2659: Error: pcrel offset for branch to .LS0015 too far (0x2c) > make[2]: *** [scripts/Makefile.build:272: drivers/target/target_core_sbc.o] Error 1 > m > > And when I changed the function align option from 64 to 32, the > compilation did pass, so this looks to be related with the alignment > option. > > I'm very familiar with compiler, and will try to check more. Sorry, typo, should be "not very familiar" :P