linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-stable-rc:linux-5.4.y 1325/5512] lib/ubsan.c:422: undefined reference to `__ashrti3'
@ 2020-06-01 20:01 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-06-01 20:01 UTC (permalink / raw)
  To: Julien, Grall,
  Cc: kbuild-all, Greg Kroah-Hartman, Andrew Morton,
	Linux Memory Management List, Sasha Levin

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

Hi Julien,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
head:   1fd4226c4fe1a358bb8277e25ebb03950180443a
commit: 735e7a12a639c6c196ac1acf41f024f84281e491 [1325/5512] lib/ubsan: don't serialize UBSAN report
config: riscv-randconfig-c004-20200601 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>, old ones prefixed by <<):

riscv64-linux-ld: lib/ubsan.o: in function `test_and_set_bit':
>> arch/riscv/include/asm/bitops.h:74: undefined reference to `__ashlti3'
riscv64-linux-ld: lib/ubsan.o: in function `get_signed_val':
>> lib/ubsan.c:422: undefined reference to `__ashrti3'

vim +422 lib/ubsan.c

c6d308534aef6c Andrey Ryabinin 2016-01-20  405  
c6d308534aef6c Andrey Ryabinin 2016-01-20  406  void __ubsan_handle_load_invalid_value(struct invalid_value_data *data,
f0996bc2978e02 Andrey Ryabinin 2019-05-06  407  				void *val)
c6d308534aef6c Andrey Ryabinin 2016-01-20  408  {
c6d308534aef6c Andrey Ryabinin 2016-01-20  409  	char val_str[VALUE_LENGTH];
c6d308534aef6c Andrey Ryabinin 2016-01-20  410  
c6d308534aef6c Andrey Ryabinin 2016-01-20  411  	if (suppress_report(&data->location))
c6d308534aef6c Andrey Ryabinin 2016-01-20  412  		return;
c6d308534aef6c Andrey Ryabinin 2016-01-20  413  
735e7a12a639c6 Julien Grall    2019-12-04  414  	ubsan_prologue(&data->location);
c6d308534aef6c Andrey Ryabinin 2016-01-20  415  
c6d308534aef6c Andrey Ryabinin 2016-01-20  416  	val_to_string(val_str, sizeof(val_str), data->type, val);
c6d308534aef6c Andrey Ryabinin 2016-01-20  417  
c6d308534aef6c Andrey Ryabinin 2016-01-20  418  	pr_err("load of value %s is not a valid value for type %s\n",
c6d308534aef6c Andrey Ryabinin 2016-01-20  419  		val_str, data->type->type_name);
c6d308534aef6c Andrey Ryabinin 2016-01-20  420  
735e7a12a639c6 Julien Grall    2019-12-04  421  	ubsan_epilogue();
c6d308534aef6c Andrey Ryabinin 2016-01-20 @422  }

:::::: The code at line 422 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@lists.01.org

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

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

only message in thread, other threads:[~2020-06-01 20:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01 20:01 [linux-stable-rc:linux-5.4.y 1325/5512] lib/ubsan.c:422: undefined reference to `__ashrti3' kbuild test robot

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