Package Details: linux-rc 5.4.2rc1-1

Git Clone URL: https://aur.archlinux.org/linux-rc.git (read-only)
Package Base: linux-rc
Description: The release candidate kernel and modules
Upstream URL: https://www.kernel.org/
Licenses: GPL2
Submitter: graysky
Maintainer: graysky
Last Packager: graysky
Votes: 4
Popularity: 0.000083
First Submitted: 2016-03-03 21:18
Last Updated: 2019-12-04 00:26

Pinned Comments

graysky commented on 2016-09-05 11:29

@hussam - I really intended this package to be for the stable series, see the linux-mainline package for the latest development kernel.

Latest Comments

1 2 Next › Last »

sir_lucjan commented on 2019-10-16 16:56

@graysky

Greg has removed broken patch.

sir_lucjan commented on 2019-10-16 14:33

@graysky:

I've compiled 5.3.7-rc1 from git. I've added:

https://github.com/sirlucjan/kernel-patches/blob/master/5.3/iouring-patches/0001-Revert-io_uring-only-flush-workqueues-on-fileset-rem.patch

sir_lucjan commented on 2019-10-16 12:30

@graysky

I compiled directly from the git repository. I was getting an analogous error.

graysky commented on 2019-10-16 12:22

@sir_lucjan - if you look at the PKGBUILD you'll see how I'm grabbing the patch but when I compare it to the http stable-review directory, there isn't a 5.3.7rc1 tarball. Also, there's nothing about on that I found on lkml. In the past, attempting to download the patch in this fashion gives a 0-byte file.

graysky commented on 2019-10-15 23:09

@sir_lucjan - I get similar after about 29 min of building:

  CC      net/ipv4/udp_offload.o
  CC [M]  drivers/fpga/dfl-afu-region.o
  CC      net/ipv6/xfrm6_protocol.o
  CC      drivers/firmware/efi/dev-path-parser.o
In file included from fs/io_uring.c:42:
fs/io_uring.c: In function ‘io_destruct_skb’:
./include/linux/kernel.h:47:52: error: invalid use of undefined type ‘struct workqueue_struct’
   47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
      |                                                    ^
fs/io_uring.c:2570:18: note: in expansion of macro ‘ARRAY_SIZE’
 2570 |  for (i = 0; i < ARRAY_SIZE(ctx->sqo_wq); i++)
      |                  ^~~~~~~~~~
./include/linux/kernel.h:47:52: error: dereferencing pointer to incomplete type ‘struct workqueue_struct’
   47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
      |                                                    ^
fs/io_uring.c:2570:18: note: in expansion of macro ‘ARRAY_SIZE’
 2570 |  for (i = 0; i < ARRAY_SIZE(ctx->sqo_wq); i++)
      |                  ^~~~~~~~~~
In file included from ./include/linux/kernel.h:16,
                 from fs/io_uring.c:42:
./include/linux/compiler.h:357:67: error: invalid use of undefined type ‘struct workqueue_struct’
  357 | #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
      |                                                                   ^
./include/linux/build_bug.h:16:56: note: in definition of macro ‘BUILD_BUG_ON_ZERO’
   16 | #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
      |                                                        ^
./include/linux/compiler.h:357:46: note: in expansion of macro ‘__same_type’
  357 | #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
      |                                              ^~~~~~~~~~~
./include/linux/kernel.h:47:59: note: in expansion of macro ‘__must_be_array’
   47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
      |                                                           ^~~~~~~~~~~~~~~
fs/io_uring.c:2570:18: note: in expansion of macro ‘ARRAY_SIZE’
 2570 |  for (i = 0; i < ARRAY_SIZE(ctx->sqo_wq); i++)
      |                  ^~~~~~~~~~
./include/linux/build_bug.h:16:45: error: bit-field ‘<anonymous>’ width not an integer constant
   16 | #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
      |                                             ^
./include/linux/compiler.h:357:28: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
  357 | #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
      |                            ^~~~~~~~~~~~~~~~~
./include/linux/kernel.h:47:59: note: in expansion of macro ‘__must_be_array’
   47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
      |                                                           ^~~~~~~~~~~~~~~
