From: kernel test robot <lkp@intel.com>
To: Nick Alcock <nick.alcock@oracle.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Kris Van Hees <kris.van.hees@oracle.com>,
Tomas Jedlicka <tomas.jedlicka@oracle.com>,
Alan Maguire <alan.maguire@oracle.com>
Subject: [oracle-dtrace:devel/v2/6.6/dtrace 8/11] arch/arm/vdso/vgettimeofday.c:15:9: error: call to undeclared function '__cvdso_clock_gettime32'; ISO C99 and later do not support implicit function declarations
Date: Wed, 6 Dec 2023 12:13:12 +0800 [thread overview]
Message-ID: <202312061248.Me86lIls-lkp@intel.com> (raw)
tree: https://github.com/oracle/dtrace-linux-kernel devel/v2/6.6/dtrace
head: 03ef4d82312b48741fbdafdd2aaebf3f0567f9a6
commit: f9d9484f2e95b50c63c6e6bd96d727f6d7ab1f3e [8/11] ctf: generate CTF information for the kernel
config: arm-bcm2835_defconfig (https://download.01.org/0day-ci/archive/20231206/202312061248.Me86lIls-lkp@intel.com/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312061248.Me86lIls-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/202312061248.Me86lIls-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/arm/vdso/vgettimeofday.c:15:9: error: call to undeclared function '__cvdso_clock_gettime32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
15 | return __cvdso_clock_gettime32(clock, ts);
| ^
arch/arm/vdso/vgettimeofday.c:15:9: note: did you mean '__cvdso_clock_gettime'?
lib/vdso/gettimeofday.c:266:1: note: '__cvdso_clock_gettime' declared here
266 | __cvdso_clock_gettime(clockid_t clock, struct __kernel_timespec *ts)
| ^
>> arch/arm/vdso/vgettimeofday.c:33:9: error: call to undeclared function '__cvdso_clock_getres_time32'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
33 | return __cvdso_clock_getres_time32(clock_id, res);
| ^
arch/arm/vdso/vgettimeofday.c:33:9: note: did you mean '__cvdso_clock_getres_common'?
lib/vdso/gettimeofday.c:357:5: note: '__cvdso_clock_getres_common' declared here
357 | int __cvdso_clock_getres_common(const struct vdso_data *vd, clockid_t clock,
| ^
2 errors generated.
vim +/__cvdso_clock_gettime32 +15 arch/arm/vdso/vgettimeofday.c
8512287a816559 Nathan Lynch 2015-03-25 11
20e2fc42312f96 Vincenzo Frascino 2019-11-04 12 int __vdso_clock_gettime(clockid_t clock,
20e2fc42312f96 Vincenzo Frascino 2019-11-04 13 struct old_timespec32 *ts)
8512287a816559 Nathan Lynch 2015-03-25 14 {
20e2fc42312f96 Vincenzo Frascino 2019-11-04 @15 return __cvdso_clock_gettime32(clock, ts);
8512287a816559 Nathan Lynch 2015-03-25 16 }
8512287a816559 Nathan Lynch 2015-03-25 17
74d06efb9c2f99 Vincenzo Frascino 2019-11-04 18 int __vdso_clock_gettime64(clockid_t clock,
74d06efb9c2f99 Vincenzo Frascino 2019-11-04 19 struct __kernel_timespec *ts)
74d06efb9c2f99 Vincenzo Frascino 2019-11-04 20 {
74d06efb9c2f99 Vincenzo Frascino 2019-11-04 21 return __cvdso_clock_gettime(clock, ts);
74d06efb9c2f99 Vincenzo Frascino 2019-11-04 22 }
74d06efb9c2f99 Vincenzo Frascino 2019-11-04 23
20e2fc42312f96 Vincenzo Frascino 2019-11-04 24 int __vdso_gettimeofday(struct __kernel_old_timeval *tv,
20e2fc42312f96 Vincenzo Frascino 2019-11-04 25 struct timezone *tz)
8512287a816559 Nathan Lynch 2015-03-25 26 {
20e2fc42312f96 Vincenzo Frascino 2019-11-04 27 return __cvdso_gettimeofday(tv, tz);
8512287a816559 Nathan Lynch 2015-03-25 28 }
8512287a816559 Nathan Lynch 2015-03-25 29
052e76a31b4a64 Vincenzo Frascino 2019-11-04 30 int __vdso_clock_getres(clockid_t clock_id,
052e76a31b4a64 Vincenzo Frascino 2019-11-04 31 struct old_timespec32 *res)
052e76a31b4a64 Vincenzo Frascino 2019-11-04 32 {
052e76a31b4a64 Vincenzo Frascino 2019-11-04 @33 return __cvdso_clock_getres_time32(clock_id, res);
052e76a31b4a64 Vincenzo Frascino 2019-11-04 34 }
052e76a31b4a64 Vincenzo Frascino 2019-11-04 35
:::::: The code at line 15 was first introduced by commit
:::::: 20e2fc42312f960f497ac2d617e3742754e1fa5e ARM: 8930/1: Add support for generic vDSO
:::::: TO: Vincenzo Frascino <vincenzo.frascino@arm.com>
:::::: CC: Russell King <rmk+kernel@armlinux.org.uk>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-12-06 4: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=202312061248.Me86lIls-lkp@intel.com \
--to=lkp@intel.com \
--cc=alan.maguire@oracle.com \
--cc=kris.van.hees@oracle.com \
--cc=llvm@lists.linux.dev \
--cc=nick.alcock@oracle.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tomas.jedlicka@oracle.com \
/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