From: Alexander Hansen Færøy Date: Tue, 18 Mar 2025 12:33:23 +0000 (+0100) Subject: CI: Install libubsan1 when building with hardening enabled. X-Git-Tag: tor-0.4.8.15~4^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=295fd9dad9634413e9b6bdb32b7f183812c30fce;p=thirdparty%2Ftor.git CI: Install libubsan1 when building with hardening enabled. --- 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.