linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 3665/11714] {standard input}:2644: Error: pcrel offset for branch to .LS0015 too far (0x3e)
@ 2021-06-22  1:49 kernel test robot
  2021-06-22  9:48 ` Feng Tang
  0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2021-06-22  1:49 UTC (permalink / raw)
  To: Feng Tang; +Cc: kbuild-all, Linux Memory Management List, Masahiro Yamada

[-- Attachment #1: Type: text/plain, Size: 1922 bytes --]

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 <lkp@intel.com>

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)

Kconfig warnings: (for reference only)
   WARNING: unmet direct dependencies detected for LOCKDEP
   Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || MIPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86)
   Selected by
   - PROVE_LOCKING && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT
   - DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 22613 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-next:master 3665/11714] {standard input}:2644: Error: pcrel offset for branch to .LS0015 too far (0x3e)
  2021-06-22  1:49 [linux-next:master 3665/11714] {standard input}:2644: Error: pcrel offset for branch to .LS0015 too far (0x3e) kernel test robot
@ 2021-06-22  9:48 ` Feng Tang
  2021-06-22  9:56   ` Feng Tang
  0 siblings, 1 reply; 3+ messages in thread
From: Feng Tang @ 2021-06-22  9:48 UTC (permalink / raw)
  To: kernel test robot
  Cc: kbuild-all, Linux Memory Management List, Masahiro Yamada

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 <lkp@intel.com>
> 
> 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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-next:master 3665/11714] {standard input}:2644: Error: pcrel offset for branch to .LS0015 too far (0x3e)
  2021-06-22  9:48 ` Feng Tang
@ 2021-06-22  9:56   ` Feng Tang
  0 siblings, 0 replies; 3+ messages in thread
From: Feng Tang @ 2021-06-22  9:56 UTC (permalink / raw)
  To: lkp; +Cc: kbuild-all, Linux Memory Management List, Masahiro Yamada

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 <lkp@intel.com>
> > 
> > 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 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-22  9:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-22  1:49 [linux-next:master 3665/11714] {standard input}:2644: Error: pcrel offset for branch to .LS0015 too far (0x3e) kernel test robot
2021-06-22  9:48 ` Feng Tang
2021-06-22  9:56   ` Feng Tang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).