From ea4704590b7020b7305de874a7e5ee1f20fdae8a 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 2ee8d01b56..bd9f8e5e8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1563,9 +1563,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" OPENSSL_CFLAGS: -I/opt/tsan/include OPENSSL_LIBS: -L/opt/tsan/lib -lssl -lcrypto EXTRA_CONFIGURE: "--disable-dnsrps --enable-pthread-rwlock --without-jemalloc PKG_CONFIG_PATH=/opt/tsan/lib/pkgconfig"