[libxml2] Disable LeakSanitizer
- From: Nick Wellnhofer <nwellnhof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Disable LeakSanitizer
- Date: Mon, 2 Mar 2020 11:27:13 +0000 (UTC)
commit 2a7b66846ef419a4da4ed60f863449f3498a1cc5
Author: Nick Wellnhofer <wellnhofer aevum de>
Date: Mon Mar 2 11:52:52 2020 +0100
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 71f66e0b..de5f4bc6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -33,6 +33,8 @@ clang:asan:
CONFIG: "--without-python"
CC: clang
CFLAGS: "-O2 -g -fno-omit-frame-pointer -fsanitize=address,undefined,unsigned-integer-overflow
-fno-sanitize-recover=all -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]