* [linux-next:master 8153/9440] arch/mips/vdso/vgettimeofday.c:17:9: error: implicit declaration of function '__cvdso_clock_gettime32'; did you mean '__cvdso_clock_gettime'?
@ 2020-01-16 21:59 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-01-16 21:59 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 4369 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 2747d5fdab78f43210256cd52fb2718e0b3cce74
commit: bf279849ad59538a1518c667c0795ec1fe9dbd66 [8153/9440] lib/vdso: Build 32 bit specific functions in the right context
config: mips-allmodconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout bf279849ad59538a1518c667c0795ec1fe9dbd66
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
arch/mips/vdso/vgettimeofday.c: In function '__vdso_clock_gettime':
>> arch/mips/vdso/vgettimeofday.c:17:9: error: implicit declaration of function '__cvdso_clock_gettime32'; did you mean '__cvdso_clock_gettime'? [-Werror=implicit-function-declaration]
return __cvdso_clock_gettime32(clock, ts);
^~~~~~~~~~~~~~~~~~~~~~~
__cvdso_clock_gettime
arch/mips/vdso/vgettimeofday.c: In function '__vdso_clock_getres':
>> arch/mips/vdso/vgettimeofday.c:39:9: error: implicit declaration of function '__cvdso_clock_getres_time32'; did you mean '__cvdso_clock_getres_common'? [-Werror=implicit-function-declaration]
return __cvdso_clock_getres_time32(clock_id, res);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
__cvdso_clock_getres_common
cc1: all warnings being treated as errors
vim +17 arch/mips/vdso/vgettimeofday.c
24640f233b4660 Vincenzo Frascino 2019-06-21 12
24640f233b4660 Vincenzo Frascino 2019-06-21 13 #if _MIPS_SIM != _MIPS_SIM_ABI64
24640f233b4660 Vincenzo Frascino 2019-06-21 14 int __vdso_clock_gettime(clockid_t clock,
24640f233b4660 Vincenzo Frascino 2019-06-21 15 struct old_timespec32 *ts)
24640f233b4660 Vincenzo Frascino 2019-06-21 16 {
24640f233b4660 Vincenzo Frascino 2019-06-21 @17 return __cvdso_clock_gettime32(clock, ts);
24640f233b4660 Vincenzo Frascino 2019-06-21 18 }
24640f233b4660 Vincenzo Frascino 2019-06-21 19
7d2aa4bb90f5f6 Vincenzo Frascino 2019-11-29 20 #ifdef CONFIG_MIPS_CLOCK_VSYSCALL
7d2aa4bb90f5f6 Vincenzo Frascino 2019-11-29 21
7d2aa4bb90f5f6 Vincenzo Frascino 2019-11-29 22 /*
7d2aa4bb90f5f6 Vincenzo Frascino 2019-11-29 23 * This is behind the ifdef so that we don't provide the symbol when there's no
7d2aa4bb90f5f6 Vincenzo Frascino 2019-11-29 24 * possibility of there being a usable clocksource, because there's nothing we
7d2aa4bb90f5f6 Vincenzo Frascino 2019-11-29 25 * can do without it. When libc fails the symbol lookup it should fall back on
7d2aa4bb90f5f6 Vincenzo Frascino 2019-11-29 26 * the standard syscall path.
7d2aa4bb90f5f6 Vincenzo Frascino 2019-11-29 27 */
24640f233b4660 Vincenzo Frascino 2019-06-21 28 int __vdso_gettimeofday(struct __kernel_old_timeval *tv,
24640f233b4660 Vincenzo Frascino 2019-06-21 29 struct timezone *tz)
24640f233b4660 Vincenzo Frascino 2019-06-21 30 {
24640f233b4660 Vincenzo Frascino 2019-06-21 31 return __cvdso_gettimeofday(tv, tz);
24640f233b4660 Vincenzo Frascino 2019-06-21 32 }
24640f233b4660 Vincenzo Frascino 2019-06-21 33
7d2aa4bb90f5f6 Vincenzo Frascino 2019-11-29 34 #endif /* CONFIG_MIPS_CLOCK_VSYSCALL */
7d2aa4bb90f5f6 Vincenzo Frascino 2019-11-29 35
abed3d826f2fb7 Vincenzo Frascino 2019-06-21 36 int __vdso_clock_getres(clockid_t clock_id,
abed3d826f2fb7 Vincenzo Frascino 2019-06-21 37 struct old_timespec32 *res)
abed3d826f2fb7 Vincenzo Frascino 2019-06-21 38 {
abed3d826f2fb7 Vincenzo Frascino 2019-06-21 @39 return __cvdso_clock_getres_time32(clock_id, res);
abed3d826f2fb7 Vincenzo Frascino 2019-06-21 40 }
abed3d826f2fb7 Vincenzo Frascino 2019-06-21 41
:::::: The code at line 17 was first introduced by commit
:::::: 24640f233b466051ad3a5d2786d2951e43026c9d mips: Add support for generic vDSO
:::::: TO: Vincenzo Frascino <vincenzo.frascino@arm.com>
:::::: CC: Paul Burton <paul.burton@mips.com>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 62938 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-16 21:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-16 21:59 [linux-next:master 8153/9440] arch/mips/vdso/vgettimeofday.c:17:9: error: implicit declaration of function '__cvdso_clock_gettime32'; did you mean '__cvdso_clock_gettime'? kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.