From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EBSZKUqz9mCDHAEAgWs5BA (envelope-from ) for ; Tue, 20 Jul 2021 13:28:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CERIJUqz9mCXcQAAbx9fmQ (envelope-from ) for ; Tue, 20 Jul 2021 11:28:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3FEBE2D20D for ; Tue, 20 Jul 2021 13:28:10 +0200 (CEST) Received: from localhost ([::1]:35838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5nuy-0007Tc-UG for larch@yhetil.org; Tue, 20 Jul 2021 07:28:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5nus-0007TD-6z for guix-patches@gnu.org; Tue, 20 Jul 2021 07:28:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49647) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5nur-0001fj-Vd for guix-patches@gnu.org; Tue, 20 Jul 2021 07:28:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5nur-0005cw-Re for guix-patches@gnu.org; Tue, 20 Jul 2021 07:28:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49659] [PATCH core-updates] gnu: guile: Fix failing tests on i686-linux. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Jul 2021 11:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49659 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49659@debbugs.gnu.org Cc: Maxime Devos X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162678045121593 (code B ref -1); Tue, 20 Jul 2021 11:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jul 2021 11:27:31 +0000 Received: from localhost ([127.0.0.1]:32960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5nuN-0005cC-JD for submit@debbugs.gnu.org; Tue, 20 Jul 2021 07:27:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:51560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5nuL-0005c4-Bk for submit@debbugs.gnu.org; Tue, 20 Jul 2021 07:27:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5nuL-0007QZ-4t for guix-patches@gnu.org; Tue, 20 Jul 2021 07:27:29 -0400 Received: from andre.telenet-ops.be ([2a02:1800:120:4::f00:15]:46464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5nuI-0001M9-Th for guix-patches@gnu.org; Tue, 20 Jul 2021 07:27:28 -0400 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by andre.telenet-ops.be with bizsmtp id XPTN2500L0mfAB401PTNYv; Tue, 20 Jul 2021 13:27:23 +0200 From: Maxime Devos Date: Tue, 20 Jul 2021 13:27:12 +0200 Message-Id: <20210720112712.25905-1-maximedevos@telenet.be> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1626780443; bh=EZ6BjkK2kPHZ5xv8vpBk0mtMEBY49QXxBp998Gdnjfk=; h=From:To:Cc:Subject:Date; b=EBEocgOgk09YYyHjCUAbvZ44k/BmTesd/yn8aTHBbG/MSe6QislWz0Zv8vipU53bM Z/Pjj8Q8e6xKpQbf070PrI3+Rl6hFim08Sw2LrPdHhpWGVwXBH4Zdk1HCNa0eggM/Z ABow8ed9DJTz66PcribDaJaLGF6ePA2QRe0OwBzMOSWOVzfH6mtB+fzc5SRg3966ZF k5gXpjJYn+HXbBHaOxoh4m1pkYSm5fgNr6KBaiN7n4kQf6ZQxfpt8qLA88Bhz/BHtf dpUoikBvLb212HWAgl6hu/qJbbKG4zIsXL3Vmhg8OJhMd4PD0QM/4t8zcBdyYs0DXC d1ODkWI65x0GQ== Received-SPF: pass client-ip=2a02:1800:120:4::f00:15; envelope-from=maximedevos@telenet.be; helo=andre.telenet-ops.be X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626780490; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=EZ6BjkK2kPHZ5xv8vpBk0mtMEBY49QXxBp998Gdnjfk=; b=l1aw7OXMIMJUQN6P6WfROvbtahxO6v0QlqLJs5hCdUWbuou78LsUPejnUTp1XN1PBICCMg fd2HK5XbpZLgPLGXBPfo1zMDkIGg1GLgLBPcuKzI8R9qbWnS3+8SwhOHqi8GFpcbRgsKGg zphpvYBdOsc5+y0qTL7RE6blmwxsHW15dOMLRfil5c2nnrcXqcHd5mj8pGwpoxcHunwMqF F6YXuxSrTp3zHHUt5yEW5mQGdjvJR56LKd6S2iKcIAyLmfKefnp1d3xXQ9JyEPMA2c8BDZ cIZwDGI+J1I/tbwayhB/V/j6BXQ00AD4FouE8OdY9tYgNvyRuVFDV8DEgKyfvA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626780490; a=rsa-sha256; cv=none; b=eCrx4jKd2NaTvT9ElK0uUpFceI6wO5I2DNh4k62BW4mbpsCmhCS1D+NyjorUD0exmAp+lp xFpU6wAwDCh0Niv6zkpwn9g5GnvEVIT3xKdE3U+kqlXJEoKCy0T0ATGOJPtJ5UQbEaahn6 O5cbiw0bqoAIHJG+kVF9FJ9IJuAS3VbqM4KBm7ULCsriHHxC7FYIrWQ3L5OFaAV2LrTxEL hpf+b3qsi+6s39tgLT6gZ3XZSg1sGxm7Zb7C2mlLQyslNajJonClvEHS+csLrcQlQqthHW Z+BRT55bwa2u+iK/20MpJlTKYYNB2yaFsKioxE00/iJskPe88hxqEAb//NUgvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=EBEocgOg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -0.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=EBEocgOg; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 3FEBE2D20D X-Spam-Score: -0.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: Flro3+Z0rTu2 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 ;;; Copyright © 2019 Taylan Kammer ;;; Copyright © 2020, 2021 Efraim Flashner +;;; Copyright © 2021 Maxime Devos ;;; ;;; 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