Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Thomas Weißschuh " <linux@weissschuh.net>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [thomas-weissschuh:b4/vdso-no-fallback 12/14] arch/s390/kernel/vdso/vdso_generic.c:18:9: error: call to undeclared function '__cvdso_clock_getres'; ISO C99 and later do not support implicit function declarations
Date: Wed, 02 Dec 2026 20:12:52 +0100	[thread overview]
Message-ID: <20261202200647.qnS74FuF-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/vdso-no-fallback
head:   e7585172d6d3d2531251aa75b9e9d84b1634d58d
commit: 7934ed68df752c047bee0ace215821ec2c2c535c [12/14] s390
config: s390-randconfig-2001-20261202 (https://download.01.org/0day-ci/archive/20261202/20261202200647.qnS74FuF-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
rustc: rustc 1.96.0 (ac68faa20 2026-05-25)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261202/20261202200647.qnS74FuF-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/20261202200647.qnS74FuF-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/s390/kernel/vdso/vdso_generic.c:18:9: error: call to undeclared function '__cvdso_clock_getres'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      18 |         return __cvdso_clock_getres(clock, ts);
         |                ^
   arch/s390/kernel/vdso/vdso_generic.c:18:9: note: did you mean '__cvdso_clock_gettime'?
   arch/s390/kernel/vdso/../../../../lib/vdso/gettimeofday.c:337:1: note: '__cvdso_clock_gettime' declared here
     337 | __cvdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts)
         | ^
   1 error generated.
   make[3]: *** [arch/s390/kernel/vdso/Makefile:64: arch/s390/kernel/vdso/vdso_generic.o] Error 1 shuffle=50773325
   make[3]: Target 'include/generated/vdso-offsets.h' not remade because of errors.
   make[2]: *** [arch/s390/Makefile:159: vdso_prepare] Error 2 shuffle=50773325
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=50773325
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:248: __sub-make] Error 2 shuffle=50773325
   make: Target 'prepare' not remade because of errors.


vim +/__cvdso_clock_getres +18 arch/s390/kernel/vdso/vdso_generic.c

4bff8cb5450287 arch/s390/kernel/vdso64/vdso64_generic.c Sven Schnelle 2020-04-28  15  
4bff8cb5450287 arch/s390/kernel/vdso64/vdso64_generic.c Sven Schnelle 2020-04-28  16  int __s390_vdso_clock_getres(clockid_t clock, struct __kernel_timespec *ts)
4bff8cb5450287 arch/s390/kernel/vdso64/vdso64_generic.c Sven Schnelle 2020-04-28  17  {
4bff8cb5450287 arch/s390/kernel/vdso64/vdso64_generic.c Sven Schnelle 2020-04-28 @18  	return __cvdso_clock_getres(clock, ts);

:::::: The code at line 18 was first introduced by commit
:::::: 4bff8cb5450287e246d365b719148b2d9364c292 s390: convert to GENERIC_VDSO

:::::: TO: Sven Schnelle <svens@linux.ibm.com>
:::::: CC: Vasily Gorbik <gor@linux.ibm.com>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-12-02 19:13 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 \
    --in-reply-to=20261202200647.qnS74FuF-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux@weissschuh.net \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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