[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
67/74: bash-minimal: Use gcc-14 hurd/x86-linux build fix for all platfor
From: |
guix-commits |
Subject: |
67/74: bash-minimal: Use gcc-14 hurd/x86-linux build fix for all platforms. |
Date: |
Wed, 18 Dec 2024 08:07:19 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit a46c502c47046fa9ac7be4ebc4845a545932778c
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Dec 12 14:08:27 2024 +0100
bash-minimal: Use gcc-14 hurd/x86-linux build fix for all platforms.
* gnu/packages/bash.scm (bash-minimal)[arguments]: Unconditionally add
CFLAGS
to #:configure-flags to relax gcc-14's strictness.
Change-Id: Ifd502adf8c53aa960c02a50bc5bd498bfb9858f6
---
gnu/packages/bash.scm | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/bash.scm b/gnu/packages/bash.scm
index c0d46761e9..df34da21ec 100644
--- a/gnu/packages/bash.scm
+++ b/gnu/packages/bash.scm
@@ -254,7 +254,8 @@ without modification.")
(srfi srfi-1)
(srfi srfi-26)))
((#:configure-flags flags '())
- `(list "--without-bash-malloc"
+ `(list "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration"
+ "--without-bash-malloc"
"--disable-readline"
"--disable-history"
"--disable-help-builtin"
@@ -266,15 +267,6 @@ without modification.")
;; modules and related code.
"ac_cv_func_dlopen=no"
- ,@(if (or (target-hurd64?)
- (%current-target-system)
- (and (target-x86?) (target-linux?)))
- ;; gcc-14 implictly uses -Wimplicit-function-declaration
- ;; which together with -Werror causes:
- ;; ./enable.def:492:11: error: implicit declaration of
function ‘dlclose’;
- '("CFLAGS=-g -O2
-Wno-error=implicit-function-declaration")
- '())
-
,@(if (%current-target-system)
'("bash_cv_job_control_missing=no"
"bash_cv_getcwd_malloc=yes")
- 27/74: gnu: cmake-bootstrap: Fix build with gcc-14., (continued)
- 27/74: gnu: cmake-bootstrap: Fix build with gcc-14., guix-commits, 2024/12/18
- 39/74: gnu: cyrus-sasl: Fix build mwith gcc-14., guix-commits, 2024/12/18
- 41/74: gnu: bdb-4.8: Fix build with gcc-14., guix-commits, 2024/12/18
- 34/74: gnu: gcc-boot0: Fix building for aarch64-linux., guix-commits, 2024/12/18
- 20/74: gnu: libstdc++: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/18
- 35/74: gnu: zziplib: Update to 0.13.78; fixes build with gcc-14., guix-commits, 2024/12/18
- 42/74: gnu: gamin: Fix build with gcc-14., guix-commits, 2024/12/18
- 45/74: gnu: openldap: Update to 2.6.9; fixes build with gcc-14., guix-commits, 2024/12/18
- 58/74: gnu: netdde: Use -Wno-error=., guix-commits, 2024/12/18
- 56/74: gnu: flex: Use -Wno-error= for cross-build., guix-commits, 2024/12/18
- 67/74: bash-minimal: Use gcc-14 hurd/x86-linux build fix for all platforms.,
guix-commits <=
- 65/74: gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux., guix-commits, 2024/12/18
- 57/74: gnu: hurd: Use -Wno-error=., guix-commits, 2024/12/18
- 16/74: gnu: Re-Add automake-1.16.5., guix-commits, 2024/12/18
- 21/74: gnu: torsocks: Fix build with gcc-14., guix-commits, 2024/12/18
- 38/74: gnu: epson-inkjet-printer-escpr: Fix build with gcc-14., guix-commits, 2024/12/18
- 49/74: gnu: Use cryptsetup-minimal instead of cryptsetup., guix-commits, 2024/12/18
- 66/74: gnu: gcc-4.7: Add gcc-wrapper from gcc-final., guix-commits, 2024/12/18
- 51/74: gnu: python-numpy: Update to 1.26.4 and fix build with gcc-14., guix-commits, 2024/12/18
- 63/74: gnu: git: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/18
- 48/74: gnu: Add cryptsetup-minimal., guix-commits, 2024/12/18