-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
Type: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)
Description
System information
| Type | Version/Name |
|---|---|
| Distribution Name | Chimera Linux |
| Distribution Version | rolling |
| Kernel Version | 6.17.x |
| Architecture | aarch64 |
| OpenZFS Version | 2.3.4 with backports (affects any version) |
The following commit: torvalds/linux@9a6d3ff introduced an __aarch64__ check to the BITS_PER_LONG macro to avoid UB when compiling the 32-bit compat vDSO.
This breaks ZFS build because the zstd module inexplicably undefs __aarch64__ in the aarch64_compat.h header (module/zstd/include/aarch64_compat.h), without specifying any reason why. This causes __BITS_PER_LONG to become 32, which breaks due to __kernel_size_t becoming 4, which makes FORTIFY diagnostic checks in string.h error.
Metadata
Metadata
Assignees
Labels
Type: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)