On Mon, May 25, 2020 at 09:03:45PM -0700, Guenter Roeck wrote:
Build reference: v5.4.42-105-g3cb79944b65a gcc version: sh4-linux-gcc (GCC) 9.3.0
Building sh:defconfig ... failed
net/socket.c: In function 'sock_ioctl': arch/sh/include/uapi/asm/sockios.h:16:41: error: invalid application of 'sizeof' to incomplete type 'struct __kernel_old_timespec'
and various other similar errors.
Based on these patches from 5.5: ca5e9ab ("time: Add time_types.h") 94c467d ("y2038: add __kernel_old_timespec and __kernel_old_time_t")
It seems that these types need to be changed to "__kernel_timespec" in backports. At least that's my understanding.
Willy