Package Details: linux-rc 6.12rc2-1

Git Clone URL: https://aur.archlinux.org/linux-rc.git (read-only, click to copy)
Package Base: linux-rc
Description: The Linux kernel and modules - Release Candidate version
Upstream URL: https://www.kernel.org/
Licenses: GPL-2.0-only
Provides: KSMBD-MODULE, VIRTUALBOX-GUEST-MODULES, WIREGUARD-MODULE
Replaces: virtualbox-guest-modules-arch, wireguard-arch
Submitter: graysky
Maintainer: archdevlab
Last Packager: archdevlab
Votes: 5
Popularity: 0.000000
First Submitted: 2016-03-03 21:18 (UTC)
Last Updated: 2024-10-11 02:21 (UTC)

Required by (6)

Sources (3)

Pinned Comments

graysky commented on 2016-09-05 11:29 (UTC)

@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 3 Next › Last »

bezirg commented on 2020-10-26 12:10 (UTC)

@graysky Sorry.

graysky commented on 2020-10-26 10:50 (UTC)

@bezirg - Not out-of-date, see the pinned comment.

sir_lucjan commented on 2019-10-16 16:56 (UTC)

@graysky

Greg has removed broken patch.

sir_lucjan commented on 2019-10-16 14:33 (UTC)

@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 (UTC)

@graysky

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

graysky commented on 2019-10-16 12:22 (UTC)

@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 (UTC)

@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 (UTC)

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 (UTC)

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