fs/io_uring.c:2570:18: note: in expansion of macro ‘ARRAY_SIZE’
 2570 |  for (i = 0; i < ARRAY_SIZE(ctx->sqo_wq); i++)
      |                  ^~~~~~~~~~
fs/io_uring.c:2571:18: error: invalid use of undefined type ‘struct workqueue_struct’
 2571 |   if (ctx->sqo_wq[i])
      |                  ^
fs/io_uring.c:2572:31: error: invalid use of undefined type ‘struct workqueue_struct’
 2572 |    flush_workqueue(ctx->sqo_wq[i]);
      |                               ^
  CC [M]  sound/soc/codecs/max9867.o
make[1]: *** [scripts/Makefile.build:281: fs/io_uring.o] Error 1
make: *** [Makefile:1085: fs] Error 2
make: *** Waiting for unfinished jobs....

sir_lucjan commented on 2019-10-15 20:48

I got an error:

In file included from fs/io_uring.c:42:
fs/io_uring.c: In function ‘io_destruct_skb’:
./include/linux/kernel.h:47:52: error: invalid use of undefined type ‘struct workqueue_struct’
  47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
     |                                                    ^
fs/io_uring.c:2570:18: note: in expansion of macro ‘ARRAY_SIZE’
2570 |  for (i = 0; i < ARRAY_SIZE(ctx->sqo_wq); i++)
     |                  ^~~~~~~~~~
./include/linux/kernel.h:47:52: error: dereferencing pointer to incomplete type ‘struct workqueue_struct’
  47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
     |                                                    ^
fs/io_uring.c:2570:18: note: in expansion of macro ‘ARRAY_SIZE’
2570 |  for (i = 0; i < ARRAY_SIZE(ctx->sqo_wq); i++)
     |                  ^~~~~~~~~~
In file included from ./include/linux/kernel.h:16,
                from fs/io_uring.c:42:
./include/linux/compiler.h:357:67: error: invalid use of undefined type ‘struct workqueue_struct’
 357 | #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
     |                                                                   ^
./include/linux/build_bug.h:16:56: note: in definition of macro ‘BUILD_BUG_ON_ZERO’
  16 | #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
     |                                                        ^
./include/linux/compiler.h:357:46: note: in expansion of macro ‘__same_type’
 357 | #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
     |                                              ^~~~~~~~~~~
./include/linux/kernel.h:47:59: note: in expansion of macro ‘__must_be_array’
  47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
     |                                                           ^~~~~~~~~~~~~~~
fs/io_uring.c:2570:18: note: in expansion of macro ‘ARRAY_SIZE’
2570 |  for (i = 0; i < ARRAY_SIZE(ctx->sqo_wq); i++)
     |                  ^~~~~~~~~~
./include/linux/build_bug.h:16:45: error: bit-field ‘<anonymous>’ width not an integer constant
  16 | #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:(-!!(e)); }))
     |                                             ^
./include/linux/compiler.h:357:28: note: in expansion of macro ‘BUILD_BUG_ON_ZERO’
 357 | #define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
     |                            ^~~~~~~~~~~~~~~~~
./include/linux/kernel.h:47:59: note: in expansion of macro ‘__must_be_array’
  47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
     |                                                           ^~~~~~~~~~~~~~~
fs/io_uring.c:2570:18: note: in expansion of macro ‘ARRAY_SIZE’
2570 |  for (i = 0; i < ARRAY_SIZE(ctx->sqo_wq); i++)
     |                  ^~~~~~~~~~
fs/io_uring.c:2571:18: error: invalid use of undefined type ‘struct workqueue_struct’
2571 |   if (ctx->sqo_wq[i])
     |                  ^
fs/io_uring.c:2572:31: error: invalid use of undefined type ‘struct workqueue_struct’
2572 |    flush_workqueue(ctx->sqo_wq[i]);
     |                               ^
make[1]: *** [scripts/Makefile.build:281: fs/io_uring.o]

Could you confirm?

graysky commented on 2019-05-31 18:10

@Minzord - Why did you flag this as out-of-date?

hussam commented on 2018-09-05 11:02

rc2 is out to fix a boot regression.

graysky commented on 2018-06-18 19:19

@FreeFull - Not out-of-date. Please read the preview 5 comments.

graysky commented on 2017-10-06 18:51

@hussam - Not out-of-date. Please read the preview 4 comments.