Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [thomas-weissschuh:b4/vdso-timens-conditional 12/12] arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:10: error: call to undeclared function 'clock_getres_fallback'; ISO C99 and later do not support implicit function declarations
@ 2026-09-27 21:28 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-27 21:28 UTC (permalink / raw)
  To: Thomas Weißschuh ; +Cc: llvm, oe-kbuild-all

Hi Thomas,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/vdso-timens-conditional
head:   dbe6d2a5ee3233a9e819a0663236161d27841d5a
commit: dbe6d2a5ee3233a9e819a0663236161d27841d5a [12/12] VDSO_HAS_CLOCK_GETRES
config: sparc64-defconfig (https://download.01.org/0day-ci/archive/20260928/202609280758.uT2tKvOE-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 5f609f950d2e80addf5566623013db68394334db)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260928/202609280758.uT2tKvOE-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/202609280758.uT2tKvOE-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/sparc/vdso/vclock_gettime.c:22:
>> arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:10: error: call to undeclared function 'clock_getres_fallback'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     483 |                 return clock_getres_fallback(clock, res);
         |                        ^
   arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:10: note: did you mean 'clock_getres32_fallback'?
   arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:97:28: note: 'clock_getres32_fallback' declared here
      97 | static __always_inline int clock_getres32_fallback(clockid_t clkid, struct old_timespec32 *ts)
         |                            ^
   1 error generated.


vim +/clock_getres_fallback +483 arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c

502a590a170b3b3 Thomas Gleixner   2019-07-28  473  
08cd5e1de815842 Thomas Weißschuh  2026-02-27  474  static
ac1a42f4e4e296b Thomas Weißschuh  2025-02-04  475  int __cvdso_clock_getres_data(const struct vdso_time_data *vd, clockid_t clock,
e876f0b69dc993e Christophe Leroy  2020-02-07  476  			      struct __kernel_timespec *res)
502a590a170b3b3 Thomas Gleixner   2019-07-28  477  {
34f888e3405acef Thomas Weißschuh  2025-07-01  478  	bool ok;
00b26474c2f1613 Vincenzo Frascino 2019-06-21  479  
34f888e3405acef Thomas Weißschuh  2025-07-01  480  	ok =  __cvdso_clock_getres_common(vd, clock, res);
34f888e3405acef Thomas Weißschuh  2025-07-01  481  
34f888e3405acef Thomas Weißschuh  2025-07-01  482  	if (unlikely(!ok))
00b26474c2f1613 Vincenzo Frascino 2019-06-21 @483  		return clock_getres_fallback(clock, res);
502a590a170b3b3 Thomas Gleixner   2019-07-28  484  	return 0;
00b26474c2f1613 Vincenzo Frascino 2019-06-21  485  }
00b26474c2f1613 Vincenzo Frascino 2019-06-21  486  

:::::: The code at line 483 was first introduced by commit
:::::: 00b26474c2f1613d7ab894c525f775c67c8a9e8f lib/vdso: Provide generic VDSO implementation

:::::: TO: Vincenzo Frascino <vincenzo.frascino@arm.com>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* [thomas-weissschuh:b4/vdso-timens-conditional 12/12] arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:10: error: call to undeclared function 'clock_getres_fallback'; ISO C99 and later do not support implicit function declarations
@ 2026-09-27 20:28 kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-27 20:28 UTC (permalink / raw)
  To: Thomas Weißschuh ; +Cc: llvm, oe-kbuild-all

Hi Thomas,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/thomas.weissschuh/linux.git b4/vdso-timens-conditional
head:   dbe6d2a5ee3233a9e819a0663236161d27841d5a
commit: dbe6d2a5ee3233a9e819a0663236161d27841d5a [12/12] VDSO_HAS_CLOCK_GETRES
config: sparc64-randconfig-2000-20260927 (https://download.01.org/0day-ci/archive/20260927/202609272248.elcdGKal-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 7615da10b75c57286a4032eac8bb43c1b8d2ba46)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260927/202609272248.elcdGKal-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/202609272248.elcdGKal-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/sparc/vdso/vclock_gettime.c:22:
>> arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:10: error: call to undeclared function 'clock_getres_fallback'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
     483 |                 return clock_getres_fallback(clock, res);
         |                        ^
   arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:10: note: did you mean 'clock_getres32_fallback'?
   arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:97:28: note: 'clock_getres32_fallback' declared here
      97 | static __always_inline int clock_getres32_fallback(clockid_t clkid, struct old_timespec32 *ts)
         |                            ^
   1 error generated.


vim +/clock_getres_fallback +483 arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c

502a590a170b3b Thomas Gleixner   2019-07-28  473  
08cd5e1de81584 Thomas Weißschuh  2026-02-27  474  static
ac1a42f4e4e296 Thomas Weißschuh  2025-02-04  475  int __cvdso_clock_getres_data(const struct vdso_time_data *vd, clockid_t clock,
e876f0b69dc993 Christophe Leroy  2020-02-07  476  			      struct __kernel_timespec *res)
502a590a170b3b Thomas Gleixner   2019-07-28  477  {
34f888e3405ace Thomas Weißschuh  2025-07-01  478  	bool ok;
00b26474c2f161 Vincenzo Frascino 2019-06-21  479  
34f888e3405ace Thomas Weißschuh  2025-07-01  480  	ok =  __cvdso_clock_getres_common(vd, clock, res);
34f888e3405ace Thomas Weißschuh  2025-07-01  481  
34f888e3405ace Thomas Weißschuh  2025-07-01  482  	if (unlikely(!ok))
00b26474c2f161 Vincenzo Frascino 2019-06-21 @483  		return clock_getres_fallback(clock, res);
502a590a170b3b Thomas Gleixner   2019-07-28  484  	return 0;
00b26474c2f161 Vincenzo Frascino 2019-06-21  485  }
00b26474c2f161 Vincenzo Frascino 2019-06-21  486  

:::::: The code at line 483 was first introduced by commit
:::::: 00b26474c2f1613d7ab894c525f775c67c8a9e8f lib/vdso: Provide generic VDSO implementation

:::::: TO: Vincenzo Frascino <vincenzo.frascino@arm.com>
:::::: CC: Thomas Gleixner <tglx@linutronix.de>

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-27 21:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-27 21:28 [thomas-weissschuh:b4/vdso-timens-conditional 12/12] arch/sparc/include/uapi/../../../../lib/vdso/gettimeofday.c:483:10: error: call to undeclared function 'clock_getres_fallback'; ISO C99 and later do not support implicit function declarations kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2026-09-27 20:28 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