[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
143/246: gnu: libunwind: Fix build with gcc-14.
From: |
guix-commits |
Subject: |
143/246: gnu: libunwind: Fix build with gcc-14. |
Date: |
Sun, 12 Jan 2025 10:21:37 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 2da0090dcb5fbb855d72dcd8ca0b02f2f289bd1a
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Jan 2 13:58:19 2025 +0100
gnu: libunwind: Fix build with gcc-14.
* gnu/packages/libunwind.scm (libunwind)[arguments]: Update to
G-Expressions.
Add #:configure-flags to relax gcc-14's strictness.
Change-Id: Iedab92015d6c5f4b17c33ccb02ede8b0bfd5a71e
---
gnu/packages/libunwind.scm | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/libunwind.scm b/gnu/packages/libunwind.scm
index ccbe2ec751..21197ba16d 100644
--- a/gnu/packages/libunwind.scm
+++ b/gnu/packages/libunwind.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -21,8 +22,9 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages libunwind)
- #:use-module (guix packages)
+ #:use-module (guix gexp)
#:use-module (guix download)
+ #:use-module (guix packages)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (guix build-system gnu)
@@ -41,13 +43,16 @@
"0xj9g6a9q7v7zz6lymf3f6011synibgawi4wi384bywid5kfqsja"))))
(build-system gnu-build-system)
(arguments
- `(;; Two tests are failing with newer toolchains:
- ;; https://github.com/libunwind/libunwind/issues/363
- #:make-flags
- '("XFAIL_TESTS=run-coredump-unwind run-coredump-unwind-mdi")
- ;; A different collection of tests fails for each architecture.
- #:tests? ,(and (not (%current-target-system))
- (target-x86-64?))))
+ (list
+ #:configure-flags
+ #~(list "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration")
+ ;; Two tests are failing with newer toolchains:
+ ;; https://github.com/libunwind/libunwind/issues/363
+ #:make-flags
+ #~(list "XFAIL_TESTS=run-coredump-unwind run-coredump-unwind-mdi")
+ ;; A different collection of tests fails for each architecture.
+ #:tests? (and (not (%current-target-system))
+ (target-x86-64?))))
(home-page "https://www.nongnu.org/libunwind")
(synopsis "Determining the call chain of a program")
(description
- 111/246: gnu: nvi: Fix build with gcc-14., (continued)
- 111/246: gnu: nvi: Fix build with gcc-14., guix-commits, 2025/01/12
- 127/246: gnu: python-2.7: Fix build with gcc-14., guix-commits, 2025/01/12
- 130/246: gnu: zile: Fix build with gcc-14., guix-commits, 2025/01/12
- 131/246: gnu: icu4c: Update to 76.1; fixes build with gcc-14., guix-commits, 2025/01/12
- 118/246: gnu: efivar: Fix build on i686-linux with gcc-14., guix-commits, 2025/01/12
- 132/246: gnu: pangox-compat: Fix build with gcc-14., guix-commits, 2025/01/12
- 136/246: gnu: Add icu4c-71., guix-commits, 2025/01/12
- 135/246: gnu: icu4c: Disable some tests for x86-32., guix-commits, 2025/01/12
- 139/246: gnu: boost-for-mysql: Fix build with gcc-14., guix-commits, 2025/01/12
- 142/246: gnu: mbedtls-lts: Update to 2.28.9 and fix build with gcc-14., guix-commits, 2025/01/12
- 143/246: gnu: libunwind: Fix build with gcc-14.,
guix-commits <=
- 147/246: gnu: chmlib: Fix build with gcc-14., guix-commits, 2025/01/12
- 152/246: gnu: freeipmi: Fix build with gcc-14., guix-commits, 2025/01/12
- 154/246: gnu: colord-minimal: Fix build with gcc-14., guix-commits, 2025/01/12
- 155/246: gnu: doc++: Fix build with gcc-14., guix-commits, 2025/01/12
- 160/246: gnu: python-pypairix: Update to 0.3.8 and fix build with gcc-14., guix-commits, 2025/01/12
- 162/246: gnu: cura-engine: Fix build with gcc-14., guix-commits, 2025/01/12
- 164/246: gnu: mpark-variant: Build with gcc-14; fixes build., guix-commits, 2025/01/12
- 171/246: gnu: r-rcppparallel: Fix build with gcc-14., guix-commits, 2025/01/12
- 182/246: gnu: racket-vm-cgc: Fix build with gcc-14., guix-commits, 2025/01/12
- 185/246: gnu: python-beniget: Update to 0.4.2.post1., guix-commits, 2025/01/12