Closed tchaikov closed 1 month ago
Likely due to some translation units compiled with -march=native and some not.
Likely due to some translation units compiled with -march=native and some not.
the building host is not able to execute AVX-10 instructions, so -march=native
disables -mevex512
. while the Clang used to build Seastar on the building host is able to emit AVX-10.512 instructions. so, when building intrinsics which require -mevex512
or equivalent options with -march=native
, the compiler fails.
we can revert the fix of ba395a22e1951a1572be2a570092524d91996c67 if we can use clang 18.1.6. see https://github.com/llvm/llvm-project/releases/tag/llvmorg-18.1.6
This patch fixes build failures when compiling AVX512 code using -march=native on machines without AVX512. The problem was introduced by https://github.com/llvm/llvm-project/commit/a7b8b890600a33e0c88d639f311f1d73ccb1c8d2 which is included in LLVM 18.1.5 release.
there are more of similar failures where vector extensions are used, and we are not compiling with
evex512
arch enabled.