public inbox for [email protected]
 help / color / mirror / Atom feed
From: kernel test robot <[email protected]>
To: "Jason A. Donenfeld" <[email protected]>
Cc: [email protected], Ammar Faizi <[email protected]>,
	GNU/Weeb Mailing List <[email protected]>,
	[email protected]
Subject: [ammarfaizi2-block:crng/random/jd/vdso 9/9] arch/x86/entry/vdso/vgetrandom.c:11: undefined reference to `__fentry__'
Date: Sun, 31 Jul 2022 15:20:49 +0800	[thread overview]
Message-ID: <[email protected]> (raw)

tree:   https://github.com/ammarfaizi2/linux-block crng/random/jd/vdso
head:   a216645bda19c97d0f68f9b83351696ecd251eb5
commit: a216645bda19c97d0f68f9b83351696ecd251eb5 [9/9] random: implement getrandom() in vDSO
config: x86_64-rhel-8.3-syz (https://download.01.org/0day-ci/archive/20220731/[email protected]/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
        # 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 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 errors (new ones prefixed by >>):

   ld: arch/x86/entry/vdso/vgetrandom.o: warning: relocation in read-only section `__mcount_loc'
   ld: arch/x86/entry/vdso/vgetrandom.o: in function `chacha_permute':
>> arch/x86/entry/vdso/../../../../lib/vdso/../crypto/chacha.c:17: undefined reference to `__fentry__'
   ld: arch/x86/entry/vdso/vgetrandom.o: in function `chacha_block_generic':
   arch/x86/entry/vdso/../../../../lib/vdso/../crypto/chacha.c:77: undefined reference to `__fentry__'
   ld: arch/x86/entry/vdso/vgetrandom.o: in function `hchacha_block_generic':
   arch/x86/entry/vdso/../../../../lib/vdso/../crypto/chacha.c:104: undefined reference to `__fentry__'
   ld: arch/x86/entry/vdso/vgetrandom.o: in function `__vdso_getrandom':
>> arch/x86/entry/vdso/vgetrandom.c:11: undefined reference to `__fentry__'
   ld: arch/x86/entry/vdso/vgetrandom.o: in function `__vdso_getrandom_alloc':
   arch/x86/entry/vdso/vgetrandom.c:19: undefined reference to `__fentry__'
   ld: warning: creating DT_TEXTREL in a shared object
>> objdump: 'arch/x86/entry/vdso/vdso64.so.dbg': No such file
--
>> objcopy: 'arch/x86/entry/vdso/vdso64.so.dbg': No such file


vim +11 arch/x86/entry/vdso/vgetrandom.c

     9	
    10	ssize_t __vdso_getrandom(void *state, void *buffer, size_t len, unsigned int flags)
  > 11	{
    12		return __cvdso_getrandom(state, buffer, len, flags);
    13	}
    14	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-07-31  7:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox