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 070E8C2B9F4 for ; Tue, 22 Jun 2021 09:48:30 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 90E046128E for ; Tue, 22 Jun 2021 09:48:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 90E046128E 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 2BB1A6B0036; Tue, 22 Jun 2021 05:48:29 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 26B806B0062; Tue, 22 Jun 2021 05:48:29 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 133BF6B006C; Tue, 22 Jun 2021 05:48:29 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0139.hostedemail.com [216.40.44.139]) by kanga.kvack.org (Postfix) with ESMTP id D3FA56B0036 for ; Tue, 22 Jun 2021 05:48:28 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 6972A181AEF09 for ; Tue, 22 Jun 2021 09:48:28 +0000 (UTC) X-FDA: 78280884696.21.57F5B81 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by imf30.hostedemail.com (Postfix) with ESMTP id 04AECE00202D for ; Tue, 22 Jun 2021 09:48:26 +0000 (UTC) IronPort-SDR: hJ446vJiQT95om9JIhqp2et0whs15GnPl42V+34sy5p4DISj+5vhbKbppRZm9ymAfmtfvl9Ohu 49MGXuwb7LYg== X-IronPort-AV: E=McAfee;i="6200,9189,10022"; a="194161393" X-IronPort-AV: E=Sophos;i="5.83,291,1616482800"; d="scan'208";a="194161393" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Jun 2021 02:48:20 -0700 IronPort-SDR: c9nFuI1Qy9++Zjszls7i9Ca73pTGFGVFEqyhRXpHJBQT2AkYNPQfNOkZRd/98xRrxfze4fqaU4 QFnCUqnCWOkQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,291,1616482800"; d="scan'208";a="490223310" Received: from shbuild999.sh.intel.com (HELO localhost) ([10.239.147.94]) by fmsmga002.fm.intel.com with ESMTP; 22 Jun 2021 02:48:18 -0700 Date: Tue, 22 Jun 2021 17:48:18 +0800 From: Feng Tang To: kernel test robot 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: <20210622094818.GA67867@shbuild999.sh.intel.com> References: <202106220959.QA9KOJ3Q-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202106220959.QA9KOJ3Q-lkp@intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 04AECE00202D Authentication-Results: imf30.hostedemail.com; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=intel.com (policy=none); spf=none (imf30.hostedemail.com: domain of feng.tang@intel.com has no SPF policy when checking 134.134.136.20) smtp.mailfrom=feng.tang@intel.com X-Stat-Signature: 1drdhkzjyxkfsy8gtgayodbwixxir6u3 X-HE-Tag: 1624355306-857196 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 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. I know it works on x86_64, but don't know how about other architectures, and if 'csky' is the only not working one, one workaround I can think of is to add kconfig dependency for !csky Thanks, Feng