[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 08/12] .gitlab-ci.d/buildtest.yml: Use -fno-sanitize=function
From: |
Alex Bennée |
Subject: |
[PATCH v3 08/12] .gitlab-ci.d/buildtest.yml: Use -fno-sanitize=function in the clang-system job |
Date: |
Mon, 3 Jun 2024 18:53:24 +0100 |
From: Thomas Huth <thuth@redhat.com>
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 <thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20240601070543.37786-4-thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
.gitlab-ci.d/buildtest.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml
index 91c57efded..0eec570310 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
--
2.39.2
- [PATCH v3 01/12] ci: remove centos-steam-8 customer runner, (continued)
- [PATCH v3 01/12] ci: remove centos-steam-8 customer runner, Alex Bennée, 2024/06/03
- [PATCH v3 03/12] tests/vm: update centos.aarch64 image to 9, Alex Bennée, 2024/06/03
- [PATCH v3 04/12] tests/vm: remove plain centos image, Alex Bennée, 2024/06/03
- [PATCH v3 06/12] docs/ci: clean-up references for consistency, Alex Bennée, 2024/06/03
- [PATCH v3 07/12] tests/lcitool: Delete obsolete centos-stream-8.yml file, Alex Bennée, 2024/06/03
- [PATCH v3 05/12] scripts/ci: remove CentOS bits from common build-environment, Alex Bennée, 2024/06/03
- [PATCH v3 09/12] tests/lcitool: Bump to latest libvirt-ci and update Fedora and Alpine version, Alex Bennée, 2024/06/03
- [PATCH v3 11/12] tests/lcitool: generate package lists for ansible, Alex Bennée, 2024/06/03
- [PATCH v3 08/12] .gitlab-ci.d/buildtest.yml: Use -fno-sanitize=function in the clang-system job,
Alex Bennée <=
- [PATCH v3 12/12] scripts/ci: drive ubuntu/build-environment.yml from lcitool, Alex Bennée, 2024/06/03
- [PATCH v3 10/12] tests/lcitool: Install mingw-w64-tools for the Windows cross-builds, Alex Bennée, 2024/06/03