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 5/14] arch/arm/vdso/vgettimeofday.c:23:9: error: call to undeclared function '__cvdso_clock_getres_time32'; ISO C99 and later do not support implicit function declarations
Date: Thu, 03 Dec 2026 17:00:22 +0800	[thread overview]
Message-ID: <20261203164849.eC3L0ERC-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: c0e895b7273d04bdf8b313acba5f4aa887e2ea41 [5/14] arm
config: arm-defconfig (https://download.01.org/0day-ci/archive/20261203/20261203164849.eC3L0ERC-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 21c85ffc5771af718a41402f20b1cd1fd3289984)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261203/20261203164849.eC3L0ERC-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/20261203164849.eC3L0ERC-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/arm/vdso/vgettimeofday.c:23:9: error: call to undeclared function '__cvdso_clock_getres_time32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      23 |         return __cvdso_clock_getres_time32(clock_id, res);
         |                ^
   arch/arm/vdso/vgettimeofday.c:23:9: note: did you mean '__vdso_clock_getres_time64'?
   include/vdso/gettime.h:23:5: note: '__vdso_clock_getres_time64' declared here
      23 | int __vdso_clock_getres_time64(clockid_t clock, struct __kernel_timespec *ts);
         |     ^
   arch/arm/vdso/vgettimeofday.c:41:9: error: call to undeclared function '__cvdso_clock_getres'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      41 |         return __cvdso_clock_getres(clock_id, res);
         |                ^
   arch/arm/vdso/vgettimeofday.c:41:9: note: did you mean '__vdso_clock_getres'?
   arch/arm/vdso/vgettimeofday.c:20:5: note: '__vdso_clock_getres' declared here
      20 | int __vdso_clock_getres(clockid_t clock_id,
         |     ^
   2 errors generated.


vim +/__cvdso_clock_getres_time32 +23 arch/arm/vdso/vgettimeofday.c

8512287a8165592 Nathan Lynch      2015-03-25  19  
95216f4647e7828 Thomas Weißschuh  2026-07-02  20  int __vdso_clock_getres(clockid_t clock_id,
95216f4647e7828 Thomas Weißschuh  2026-07-02  21  			struct old_timespec32 *res)
74d06efb9c2f99b Vincenzo Frascino 2019-11-04  22  {
95216f4647e7828 Thomas Weißschuh  2026-07-02 @23  	return __cvdso_clock_getres_time32(clock_id, res);
74d06efb9c2f99b Vincenzo Frascino 2019-11-04  24  }
74d06efb9c2f99b Vincenzo Frascino 2019-11-04  25  

:::::: The code at line 23 was first introduced by commit
:::::: 95216f4647e7828de5d9d3a69978e7b8ba21e700 ARM: VDSO: Respect COMPAT_32BIT_TIME

:::::: TO: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
:::::: CC: Thomas Gleixner <tglx@kernel.org>

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

                 reply	other threads:[~2026-12-03  9:00 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=20261203164849.eC3L0ERC-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