From: Maxime Devos <maximedevos@telenet.be>
To: 49659@debbugs.gnu.org
Cc: Maxime Devos <maximedevos@telenet.be>
Subject: [bug#49659] [PATCH core-updates] gnu: guile: Fix failing tests on i686-linux.
Date: Tue, 20 Jul 2021 13:27:12 +0200 [thread overview]
Message-ID: <20210720112712.25905-1-maximedevos@telenet.be> (raw)
i586-gnu might have the same issue.
* gnu/packages/guile.scm
(guile-3.0)[arguments]<#:configure-flags>: Add
"-fexcess-precision=standard" to CFLAGS.
---
gnu/packages/guile.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index d78c57e88c..e1f6495837 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -16,6 +16,7 @@
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2019 Taylan Kammer <taylan.kammer@gmail.com>
;;; Copyright © 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -316,7 +317,10 @@ without requiring the source code to be rewritten.")
(arguments
(substitute-keyword-arguments (package-arguments guile-2.2)
((#:configure-flags flags ''())
- (let ((flags `(cons "--enable-mini-gmp" ,flags)))
+ ;; -fexcess-precision=standard is required when compiling for
+ ;; i686-linux, otherwise "numbers.test" will fail.
+ (let ((flags `(cons* "CFLAGS=-g -O2 -fexcess-precision=standard"
+ "--enable-mini-gmp" ,flags)))
;; XXX: JIT-enabled Guile crashes in obscure ways on GNU/Hurd.
(if (hurd-target?)
`(cons "--disable-jit" ,flags)
--
2.32.0
next reply other threads:[~2021-07-20 11:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-20 11:27 Maxime Devos [this message]
2021-07-20 13:55 ` [bug#49659] [PATCH core-updates] gnu: guile: Fix failing tests on i686-linux Ludovic Courtès
2021-07-20 16:55 ` Maxime Devos
2021-07-20 20:51 ` Ludovic Courtès
2021-07-20 18:22 ` Efraim Flashner
2021-07-20 21:34 ` [bug#49659] [PATCH v2\ core-updates v2] " Maxime Devos
2021-07-21 13:49 ` bug#49659: [PATCH core-updates] " Ludovic Courtès
2021-07-21 14:50 ` [bug#49659] " Mathieu Othacehe
2021-07-23 9:07 ` Ludovic Courtès
2021-07-23 9:27 ` Maxime Devos
2021-07-25 23:52 ` Thiago Jung Bauermann via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210720112712.25905-1-maximedevos@telenet.be \
--to=maximedevos@telenet.be \
--cc=49659@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).