From 295fd9dad9634413e9b6bdb32b7f183812c30fce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexander=20Hansen=20F=C3=A6r=C3=B8y?= Date: Tue, 18 Mar 2025 13:33:23 +0100 Subject: [PATCH] CI: Install libubsan1 when building with hardening enabled. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 90f6c04e45..c9894ab45a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -102,6 +102,8 @@ variables: - if [ "$NSS" = yes ]; then apt-get install libnss3 libnss3-dev; fi # llvm-symbolizer for sanitizer backtrace - if [ "$HARDENING" = yes ]; then apt-get install llvm; fi + # libubsan1 for building with -fsanitize=address + - if [ "$HARDENING" = yes ]; then apt-get install libubsan1; fi # TODO: This next line should not be debian-only. - if [ "$STEM" = yes ]; then git clone --depth 1 https://gitlab.torproject.org/tpo/network-health/stem.git ; export STEM_PATH="$(pwd)/stem"; fi # TODO: This next line should not be debian-only. -- 2.47.2