tree:
https://github.com/frank-w/BPI-R2-4.14 5.6-main
head: 1944ca382365022a8bf3895ee49b47f24e810b5d
commit: 9d1096ef5c4a04ec72c1c14771bbb12485f3b7b2 [16/41] mt6625l: add changes outside
driver dir
config: arm-efm32_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.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 9d1096ef5c4a04ec72c1c14771bbb12485f3b7b2
# save the attached .config to linux build tree
GCC_VERSION=9.3.0 make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
Note: the frank-w-bpi-r2-4.14/5.6-main HEAD 1944ca382365022a8bf3895ee49b47f24e810b5d
builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
In file included from include/linux/ktime.h:239,
from include/linux/timer.h:6,
from include/linux/workqueue.h:9,
from include/linux/rhashtable-types.h:15,
from include/linux/ipc.h:7,
from include/uapi/linux/sem.h:5,
from include/linux/sem.h:5,
from include/linux/sched.h:15,
from arch/arm/kernel/asm-offsets.c:11:
include/linux/timekeeping32.h:9:43: warning: 'struct timeval' declared inside
parameter list will not be visible outside of this definition or declaration
9 | static inline void do_gettimeofday(struct timeval *tv)
| ^~~~~~~
include/linux/timekeeping32.h: In function 'do_gettimeofday':
> include/linux/timekeeping32.h:14:4: error: dereferencing pointer
to incomplete type 'struct timeval'
14 | tv->tv_sec = now.tv_sec;
| ^~
include/linux/timekeeping32.h: In function 'get_monotonic_boottime':
> include/linux/timekeeping32.h:20:2: error: dereferencing pointer
to incomplete type 'struct timespec'
20 | *ts =
ktime_to_timespec(ktime_get_boottime());
| ^~~
> include/linux/timekeeping32.h:20:8: error: implicit declaration
of function 'ktime_to_timespec'; did you mean 'ktime_to_timespec64'?
[-Werror=implicit-function-declaration]
20 | *ts =
ktime_to_timespec(ktime_get_boottime());
| ^~~~~~~~~~~~~~~~~
| ktime_to_timespec64
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:101: arch/arm/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1113: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:180: sub-make] Error 2
33 real 5 user 13 sys 57.58% cpu make prepare
vim +14 include/linux/timekeeping32.h
14 tv->tv_sec = now.tv_sec;
15 tv->tv_usec =
now.tv_nsec/1000;
16 }
17
18 static inline void get_monotonic_boottime(struct timespec *ts)
19 {
20 *ts = ktime_to_timespec(ktime_get_boottime());
21 }
22
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org