-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Auto-Generated Meta Issue
Severity: High
Type: Bug
Auto-fix PR-Candidate: true
Votes: 1
Related OpenZFS Issues:
openzfs#18123,
openzfs#18096,
openzfs#18092,
openzfs#18089,
openzfs#17994,
openzfs#17952,
openzfs#17951,
openzfs#17853
Analysis:
A collection of build failures occurs when compiling OpenZFS against newer Linux kernels (e.g., 6.18+), different architectures (aarch64, i386), or with specific toolchains (Clang with ThinLTO). Issues include missing headers (asm/frame.h), incompatible kernel configuration options (CONFIG_DEBUG_LOCK_ALLOC), changes in kernel APIs (kmap_atomic, blkdev_get_by_path), symbol version mismatches (out_of_line_wait_on_bit), and toolchain-specific compilation errors.
Reproduction Steps:
Attempt to build OpenZFS from source on a system running a Linux kernel version 6.18 or newer, or on distributions like Fedora 43, Debian Trixie, or using Clang with LTO enabled. The configure script or the make process will fail with specific errors indicating incompatibility.
Sugested Action:
Update the compatibility layers and configure scripts to handle the new kernel APIs and build requirements. This involves adding conditional compilation checks for changed function signatures, locating new headers, and adjusting build scripts to work around toolchain-specific issues or new kernel KABI requirements.
Debug Info: