{standard input}:4020: Error: pcrel offset for branch to .LS001F too far (0x36)

From: kernel test robot
Date: Sun Nov 07 2021 - 23:42:22 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6b75d88fa81b122cce37ebf17428a849ccd3d0f1
commit: a82adfd5c7cb4b8bb37ef439aed954f9972bb618 hardening: Introduce CONFIG_ZERO_CALL_USED_REGS
date: 4 months ago
config: csky-randconfig-r023-20211001 (attached as .config)
compiler: csky-linux-gcc (GCC) 11.2.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=a82adfd5c7cb4b8bb37ef439aed954f9972bb618
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout a82adfd5c7cb4b8bb37ef439aed954f9972bb618
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=csky SHELL=/bin/bash drivers/gpu/drm/radeon/ drivers/media/dvb-frontends/ drivers/usb/core/

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}:4020: Error: pcrel offset for branch to .LS001F too far (0x36)
--
{standard input}: Assembler messages:
>> {standard input}:2950: Error: pcrel offset for branch to .LS001B too far (0x30)
{standard input}:2951: Error: pcrel offset for branch to .LS001B too far (0x38)
--
drivers/usb/core/devio.c:730:6: warning: no previous prototype for 'usbfs_notify_suspend' [-Wmissing-prototypes]
730 | void usbfs_notify_suspend(struct usb_device *udev)
| ^~~~~~~~~~~~~~~~~~~~
drivers/usb/core/devio.c:735:6: warning: no previous prototype for 'usbfs_notify_resume' [-Wmissing-prototypes]
735 | void usbfs_notify_resume(struct usb_device *udev)
| ^~~~~~~~~~~~~~~~~~~
{standard input}: Assembler messages:
>> {standard input}:6858: Error: pcrel offset for branch to .LS0039 too far (0x32)
{standard input}:6864: Error: pcrel offset for branch to .LS0039 too far (0x26)
{standard input}:6870: Error: pcrel offset for branch to .LS0039 too far (0x1a)
--
{standard input}: Assembler messages:
>> {standard input}:1480: Error: pcrel offset for branch to .LS000B too far (0x3a)

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip