diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-07-24 09:25:42 +1000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-07-26 09:35:27 +1000 |
commit | 8e466dd092469e5ab0f355775c571ea96f3a8e23 (patch) | |
tree | 888d87e2deea389e1383ace9b8331b79d87dcf9a | |
parent | 9c69a83550912e9b45d4090374b9ec78396bc7df (diff) | |
download | qemu-8e466dd092469e5ab0f355775c571ea96f3a8e23.zip qemu-8e466dd092469e5ab0f355775c571ea96f3a8e23.tar.gz qemu-8e466dd092469e5ab0f355775c571ea96f3a8e23.tar.bz2 |
gitlab-ci: Use -fno-sanitize=function in the clang-user job
With -fsanitize=undefined, which implies -fsanitize=function,
clang will add a "type signature" before functions.
It accesses funcptr-8 and funcptr-4 to do so.
The generated TCG prologue is directly on a page boundary,
so these accesses segfault.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20240723232543.18093-1-richard.henderson@linaro.org>
-rw-r--r-- | .gitlab-ci.d/buildtest.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml index e3a0758..aa32782 100644 --- a/.gitlab-ci.d/buildtest.yml +++ b/.gitlab-ci.d/buildtest.yml @@ -444,6 +444,7 @@ clang-user: CONFIGURE_ARGS: --cc=clang --cxx=clang++ --disable-system --target-list-exclude=alpha-linux-user,microblazeel-linux-user,aarch64_be-linux-user,i386-linux-user,m68k-linux-user,mipsn32el-linux-user,xtensaeb-linux-user --extra-cflags=-fsanitize=undefined --extra-cflags=-fno-sanitize-recover=undefined + --extra-cflags=-fno-sanitize=function MAKE_CHECK_ARGS: check-unit check-tcg # Set LD_JOBS=1 because this requires LTO and ld consumes a large amount of memory. |