-
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
ZFS Build Failure on aarch64 #8345
Comments
This duplicate #6820 |
I think this is a repeat of a 'closed' issue. Steps to fix: https://forum.armbian.com/topic/6789-build-zfs-on-rk3328/?do=findComment&comment=53681 |
I don't see what wrong detection of the architecture can possibly have to do with selinux. |
I can confirm that this issue persists with kernel 4.9.181 and ZFS 0.8.1 on CentOS 7.6 userspace.
|
Using the master branch (c1b5801), I'm able to build and load the dkms module with a RHEL 7.6 aarch64 AWS instance:
|
There may be some discrepancy between RHEL and CentOS that is causing this. @behlendorf also mentioned on the related ticket here that it built on RHEL without issues: |
Confirming that the same issue persists with CentOS 7.7 on aarch64 with ZoL 0.8.2. |
running |
Confirming that the same issue persists with CentOS 7.7 on aarch64 with ZoL 0.8.3. |
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions. |
This should be resolved. All recent release tarballs have been generated with a new enough version of autoconf. |
System information
Describe the problem you're observing
SPL ./configure fails to guess the architecture. It has to be invoked with:
./configure --build=aarch64-unknown-linux-gnu
That succeeds,. and the make step succeeds, but make rpms then fails with:
checking build system type... Invalid configuration
aarch64-redhat-linux-gnu': machine
aarch64-redhat' not recognizedWhat fixes it is changing /usr/lib/rpm/macros entry from
%_host aarch64-redhat-linux-gnu
to
%_host aarch64-unknown-linux-gnu
This works correctly on x86-64, and x86_64-redhat-linux-gnu seems to get recognized.
With updated config.guess it still fails:
Workaround is to manually copy spl_config.hfrom the original build directory to /usr/src/spl/0.7.12/, but the spl-dkms package should have brought that with it.
The text was updated successfully, but these errors were encountered: