Closed kazu-yamamoto closed 4 years ago
Here is cpuinfo:
% cat /proc/cpuinfo | grep flags
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc rep_good nopl eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx hypervisor lahf_lm invpcid_single ssbd ibrs ibpb fsgsbase bmi1 avx2 smep bmi2 erms invpcid xsaveopt spec_ctrl
If use_target_attributes
is disabled, the build gets fine.
I'm not surprised, I saw this too. GCC 4.8 has a version of the header files requiring global target attributes. GCC 4.9 is fine. How is it serious, are there many distributions still with 4.8? That's precisely why flag use_target_attributes exists.
CentOS 7 provides GCC 4.8 while CentOS 8 uses 8.3. I will try this on CentOS 8. (The reason why I had a CentOS 8 instance is GSO (Generic Segmentation Offload) which is considered as a key to improve the performance of QUIC.)
OK. cabal install cryptonite -f support_pclmuldq
works well on CentOS 8. Let's close this.
Thanks for the details about CentOS. I added a note in the README file.
On Linux on Haswell, I got the following error: