[lkml]   [2022]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[ammarfaizi2-block:crng/random/jd/vdso 9/9] vgetrandom.c:undefined reference to `__memset'
tree: crng/random/jd/vdso
head: 29d7baa1e13b4304df93126e0c8baf56584b720a
commit: 29d7baa1e13b4304df93126e0c8baf56584b720a [9/9] random: implement getrandom() in vDSO
config: x86_64-allyesconfig (
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
git remote add ammarfaizi2-block
git fetch --no-tags ammarfaizi2-block crng/random/jd/vdso
git checkout 29d7baa1e13b4304df93126e0c8baf56584b720a
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <>

All error/warnings (new ones prefixed by >>):

ld: arch/x86/entry/vdso/vgetrandom.o: in function `__vdso_getrandom':
>> vgetrandom.c:(.text+0x50b): undefined reference to `__memset'
objdump: 'arch/x86/entry/vdso/': No such file
>> ld: arch/x86/entry/vdso/vgetrandom-x32.o: warning: relocation against `__memset' in read-only section `.text'
ld: arch/x86/entry/vdso/vgetrandom-x32.o: relocation R_X86_64_PC32 against undefined symbol `__memset' can not be used when making a shared object; recompile with -fPIC
ld: final link failed: bad value
objdump: 'arch/x86/entry/vdso/': No such file

0-DAY CI Kernel Test Service

 \ /
  Last update: 2022-08-03 02:25    [W:0.028 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site