From: Thomas Huth Date: Mon, 3 Jun 2024 17:53:24 +0000 (+0100) Subject: .gitlab-ci.d/buildtest.yml: Use -fno-sanitize=function in the clang-system job X-Git-Tag: v9.1.0-rc0~80^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23ef50ae2d0c557483727db652a18e02b11d272f;p=thirdparty%2Fqemu.git .gitlab-ci.d/buildtest.yml: Use -fno-sanitize=function in the clang-system job The latest version of Clang (version 18 from Fedora 40) now reports bad function pointer casts as undefined behavior. Unfortunately, we are still doing this in quite a lot of places in the QEMU code and some of them are not easy to fix. So for the time being, temporarily switch this off in the failing clang-system job until all spots in the QEMU sources have been tackled. Signed-off-by: Thomas Huth Reviewed-by: Daniel P. Berrangé Message-Id: <20240601070543.37786-4-thuth@redhat.com> Signed-off-by: Alex Bennée Message-Id: <20240603175328.3823123-9-alex.bennee@linaro.org> --- diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml index 91c57efdede..0eec5703109 100644 --- a/.gitlab-ci.d/buildtest.yml +++ b/.gitlab-ci.d/buildtest.yml @@ -432,6 +432,7 @@ clang-system: IMAGE: fedora CONFIGURE_ARGS: --cc=clang --cxx=clang++ --extra-cflags=-fsanitize=undefined --extra-cflags=-fno-sanitize-recover=undefined + --extra-cflags=-fno-sanitize=function TARGETS: alpha-softmmu arm-softmmu m68k-softmmu mips64-softmmu s390x-softmmu MAKE_CHECK_ARGS: check-qtest check-tcg