Open luppiterw opened 2 years ago
Which version of Qt? Qt 5 or Qt 6?
I'm having the same error message when building with my own buildsystem which doesn't pass -march=native
like sqlitecipher.pro
does.
However AFAIU that flag can be problematic (code built on my machine might not run on a machine with an older CPU), so it would be better to use something like -march=core-avx2
which sets the bar much lower in terms of CPU requirement, no? I'm not 100% sure what the right flag would be, actually.
Actually, I used the script from https://stackoverflow.com/questions/43128698/inlining-failed-in-call-to-always-inline-mm-mullo-epi32-target-specific-opti and it says the right flags are -maes -msse4.1
.
_mm_aesimc_si128
requires -maes
and _mm_extract_epi32
requires -msse4.1
(at least on gcc/linux).
SOS! How can I handle this error?