stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* More build errors in v5.4.y.queue
@ 2020-05-26  4:03 Guenter Roeck
  2020-05-26  4:16 ` Willy Tarreau
  0 siblings, 1 reply; 3+ messages in thread
From: Guenter Roeck @ 2020-05-26  4:03 UTC (permalink / raw)
  To: stable, Greg Kroah-Hartman, Sasha Levin

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.

Guenter

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: More build errors in v5.4.y.queue
  2020-05-26  4:03 More build errors in v5.4.y.queue Guenter Roeck
@ 2020-05-26  4:16 ` Willy Tarreau
  2020-05-26 10:04   ` Greg Kroah-Hartman
  0 siblings, 1 reply; 3+ messages in thread
From: Willy Tarreau @ 2020-05-26  4:16 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: stable, Greg Kroah-Hartman, Sasha Levin

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: More build errors in v5.4.y.queue
  2020-05-26  4:16 ` Willy Tarreau
@ 2020-05-26 10:04   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2020-05-26 10:04 UTC (permalink / raw)
  To: Willy Tarreau; +Cc: Guenter Roeck, stable, Sasha Levin

On Tue, May 26, 2020 at 06:16:50AM +0200, Willy Tarreau wrote:
> 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.

THanks for the information.  I'm just going to drop the offending patch,
fc94cf2092c7 ("sh: include linux/time_types.h for sockios") and if
anyone cares about this for the sh platform, they can provide a set of
working patches for it :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-26 10:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-26  4:03 More build errors in v5.4.y.queue Guenter Roeck
2020-05-26  4:16 ` Willy Tarreau
2020-05-26 10:04   ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).