-
Notifications
You must be signed in to change notification settings - Fork 335
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
b3sum fails to compile on CentOS 7 (unrecognized command line option) #6
Comments
Your version of gcc looks from 2015, tried upgrading? |
It's a fully up-to-date install of CentOS 7 (which is nearly identical to RHEL 7). Like it or not, each major RHEL release is supported for a long time (over 10 years) while keeping the same version of almost all components (with a couple of exceptions for fast-moving things like web browsers), which is why large companies love using it. At work, we have some clients still using RHEL 6 (or CentOS 6), which has the even older GCC 4.4. |
I didn't enable AVX-512 by default for the One thing we could definitely improve here is the error message that you get. I think |
Yes, I think that would be an acceptable workaround. The ideal solution would be to autodetect when these gcc flags are not available and automatically disable the avx512 feature, but I don't think |
If AVX-512 is enabled, and the local C compiler doesn't support it, the build is going to fail. However, if we check for this explicitly, we can give a better error message. Fixes #6.
Just released v0.1.1. Could you confirm that this gives a better error message on CentOS 7, and that the |
Yes, both work correctly. Compiling with
|
Awesome, thanks. |
When trying to compile with
cargo install b3sum
on CentOS 7, it fails with the following error message:Full output:
The gcc version is:
Compiling with
cargo install --no-default-features --features rayon b3sum
works.The text was updated successfully, but these errors were encountered: