Closed authwork closed 3 years ago
When I compile ALEX with uint64_t as key, I encounter this error:
target specific option mismatch for _tzcnt_u64
I have added flags: -Wextra -Wundef -mavx -mpopcnt -mbmi.
This is a x86_64 ubuntu with cpu:
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase bmi1 avx2 smep bmi2 erms invpcid rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves flush_l1d arch_capabilities
====================================== add flags -march=native -Wall -Wextra solves this issue. Closed.
-march=native -Wall -Wextra
When I compile ALEX with uint64_t as key, I encounter this error:
I have added flags: -Wextra -Wundef -mavx -mpopcnt -mbmi.
This is a x86_64 ubuntu with cpu:
====================================== add flags
-march=native -Wall -Wextra
solves this issue. Closed.