When attempting to build Chromium's boringssl (fork of openssl) with -march=znver4, using clang-19 trunk, an error occurs. I'm attempting to build qtwebengine, which uses a fork of Chromium 122. Using Gentoo Linux with the llvm git trunk live ebuild.
This only seems to occur with -march=znver4. Using -march=znver3 and -march=skylake-avx512 work fine. Clang-18 also works fine with -march=znver4.
When attempting to build Chromium's boringssl (fork of openssl) with
-march=znver4
, using clang-19 trunk, an error occurs. I'm attempting to build qtwebengine, which uses a fork of Chromium 122. Using Gentoo Linux with the llvm git trunk live ebuild.This only seems to occur with
-march=znver4
. Using-march=znver3
and-march=skylake-avx512
work fine. Clang-18 also works fine with-march=znver4
.Godbolt link with as minimal of an example as I could create (reproduceable as of today): https://godbolt.org/z/dTcsh51na
Preprocessed source attached. scrypt.zip