Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [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
@ 2026-12-03  9:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-12-03  9:00 UTC (permalink / raw)
  To: Thomas Weißschuh ; +Cc: llvm, oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-03  9:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03  9:00 [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 kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox