Skip to content

Can't compile 2.3.4 with kernel 6.16.4 using llvm-21 #17682

@StormBytePP

Description

@StormBytePP

When trying to compile zfs-2.3.4 using (gentoo)kernel-6.16.4 I found the following during configure stage:

checking whether blkdev_get_by_path() exists and takes 3 args... no
checking whether blkdev_get_by_path() exists and takes 4 args... no
checking whether bdev_open_by_path() exists... no
checking whether bdev_file_open_by_path() exists... no
configure: error: 
	*** None of the expected "blkdev_get_by_path()" interfaces were detected.
	*** This may be because your kernel version is newer than what is
	*** supported, or you are using a patched custom kernel with
	*** incompatible modifications.
	***
	*** ZFS Version: zfs-2.3.4-r0-gentoo
	*** Compatible Kernels: 4.18 - 6.16

Maybe an internal change in API within minor versions despite version is listed as supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions