diff options
author | Arne Juul <arnej@vespa.ai> | 2023-11-27 12:22:56 +0000 |
---|---|---|
committer | Arne Juul <arnej@vespa.ai> | 2023-11-27 12:22:56 +0000 |
commit | 7aef9b703bf6baac3b9667157766a5e8caa64d5a (patch) | |
tree | 5c17097d62378f4bc8a876ef8c080e7a284efb94 /default_build_settings.cmake | |
parent | e090ce08f06345d04821a72ddc5fd7eca3a2fe4f (diff) |
stop allowing the "RCpc" extension
* with GCC 13, the compiler will automatically use instructions
in the LDAPR family; see
https://community.arm.com/arm-community-blogs/b/tools-software-ides-blog/posts/enabling-rcpc-in-gcc-and-llvm
* newest valgrind (3.22) does not recognize these instructions,
crashing the program with SIGILL
* removing the flag should effectively keep old (gcc 12) behavior,
so it seems to be the safest course for now.
Diffstat (limited to 'default_build_settings.cmake')
-rw-r--r-- | default_build_settings.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/default_build_settings.cmake b/default_build_settings.cmake index 2da6af61211..414c568e3cb 100644 --- a/default_build_settings.cmake +++ b/default_build_settings.cmake @@ -138,7 +138,7 @@ function(vespa_use_default_build_settings) set(DEFAULT_VESPA_CPU_ARCH_FLAGS "-march=haswell -mtune=skylake") endif() elseif(CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64") - set(DEFAULT_VESPA_CPU_ARCH_FLAGS "-march=armv8.2-a+fp16+rcpc+dotprod+crypto -mtune=neoverse-n1") + set(DEFAULT_VESPA_CPU_ARCH_FLAGS "-march=armv8.2-a+fp16+dotprod+crypto -mtune=neoverse-n1") endif() endif() if(DEFINED DEFAULT_EXTRA_LINK_DIRECTORY) |