Package: jemalloc
Version: 3.6.0-8
Severity: wishlist
Tags: patch upstream
User: [email protected]
Usertags: hardened1-linux-amd64

Dear Jemalloc Maintainers,

I have successfully bootstrapped the hardened1-linux-amd64 [1] port
using a set of patches [2].
I'm working towards making the port ready for being accepted to Debian
and the attached patch is the one adding the port support to
jemalloc.

It would also let builds being tested using Address Sanitizer in
existing ports.

Accepting this patch would make (re-)bootstrapping the new port
easier.

Thank you in advance,
Balint

[1]
http://balintreczey.hu/blog/proposing-amd64-hardened-architecture-for-debian/
[2] https://anonscm.debian.org/cgit/users/rbalint/rebootstrap.git/


>From 0417bc861687250b12e43e19abd7cf20f0dfc088 Mon Sep 17 00:00:00 2001
From: Balint Reczey <[email protected]>
Date: Thu, 21 Jan 2016 22:33:06 +0100
Subject: [PATCH] Suppress intentional alignment issue detection in Address
 Sanitizer

---
 debian/asan-suppressions.txt | 1 +
 debian/rules                 | 1 +
 2 files changed, 2 insertions(+)
 create mode 100644 debian/asan-suppressions.txt

diff --git a/debian/asan-suppressions.txt b/debian/asan-suppressions.txt
new file mode 100644
index 0000000..4565eb2
--- /dev/null
+++ b/debian/asan-suppressions.txt
@@ -0,0 +1 @@
+interceptor_via_fun:test_alignment_errors
diff --git a/debian/rules b/debian/rules
index 09ac39f..bd738db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -42,6 +42,7 @@ override_dh_auto_build:
 	make all doc
 
 ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
+export ASAN_OPTIONS = suppressions=$(CURDIR)/debian/asan-suppressions.txt
 override_dh_auto_test:
 	make check
 endif
-- 
2.1.4

Reply via email to