]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Check config.log for ASAN errors
authorMichal Nowak <mnowak@isc.org>
Fri, 5 Feb 2021 11:12:41 +0000 (12:12 +0100)
committerMichal Nowak <mnowak@isc.org>
Tue, 9 Feb 2021 11:06:05 +0000 (12:06 +0100)
./configure checks might produce a false negative error due to ASAN
errors and thus disable some options.

(cherry picked from commit 0db934d401790f73e5db233997c1a994d8584b82)

.gitlab-ci.yml

index 23d546a1ffc04b06bbc12629398ecf8f869752eb..c7c8700a49a97ef6e02a9569c7d276d1b7c5a681 100644 (file)
@@ -238,6 +238,7 @@ stages:
     - make -j${BUILD_PARALLEL_JOBS:-1} -k all V=1
     - test -z "${RUN_MAKE_INSTALL}" || make install
     - test -z "${RUN_MAKE_INSTALL}" || sh util/check-make-install
+    - if [[ "${CFLAGS}" == *"-fsanitize=address"* ]]; then ( ! grep -F AddressSanitizer config.log ); fi
   needs:
     - job: autoreconf
       artifacts: true