Skip to content

build fails for kernel: 6.12.3-amd64 (x86_64): passing argument 2 of ‘dequeue_signal’ from incompatible pointer type #16847

Closed
@smr99

Description

@smr99

System information

Type | Version/Name
--- | 2.2.6 ---
Distribution Name | Debian
Distribution Version | sid
Kernel Version | 6.12.3
Architecture | x86_64
OpenZFS Version | 2.2.6

Describe the problem you're observing

Installing the Debian package zfs-dkms generates a kernel module for each installed kernel by compiling the sources. For kernel 6.12.3, it fails. The build has succeeded on 6.11 kernels up to 6.11.10.

Describe how to reproduce the problem

Install Debian kernel 6.12.3 and zfs-dkms.

Include any warning/errors/backtraces from the system logs

Excerpt from build log:

/var/lib/dkms/zfs/2.2.6/build/module/os/linux/spl/spl-thread.c: In function ‘issig’:
/var/lib/dkms/zfs/2.2.6/build/module/os/linux/spl/spl-thread.c:186:28: error: passing argument 1 of ‘dequeue_signal’ from incompatible pointer type [-Wincompatible-pointer-types]
  186 |         if (dequeue_signal(task, &set, &__info) != 0) {
      |                            ^~~~
      |                            |
      |                            struct task_struct *
In file included from /usr/src/linux-headers-6.12.3-common/include/linux/rcuwait.h:6,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/percpu-rwsem.h:7,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/fs.h:33,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/compat.h:17,
                 from /usr/src/linux-headers-6.12.3-common/arch/x86/include/asm/ia32.h:7,
                 from /usr/src/linux-headers-6.12.3-common/arch/x86/include/asm/elf.h:10,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/elf.h:6,
                 from /usr/src/linux-headers-6.12.3-common/include/linux/module.h:19,
                 from /var/lib/dkms/zfs/2.2.6/build/include/os/linux/spl/sys/thread.h:27,
                 from /var/lib/dkms/zfs/2.2.6/build/module/os/linux/spl/spl-thread.c:26:

Note: full build log is available as attachment to Debian Bug report here: https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1089488;filename=make.log;msg=5

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: DefectIncorrect behavior (e.g. crash, hang)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions