* {standard input}:3978: Error: value 178 out of range
@ 2022-06-10 0:42 kernel test robot
2022-06-10 8:46 ` Geert Uytterhoeven
0 siblings, 1 reply; 4+ messages in thread
From: kernel test robot @ 2022-06-10 0:42 UTC (permalink / raw)
To: Sumit Saxena
Cc: kbuild-all, linux-kernel, Martin K. Petersen, Himanshu Madhani
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6bfb56e93bcef41859c2d5ab234ffd80b691be35
commit: 43ca110050988c7a0e581d24ce212ef34a4cdf29 scsi: mpi3mr: Add support for PEL commands
date: 5 weeks ago
config: m68k-randconfig-r036-20220608 (https://download.01.org/0day-ci/archive/20220610/202206100855.uY63FJUH-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 11.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=43ca110050988c7a0e581d24ce212ef34a4cdf29
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 43ca110050988c7a0e581d24ce212ef34a4cdf29
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
{standard input}: Assembler messages:
>> {standard input}:3978: Error: value 178 out of range
>> {standard input}:3978: Error: value of 178 too large for field of 1 byte at 00000fdb
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: {standard input}:3978: Error: value 178 out of range 2022-06-10 0:42 {standard input}:3978: Error: value 178 out of range kernel test robot @ 2022-06-10 8:46 ` Geert Uytterhoeven 2022-06-10 9:47 ` Andreas Schwab 0 siblings, 1 reply; 4+ messages in thread From: Geert Uytterhoeven @ 2022-06-10 8:46 UTC (permalink / raw) To: kernel test robot Cc: Sumit Saxena, kbuild-all, Linux Kernel Mailing List, Martin K. Petersen, Himanshu Madhani, linux-m68k On Fri, Jun 10, 2022 at 2:47 AM kernel test robot <lkp@intel.com> wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 6bfb56e93bcef41859c2d5ab234ffd80b691be35 > commit: 43ca110050988c7a0e581d24ce212ef34a4cdf29 scsi: mpi3mr: Add support for PEL commands > date: 5 weeks ago > config: m68k-randconfig-r036-20220608 (https://download.01.org/0day-ci/archive/20220610/202206100855.uY63FJUH-lkp@intel.com/config) > compiler: m68k-linux-gcc (GCC) 11.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=43ca110050988c7a0e581d24ce212ef34a4cdf29 > git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > git fetch --no-tags linus master > git checkout 43ca110050988c7a0e581d24ce212ef34a4cdf29 > # save the config file > mkdir build_dir && cp config build_dir/.config > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash > > If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot <lkp@intel.com> > > All errors (new ones prefixed by >>): > > {standard input}: Assembler messages: > >> {standard input}:3978: Error: value 178 out of range > >> {standard input}:3978: Error: value of 178 too large for field of 1 byte at 00000fdb This failure happens while building drivers/scsi/mpi3mr/mpi3mr_fw.o. How to check: make ARCH=m68k drivers/scsi/mpi3mr/mpi3mr_fw.s make ARCH=m68k V=1 drivers/scsi/mpi3mr/mpi3mr_fw.o Run the output from the last command with mpi3mr_fw.c by mpi3mr_fw.s, so you will get sensible line numbers: drivers/scsi/mpi3mr/mpi3mr_fw.s: Assembler messages: drivers/scsi/mpi3mr/mpi3mr_fw.s:1849: Error: value -168 out of range drivers/scsi/mpi3mr/mpi3mr_fw.s:1849: Error: value of -168 too large for field of 1 byte at 3175 Note that the value differs, but I'm using a different compiler (gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04)). The offending instruction is: | drivers/scsi/mpi3mr/mpi3mr_fw.c:299: switch (host_tag) { mvz.w %d2,%d0 | tmp160, host_tag mov3q.l #5,%d1 |, cmp.l %d0,%d1 | host_tag, jcs .L154 | tst.w %d6 | host_tag jeq .L133 | subq.l #2,%d2 |, tmp238 mvz.w %d2,%d2 | tmp238, tmp240 mov3q.l #3,%d0 |, cmp.l %d2,%d0 | tmp240, jcs .L140 | add.l %d2,%d2 | tmp244 >>> move.w .L155(%pc,%d2.l),%d0 |, tmp245 jra .L186 | And the table L155 is just too far from the above instruction, so the displacement is too large, causing the failure. Looks like a compiler bug to me? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: {standard input}:3978: Error: value 178 out of range 2022-06-10 8:46 ` Geert Uytterhoeven @ 2022-06-10 9:47 ` Andreas Schwab 2022-06-10 11:16 ` [kbuild-all] " Chen, Rong A 0 siblings, 1 reply; 4+ messages in thread From: Andreas Schwab @ 2022-06-10 9:47 UTC (permalink / raw) To: Geert Uytterhoeven Cc: kernel test robot, Sumit Saxena, kbuild-all, Linux Kernel Mailing List, Martin K. Petersen, Himanshu Madhani, linux-m68k On Jun 10 2022, Geert Uytterhoeven wrote: > The offending instruction is: > > | drivers/scsi/mpi3mr/mpi3mr_fw.c:299: switch (host_tag) { > mvz.w %d2,%d0 | tmp160, host_tag > mov3q.l #5,%d1 |, > cmp.l %d0,%d1 | host_tag, > jcs .L154 | > tst.w %d6 | host_tag > jeq .L133 | > subq.l #2,%d2 |, tmp238 > mvz.w %d2,%d2 | tmp238, tmp240 > mov3q.l #3,%d0 |, > cmp.l %d2,%d0 | tmp240, > jcs .L140 | > add.l %d2,%d2 | tmp244 >>>> move.w .L155(%pc,%d2.l),%d0 |, tmp245 > jra .L186 | > > And the table L155 is just too far from the above instruction, so > the displacement is too large, causing the failure. > > Looks like a compiler bug to me? Yes, it's https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104028. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [kbuild-all] Re: {standard input}:3978: Error: value 178 out of range 2022-06-10 9:47 ` Andreas Schwab @ 2022-06-10 11:16 ` Chen, Rong A 0 siblings, 0 replies; 4+ messages in thread From: Chen, Rong A @ 2022-06-10 11:16 UTC (permalink / raw) To: Andreas Schwab, Geert Uytterhoeven Cc: kernel test robot, Sumit Saxena, kbuild-all, Linux Kernel Mailing List, Martin K. Petersen, Himanshu Madhani, linux-m68k On 6/10/2022 5:47 PM, Andreas Schwab wrote: > On Jun 10 2022, Geert Uytterhoeven wrote: > >> The offending instruction is: >> >> | drivers/scsi/mpi3mr/mpi3mr_fw.c:299: switch (host_tag) { >> mvz.w %d2,%d0 | tmp160, host_tag >> mov3q.l #5,%d1 |, >> cmp.l %d0,%d1 | host_tag, >> jcs .L154 | >> tst.w %d6 | host_tag >> jeq .L133 | >> subq.l #2,%d2 |, tmp238 >> mvz.w %d2,%d2 | tmp238, tmp240 >> mov3q.l #3,%d0 |, >> cmp.l %d2,%d0 | tmp240, >> jcs .L140 | >> add.l %d2,%d2 | tmp244 >>>>> move.w .L155(%pc,%d2.l),%d0 |, tmp245 >> jra .L186 | >> >> And the table L155 is just too far from the above instruction, so >> the displacement is too large, causing the failure. >> >> Looks like a compiler bug to me? > > Yes, it's https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104028. > Thanks for the information, we have added the commit 43ca110050 to ignore list to avoid reporting it again. Best Regards, Rong Chen ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-06-10 11:16 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2022-06-10 0:42 {standard input}:3978: Error: value 178 out of range kernel test robot 2022-06-10 8:46 ` Geert Uytterhoeven 2022-06-10 9:47 ` Andreas Schwab 2022-06-10 11:16 ` [kbuild-all] " Chen, Rong A
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).