From b158e1ca4ae78f0077e17fe7274dddae2f0f15ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Mon, 3 Mar 2025 23:05:15 +0100 Subject: [PATCH] Sync the TSAN CC, CFLAGS and LDFLAGS in the respdiff:tsan job (cherry picked from commit 23394afa9ecf8ab0eeea1d5af5e7df8c52392538) --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2c4b2d32ce..7c920b9853 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1657,9 +1657,9 @@ respdiff:tsan: <<: *default_triggering_rules <<: *tsan_debian_bookworm_amd64_image variables: - CC: gcc - CFLAGS: "${CFLAGS_COMMON} -Og -fsanitize=thread" - LDFLAGS: "-fsanitize=thread" + CC: "${CLANG}" + CFLAGS: "${CFLAGS_COMMON} -ggdb -O2 -fsanitize=thread" + LDFLAGS: "-fsanitize=thread -Wl,--disable-new-dtags" EXTRA_CONFIGURE: "--disable-dnsrps --enable-pthread-rwlock --without-jemalloc PKG_CONFIG_PATH=/opt/tsan/lib/pkgconfig" MAX_DISAGREEMENTS_PERCENTAGE: "0.15" TSAN_OPTIONS: "${TSAN_OPTIONS_DEBIAN}"