Re: {standard input}:6415: Error: pcrel offset for branch to .LS0024 too far (0x34)
From: Feng Tang
Date: Fri Jul 23 2021 - 07:46:14 EST
On Fri, Jul 23, 2021 at 06:55:25PM +0800, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 8baef6386baaefb776bdd09b5c7630cf057c51c6
> commit: cf536e185869d4815d506e777bcca6edd9966a6e Makefile: extend 32B aligned debug option to 64B aligned
> date: 9 weeks ago
> config: csky-randconfig-c003-20210723 (attached as .config)
> compiler: csky-linux-gcc (GCC) 10.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/torvalds/linux.git/commit/?id=cf536e185869d4815d506e777bcca6edd9966a6e
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout cf536e185869d4815d506e777bcca6edd9966a6e
> # save the attached .config to linux build tree
> mkdir build_dir
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=csky SHELL=/bin/bash
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>
> All errors (new ones prefixed by >>):
>
> {standard input}: Assembler messages:
> >> {standard input}:6415: Error: pcrel offset for branch to .LS0024 too far (0x34)
Thanks for the report!
It was reported once when the patch was in linux-next tree, and we have
discussed it in this thread
https://www.spinics.net/lists/linux-kbuild/msg30300.html
The short summary is, we tried the build on arm64/ppc32/ppc64/arc/risv32,
which were fine, and csky-develpers are checking it.
Thanks,
Feng