guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: bison-boot0: Replace 'posix_spawn' on non-x86 platforms.


From: guix-commits
Subject: 02/03: gnu: bison-boot0: Replace 'posix_spawn' on non-x86 platforms.
Date: Mon, 5 Jul 2021 08:09:44 -0400 (EDT)

civodul pushed a commit to branch core-updates
in repository guix.

commit a159586f8ae4db8a0fcf608b411f962817c3db60
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Jul 5 12:50:08 2021 +0200

    gnu: bison-boot0: Replace 'posix_spawn' on non-x86 platforms.
    
    * gnu/packages/commencement.scm (bison-boot0)[arguments]: Pass 
#:configure-flags
    on non-x86 platforms.
---
 gnu/packages/commencement.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index c4aa8b2..fb02839 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2904,6 +2904,15 @@ exec " gcc "/bin/" program
                            "RANLIB=ranlib -D"))
                       "V=1")
 
+       ;; 'glibc-bootstrap' on non-x86 platforms has a buggy 'posix_spawn'.
+       ;; Thus, use the Gnulib replacement instead.  See
+       ;; <https://bugs.gnu.org/49367>.
+       ,@(match (%current-system)
+           ((or "i686-linux" "x86_64-linux")
+            '())
+           (_
+            '(#:configure-flags '("gl_cv_func_posix_spawn_works=no"))))
+
        ,@(package-arguments bison)))))
 
 (define flex-boot0



reply via email to

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