All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-rt-devel:linux-5.4.y-rt 2/325] lib/ubsan.c:415: undefined reference to `__ashlti3'
@ 2020-10-07  0:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-10-07  0:59 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git linux-5.4.y-rt
head:   5fbf1e70f11dba64cc05c9d85120a3aa7c67a4a2
commit: 252b692c1433c5bdee609ca6cf2d31212a3f0e17 [2/325] lib/ubsan: Don't seralize UBSAN report
config: riscv-randconfig-r015-20201005 (attached as .config)
compiler: riscv64-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/rt/linux-rt-devel.git/commit/?id=252b692c1433c5bdee609ca6cf2d31212a3f0e17
        git remote add linux-rt-devel https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
        git fetch --no-tags linux-rt-devel linux-5.4.y-rt
        git checkout 252b692c1433c5bdee609ca6cf2d31212a3f0e17
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

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 >>):

   riscv64-linux-ld: lib/ubsan.o: in function `__ubsan_handle_load_invalid_value':
>> lib/ubsan.c:415: undefined reference to `__ashlti3'
>> riscv64-linux-ld: lib/ubsan.c:415: undefined reference to `__ashrti3'

vim +415 lib/ubsan.c

c6d308534aef6c9 Andrey Ryabinin 2016-01-20  402  
c6d308534aef6c9 Andrey Ryabinin 2016-01-20  403  void __ubsan_handle_load_invalid_value(struct invalid_value_data *data,
f0996bc2978e02d Andrey Ryabinin 2019-05-06  404  				void *val)
c6d308534aef6c9 Andrey Ryabinin 2016-01-20  405  {
c6d308534aef6c9 Andrey Ryabinin 2016-01-20  406  	char val_str[VALUE_LENGTH];
c6d308534aef6c9 Andrey Ryabinin 2016-01-20  407  
c6d308534aef6c9 Andrey Ryabinin 2016-01-20  408  	if (suppress_report(&data->location))
c6d308534aef6c9 Andrey Ryabinin 2016-01-20  409  		return;
c6d308534aef6c9 Andrey Ryabinin 2016-01-20  410  
252b692c1433c5b Julien Grall    2019-09-20  411  	ubsan_prologue(&data->location);
c6d308534aef6c9 Andrey Ryabinin 2016-01-20  412  
c6d308534aef6c9 Andrey Ryabinin 2016-01-20  413  	val_to_string(val_str, sizeof(val_str), data->type, val);
c6d308534aef6c9 Andrey Ryabinin 2016-01-20  414  
c6d308534aef6c9 Andrey Ryabinin 2016-01-20 @415  	pr_err("load of value %s is not a valid value for type %s\n",

:::::: The code at line 415 was first introduced by commit
:::::: c6d308534aef6c99904bf5862066360ae067abc4 UBSAN: run-time undefined behavior sanity checker

:::::: TO: Andrey Ryabinin <aryabinin@virtuozzo.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

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

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-07  0:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-07  0:59 [linux-rt-devel:linux-5.4.y-rt 2/325] lib/ubsan.c:415: undefined reference to `__ashlti3' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.