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}"