Skip to content
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

FLAG Setting: target specific option mismatch for _tzcnt_u64 #13

Closed
authwork opened this issue Jun 30, 2021 · 0 comments
Closed

FLAG Setting: target specific option mismatch for _tzcnt_u64 #13

authwork opened this issue Jun 30, 2021 · 0 comments

Comments

@authwork
Copy link

authwork commented Jun 30, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant