Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 886183

Summary: net-fs/openafs-1.8.9 version bumb
Product: Gentoo Linux Reporter: Cheyenne Wills <cwills>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cheyenne Wills 2022-12-15 22:53:02 UTC
Upstream openafs 1.8.9 has been tagged.

The release supports up to Linux kernel 6.0 Note, there are some patches from the master needed if the Linux kernel has CONFIG_WERROR=y. -- these patches weren't ready to make the 1.8.9 cutoff.

For compilers: gcc-11, clang-13 (for userspace). Note, there are are patches for newer compiler levels in the master branch.  -- these patches weren't ready to make the 1.8.9 cutoff.

It should also be noted that an openafs kernel module built with clang has not been tested.  Building the openafs kernel module requires modifications to openafs's make files and these modifications haven't been fully tested, (though I have been trying to address some of the warnings and errors reported by clang when doing a "forced" clang build of the openafs kernel module).
Comment 1 Cheyenne Wills 2022-12-16 18:17:31 UTC
There are 3 patches from the openafs master branch that are needed for 1.8.x for building against a kernel with CONFIG_WERROR=y

From master they are:

gerrit 13665: "LINUX: Run the 'sparse' checker if available"
              1210a8d6d96db2d84595d35ef81ec5d176de05e8
gerrit 15196: "cf: Detect how to pass CFLAGS to linux kbuild"
              f81b01de1a51f02798ac764fb2f6948b592639da
gerrit 15191: "cf: Handle autoconf linux checks with -Werror"
              e2ad1ca5f7355062e808f1717e7410b7ae893371

The clang-16 (clang-15?) support is a little more involved due to other dependencies and I'm currently figuring out what needs to be pulled into 1.8.x from the master branch.
Comment 2 Cheyenne Wills 2022-12-22 17:29:32 UTC
The upstream 1.8.x patches for clang-16, CONFIG_WERROR and some other fixes have been pushed for review.  There may still be some churn as things get reviewed.

See:

https://gerrit.openafs.org/#/q/project:openafs+branch:openafs-stable-1_8_x+status:open