This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=36cfc2394b4363af68f0a0755e9330817320e2c4

commit 36cfc2394b4363af68f0a0755e9330817320e2c4
Author: Guillem Jover <[email protected]>
AuthorDate: Sun Jul 9 00:15:48 2023 +0200

    build: Fix sanitizer compiler options selected
    
    We should not pass -fsanitize=leak as that is already part of
    -fsanitize=address. To get better stack traces we should pass
    -fno-omit-frame-pointer.
    
    Fixes: commit 59268c3f1098114c0dc27b2129882faa96897a1a
    Changelog: silent
---
 m4/dpkg-compiler.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/dpkg-compiler.m4 b/m4/dpkg-compiler.m4
index 6f5b73693..756af263a 100644
--- a/m4/dpkg-compiler.m4
+++ b/m4/dpkg-compiler.m4
@@ -146,8 +146,8 @@ AC_DEFUN([DPKG_COMPILER_WARNINGS], [
 # -----------------------------
 # Check whether the compiler sanitizer options are supported.
 AC_DEFUN([DPKG_CHECK_COMPILER_SANITIZER], [
+  DPKG_CHECK_COMPILER_FLAG([-fno-omit-frame-pointer])
   DPKG_CHECK_COMPILER_FLAG([-fsanitize=address])
-  DPKG_CHECK_COMPILER_FLAG([-fsanitize=leak])
   DPKG_CHECK_COMPILER_FLAG([-fsanitize=undefined])
 ])
 

-- 
Dpkg.Org's dpkg

Reply via email to