-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
Type: BuildingIndicates an issue related to building binariesIndicates an issue related to building binariesType: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)
Description
System information
Distribution Name | Gentoo
Distribution Version | None
Kernel Version | 5.1.14-6.1.22
Architecture | x86_64
OpenZFS Version | 2.1.9-2.1.10
Describe the problem you're observing
I can't compile ZFS with gcc-12 and "-Og". There is an error about inlining within the ZSTD module:
module/zstd/lib/zstd.c:18954:30: error: inlining failed in call to 'always_inline' 'ZSTD_HcFindBestMatch_selectMLS': function not considered for inlining
Changing back to "-O2" does solve the problem. A corner case I believe, but since I use "-Og" globally for simplicity and zfs is usually only updated when I also upgrade the kernel, this was a hurdle at the wrong time :)
PS: I can't tell you when this surfaced, but certainly after 2.1.4.
Describe how to reproduce the problem
Just compile zfs with CFLAGS="-Og"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: BuildingIndicates an issue related to building binariesIndicates an issue related to building binariesType: DefectIncorrect behavior (e.g. crash, hang)Incorrect behavior (e.g. crash, hang)