guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch core-updates updated: gnu: make-boot0: Build with "--disable-posi


From: guix-commits
Subject: branch core-updates updated: gnu: make-boot0: Build with "--disable-posix-spawn".
Date: Sat, 03 Jul 2021 18:08:53 -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 f436723  gnu: make-boot0: Build with "--disable-posix-spawn".
f436723 is described below

commit f436723ce7da2f5e752f5f4b6f0d568a7bea4403
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Jul 4 00:05:57 2021 +0200

    gnu: make-boot0: Build with "--disable-posix-spawn".
    
    Fixes <https://bugs.gnu.org/49367>.
    
    * gnu/packages/commencement.scm (gnu-make-boot0)[arguments]: Pass
    "--disable-posix-spawn" on non-x86.
---
 gnu/packages/commencement.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 9e8bbf9..c4aa8b2 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2417,7 +2417,16 @@ exec " gcc "/bin/" program
             ;; The generated config.status has some problems due to the
             ;; bootstrap environment.  Disable dependency tracking to work
             ;; around it.
-            `(cons "--disable-dependency-tracking" ,flags))
+            `(cons "--disable-dependency-tracking"
+
+                   ;; 'glibc-bootstrap' on non-x86 platforms has a buggy
+                   ;; 'posix_spawn'.  Thus, disable it.  See
+                   ;; <https://bugs.gnu.org/49367>.
+                   ,(match (%current-system)
+                      ((or "i686-linux" "x86_64-linux")
+                       flags)
+                      (_
+                       `(cons "--disable-posix-spawn" ,flags)))))
            ((#:phases phases)
             `(modify-phases ,phases
                (replace 'build



reply via email to

[Prev in Thread] Current Thread [Next in Thread]