:::::: 
:::::: Manual check reason: "low confidence static check first_new_problem: ld: 
arch/x86/entry/vdso/vgetrandom-x32.o: warning: relocation against `__fentry__' 
in read-only section `.text'"
:::::: 

CC: [email protected]
BCC: [email protected]
CC: Ammar Faizi <[email protected]>
CC: "GNU/Weeb Mailing List" <[email protected]>
CC: [email protected]
TO: "Jason A. Donenfeld" <[email protected]>

tree:   https://github.com/ammarfaizi2/linux-block crng/random/jd/vdso
head:   a216645bda19c97d0f68f9b83351696ecd251eb5
commit: a216645bda19c97d0f68f9b83351696ecd251eb5 [9/9] random: implement 
getrandom() in vDSO
:::::: branch date: 12 hours ago
:::::: commit date: 12 hours ago
config: x86_64-randconfig-s023 
(https://download.01.org/0day-ci/archive/20220731/[email protected]/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.4-39-gce1a6720-dirty
        # 
https://github.com/ammarfaizi2/linux-block/commit/a216645bda19c97d0f68f9b83351696ecd251eb5
        git remote add ammarfaizi2-block 
https://github.com/ammarfaizi2/linux-block
        git fetch --no-tags ammarfaizi2-block crng/random/jd/vdso
        git checkout a216645bda19c97d0f68f9b83351696ecd251eb5
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' 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 <[email protected]>

All warnings (new ones prefixed by >>):

>> ld: arch/x86/entry/vdso/vgetrandom-x32.o: warning: relocation against 
>> `__fentry__' in read-only section `.text'
   ld: arch/x86/entry/vdso/vgetrandom-x32.o: relocation R_X86_64_PC32 against 
undefined symbol `__fentry__' can not be used when making a shared object; 
recompile with -fPIC
   ld: final link failed: bad value
   objdump: 'arch/x86/entry/vdso/vdsox32.so.dbg': No such file

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp
_______________________________________________
kbuild mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to