tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: e32b8d66db3100a239a87642f0a8025c396c0670
commit: 7580417d2782bc89f27754eefaa2c9f0c8023a48 [9731/9999] UPSTREAM: ASoC: Fix
SND_SOC_ALL_CODECS imply misc fallout
config: arm64-randconfig-r003-20200619 (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
git checkout 7580417d2782bc89f27754eefaa2c9f0c8023a48
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
WARNING: unmet direct dependencies detected for SND_SOC_WM5110
Depends on SOUND && !UML && SND && SND_SOC &&
MFD_WM5110
Selected by
- SND_SOC_SAMSUNG_TM2_WM5110 && SOUND && !UML && SND &&
SND_SOC && SND_SOC_SAMSUNG && MFD_ARIZONA && I2C &&
SPI_MASTER && (GPIOLIB || COMPILE_TEST
> arch/arm64/kernel/vdso/vgettimeofday.c:9:5: error: no previous
prototype for function '__kernel_clock_gettime'
int
__kernel_clock_gettime(clockid_t clock,
^
arch/arm64/kernel/vdso/vgettimeofday.c:9:1: note: declare 'static' if the
function is not intended to be used outside of this translation unit
int __kernel_clock_gettime(clockid_t clock,
^
static
> arch/arm64/kernel/vdso/vgettimeofday.c:15:5: error: no previous
prototype for function '__kernel_gettimeofday'
int
__kernel_gettimeofday(struct __kernel_old_timeval
^
arch/arm64/kernel/vdso/vgettimeofday.c:15:1: note: declare 'static' if the
function is not intended to be used outside of this translation unit
int __kernel_gettimeofday(struct __kernel_old_timeval
^
static
> arch/arm64/kernel/vdso/vgettimeofday.c:21:5: error: no previous
prototype for function '__kernel_clock_getres'
int
__kernel_clock_getres(clockid_t clock_id,
^
arch/arm64/kernel/vdso/vgettimeofday.c:21:1: note: declare 'static' if the
function is not intended to be used outside of this translation unit
int __kernel_clock_getres(clockid_t clock_id,
^
static
3 errors generated.
Makefile arch include kernel null.dwo scripts source usr [scripts/Makefile.build:265:
arch/arm64/kernel/vdso/vgettimeofday.o] Error 1
Target 'include/generated/vdso-offsets.h' not remade because of errors.
Makefile arch include kernel null.dwo scripts source usr [arch/arm64/Makefile:163:
vdso_prepare] Error 2
Target 'prepare' not remade because of errors.
make: Makefile arch include kernel null.dwo scripts source usr [Makefile:179: sub-make]
Error 2
make: Target 'prepare' not remade because of errors.
vim +/__kernel_clock_gettime +9 arch/arm64/kernel/vdso/vgettimeofday.c
28b1a824a4f44da Vincenzo Frascino 2019-06-21 @9 int __kernel_clock_gettime(clockid_t
clock,
28b1a824a4f44da Vincenzo Frascino 2019-06-21 10 struct __kernel_timespec *ts)
28b1a824a4f44da Vincenzo Frascino 2019-06-21 11 {
28b1a824a4f44da Vincenzo Frascino 2019-06-21 12 return __cvdso_clock_gettime(clock,
ts);
28b1a824a4f44da Vincenzo Frascino 2019-06-21 13 }
28b1a824a4f44da Vincenzo Frascino 2019-06-21 14
28b1a824a4f44da Vincenzo Frascino 2019-06-21 @15 int __kernel_gettimeofday(struct
__kernel_old_timeval *tv,
28b1a824a4f44da Vincenzo Frascino 2019-06-21 16 struct timezone *tz)
28b1a824a4f44da Vincenzo Frascino 2019-06-21 17 {
28b1a824a4f44da Vincenzo Frascino 2019-06-21 18 return __cvdso_gettimeofday(tv, tz);
28b1a824a4f44da Vincenzo Frascino 2019-06-21 19 }
28b1a824a4f44da Vincenzo Frascino 2019-06-21 20
28b1a824a4f44da Vincenzo Frascino 2019-06-21 @21 int __kernel_clock_getres(clockid_t
clock_id,
:::::: The code at line 9 was first introduced by commit
:::::: 28b1a824a4f44da46983cd2c3249f910bd4b797b arm64: vdso: Substitute gettimeofday()
with C implementation
:::::: TO: Vincenzo Frascino <vincenzo.frascino(a)arm.com>
:::::: CC: Thomas Gleixner <tglx(a)linutronix.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org