-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not compile with CentOS 7 & 5.4 kernel #11745
Comments
config.log file: |
I've had the same failure a few weeks ago compiling it directly with autogen, configure, and make install. I didn't have time to look into it to closely and then forgot about it, but it seemed to me that the kernel-lt and associated dev packages are missing pieces. It would be great if someone from the openzfs team could take a look and see if this is a ZFS build issue, or a kernel issue. |
This looks like it may be a duplicate of #9755. See this #9755 (comment) for details and a possible workaround. |
After reading that, I installed gcc-8 and got a lot farther, almost to the end, before I got this:
|
Ok, I got it to work by installing gcc-9. Is this an issue with needing gcc-9 for kernel 5.4 & above, or specifically with ZFS? |
This isn't specific to ZFS, it's a problem for other external modules. It seems kernel 5.4 and above require gcc-9. |
Ok, thanks. I'll update that on the machines I need to install ZFS on. |
System information
Describe the problem you're observing
I'm installing zfs through this guide: https://openzfs.github.io/openzfs-docs/Getting%20Started/RHEL%20and%20CentOS.html#dkms
But the dkms compile failed with 5.4.96-200.el7.x86_64 kernel.
(Need to enable the centos-kernel repo on /usr/yum.repos.d/CentOS-x86_64-kernel.repo to install 5.4 kernel on CentOS 7)
Describe how to reproduce the problem
The DKMS install failed, I've tried manually compile it with "dkms install -m zfs -v 0.8.6", but it still failed.
Include any warning/errors/backtraces from the system logs
The text was updated successfully, but these errors were encountered: