[libxslt] Disable LeakSanitizer
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxslt] Disable LeakSanitizer
- Date: Mon, 4 May 2020 13:29:43 +0000 (UTC)
commit cb3ccdd547cbd404019852f05b2b202edfb9a1ef
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Mon May 4 15:21:11 2020 +0200
Disable LeakSanitizer
The GitLab runner doesn't run in privileged mode anymore [1], at least
for projects outside the GNOME group. Disable LeakSanitizer for now
as it needs the ptrace capability.
[1] https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/251
.gitlab-ci.yml | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f292e91d..a9fa1425 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,6 +32,8 @@ clang:asan:
CONFIG: "--without-python"
CC: clang
CFLAGS: "-O2 -g -fno-omit-frame-pointer -fsanitize=address,undefined -fno-sanitize-recover=all
-Wimplicit-int-conversion -Wno-error=cast-align"
+ # LeakSanitizer requires SYS_CAP_PTRACE
+ ASAN_OPTIONS: "detect_leaks=0"
UBSAN_OPTIONS: "print_stacktrace=1"
clang:msan:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]