[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/63: gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14
From: |
guix-commits |
Subject: |
01/63: gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14. |
Date: |
Thu, 12 Dec 2024 05:29:06 -0500 (EST) |
janneke pushed a commit to branch core-packages-team-old
in repository guix.
commit f79b3a74ffd3e148217cacf45844a1772c2c2d40
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Dec 3 12:17:14 2024 +0100
gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14.
* gnu/packages/commencement.scm (gcc-boot0)[arguments]: When building for
x86-linux, add phase "patch-system.h" to substitute fix SIZE_MAX macro.
Change-Id: I6e552aaa458755ec920873a0535f599c88a1f74f
---
gnu/packages/commencement.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 4368893f4d..2b20a28ea2 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2429,6 +2429,15 @@ exec " gcc "/bin/" program
char-set:letter)
#$(package-name lib)))
(list gmp-6.0 mpfr mpc)))))
+ #$@(if (and (target-linux?) (target-x86?))
+ #~((add-after 'unpack 'patch-system.h
+ (lambda _
+ ;; Avoid: missing binary operator before token "("
+ (substitute* "gcc/system.h"
+ (("#ifndef SIZE_MAX" all)
+ (string-append "#define SIZE_MAX (ULONG_MAX)\n"
+ all))))))
+ #~())
#$@(if (target-hurd64?)
#~((add-after 'unpack 'patch-libcc1-static
(lambda _
- branch core-packages-team-old created (now 85aa6be5ce), guix-commits, 2024/12/12
- 07/63: gnu: zip: Fix build with gcc-14., guix-commits, 2024/12/12
- 03/63: gnu: commencement: gcc-final: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/12
- 04/63: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/12
- 06/63: gnu: libffi: Update to 3.4.6; fixes build with gcc-14., guix-commits, 2024/12/12
- 02/63: gnu: gcc-boot0: Fix building on powerpc64le-linux., guix-commits, 2024/12/12
- 01/63: gnu: commencement: gcc-boot0: Fix build for x86-linux with gcc-14.,
guix-commits <=
- 14/63: gnu: automake-1.16.5: Skip tests., guix-commits, 2024/12/12
- 19/63: gnu: commencement: static-bash-for-glibc Fix x86-linux build., guix-commits, 2024/12/12
- 10/63: gnu: unzip: Fix build with gcc-14., guix-commits, 2024/12/12
- 13/63: gnu: Re-Add automake-1.16.5., guix-commits, 2024/12/12
- 15/63: gnu: bdb: Use automake-1.16.5., guix-commits, 2024/12/12
- 17/63: gnu: libstdc++: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/12
- 28/63: gnu: hplip: Update to 3.24.4 and fix build with gcc-14., guix-commits, 2024/12/12
- 30/63: gnu: serf: Update to 1.3.10 and fix build with gcc-14., guix-commits, 2024/12/12
- 21/63: gnu: guile-lzlib: Fix build with gcc-14., guix-commits, 2024/12/12
- 22/63: gnu: go-1.21.5: Skip test failing with gcc-14., guix-commits, 2024/12/12