[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-updates updated: gnu: glibc: Build with '--strip-debug' inst
From: |
guix-commits |
Subject: |
branch core-updates updated: gnu: glibc: Build with '--strip-debug' instead of '--strip-all'. |
Date: |
Thu, 07 Apr 2022 12:36:06 -0400 |
This is an automated email from the git hooks/post-receive script.
civodul pushed a commit to branch core-updates
in repository guix.
The following commit(s) were added to refs/heads/core-updates by this push:
new 6b6fb78724 gnu: glibc: Build with '--strip-debug' instead of
'--strip-all'.
6b6fb78724 is described below
commit 6b6fb78724869c03394d0e6dc2f50f0777f6d467
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Apr 7 18:34:47 2022 +0200
gnu: glibc: Build with '--strip-debug' instead of '--strip-all'.
Fixes <https://issues.guix.gnu.org/54728>.
Reported by Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>.
* gnu/packages/base.scm (glibc)[arguments]: Add #:strip-flags.
---
gnu/packages/base.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index f4f6fce6e0..72329dbaf6 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021
Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2012-2022 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2019 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2014, 2015, 2016, 2018 Mark H Weaver <mhw@netris.org>
@@ -742,6 +742,10 @@ the store.")
(guix build utils)
(guix build gnu-build-system))
+ ;; Strip binaries but preserve the symbol table needed by Valgrind:
+ ;; <https://lists.gnu.org/archive/html/help-guix/2022-03/msg00036.html>.
+ #:strip-flags '("--strip-debug")
+
#:configure-flags
(list "--sysconfdir=/etc"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-updates updated: gnu: glibc: Build with '--strip-debug' instead of '--strip-all'.,
guix-commits <=