From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id sAEJO5BB92CXlQAAgWs5BA (envelope-from ) for ; Tue, 20 Jul 2021 23:35:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6P2wNpBB92A1OgAAB5/wlQ (envelope-from ) for ; Tue, 20 Jul 2021 21:35:12 +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 2E1A01283D for ; Tue, 20 Jul 2021 23:35:12 +0200 (CEST) Received: from localhost ([::1]:47212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m5xOR-0005EN-54 for larch@yhetil.org; Tue, 20 Jul 2021 17:35:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m5xOI-0005Dy-Ha for guix-patches@gnu.org; Tue, 20 Jul 2021 17:35:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52251) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m5xOI-0006qQ-6e for guix-patches@gnu.org; Tue, 20 Jul 2021 17:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m5xOH-0003cL-Qe for guix-patches@gnu.org; Tue, 20 Jul 2021 17:35:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49659] [PATCH v2\ core-updates v2] gnu: guile: Fix failing tests on i686-linux. References: <20210720112712.25905-1-maximedevos@telenet.be> In-Reply-To: <20210720112712.25905-1-maximedevos@telenet.be> Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Jul 2021 21:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49659 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49659@debbugs.gnu.org Cc: ludo@gnu.org, Maxime Devos Received: via spool by 49659-submit@debbugs.gnu.org id=B49659.162681686513860 (code B ref 49659); Tue, 20 Jul 2021 21:35:01 +0000 Received: (at 49659) by debbugs.gnu.org; 20 Jul 2021 21:34:25 +0000 Received: from localhost ([127.0.0.1]:35564 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5xNh-0003bU-D8 for submit@debbugs.gnu.org; Tue, 20 Jul 2021 17:34:25 -0400 Received: from xavier.telenet-ops.be ([195.130.132.52]:35068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m5xNf-0003bL-5Z for 49659@debbugs.gnu.org; Tue, 20 Jul 2021 17:34:24 -0400 Received: from localhost.localdomain ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by xavier.telenet-ops.be with bizsmtp id XZaM250020mfAB401ZaMD4; Tue, 20 Jul 2021 23:34:21 +0200 From: Maxime Devos Date: Tue, 20 Jul 2021 23:34:17 +0200 Message-Id: <20210720213417.5285-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=1626816861; bh=RNg0Q6uLoVEtKwplwq83urIntgoiFM4QHh4A8LUCvIA=; h=From:To:Cc:Subject:Date; b=o8AhjYhvpfmqWt62LL+8ubZ+4vOloyeHh6ezGfOyg77gnM46ZEpR/QX582gpPAoha k+MVO9Ju/YLEFdS87NTc2YviDnk9cFiCk1r05AdSilLuUcZlnHoxnnLmw/ALQ3es6K Ih+eON48keQLHwAz4FyT/SGEJnGUnZP5yH6QGylHFw9ExkkALbYqcG9Evedric7yOy eEaFdVkoWJS9v2YVBa8+1dRokjgBuo+3e1Bo+BUJap4LNFxi2K3p7NQTtVBJAJQKUe /2xZc3w4y7dfj927xEKogir8xBQtjcgfQrPWvFZDzJguyrrD0xsgVFRS1A4RmYx1J1 wvJNivC0spRnA== 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=1626816912; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RNg0Q6uLoVEtKwplwq83urIntgoiFM4QHh4A8LUCvIA=; b=gEcSNWXShS+Go+CeL7OjoC6IH1J7HzjtH4VL15ypIPlTEjoorceP0E0+79ua7SYoUM8AxS 9FJT3yovilvC+iJvrnAb/Ict0gfw7WmyXFQHExOrXFXXz3qTeEMce6zW5AjxjXNv+zvhYD MFDBhRdll8LUWh9glxSuOe+e1EoGwr9RLsR7FcPk+p00o80O4h2vXZ5mKmhHAgOFCHM/Kt qei9oWsl1LR1bvEdvfDSQ7Tc0tIHISKD01NQWBLcLXYqstUA8NK1g5wv53NEcxjhVHNyfk 9y7NRu/ODdK5m2Q6JzMeK0/+XVrrCsmxQ2Fcu1hCmL7lA4JbgiSkTTkvUoM3Vw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626816912; a=rsa-sha256; cv=none; b=gkSQjaOf2JK8DqD9YDh/TBQOHO3OkWHKOeYq7bupP6U3iQOCAa36a0DEJn/fsynSTJ8/gp ZQlN9LSAV+yci+lHEDrsvq1l/XoT8Q5yHE+SM++YvZ6qoFesV+GCGNJKe2QuntEMoXoaUT YP+l2LJSrGpyxOOOxrwzVKiZy6isLEQYfG9Ts7QGtlL/FYrW5bGlm+hG1dWGlf5Zb7W9cs 5OKcGtjx1zrE4lVnYw5/zV6YNo9C2GJc7rgdU55oXnZcIaLiitNMrgqem8M2j/dDA8lL7W EQKNUsiocURt2TBEXKb36P/NRqX2RyMEZtMROeqpOg8PNvIF1RwSyHJtg3fUhA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=o8AhjYhv; 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=o8AhjYhv; 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: 2E1A01283D X-Spam-Score: -0.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: tfegbLublAkW i586-gnu might have the same issue. * gnu/packages/guile.scm (guile-3.0)[arguments]<#:configure-flags>: Add "-fexcess-precision=standard" to CFLAGS when (target-x86-32?) is true. Fixes: . --- gnu/packages/guile.scm | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index d78c57e88c..86621e4ca0 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,11 +317,19 @@ 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))) - ;; XXX: JIT-enabled Guile crashes in obscure ways on GNU/Hurd. - (if (hurd-target?) - `(cons "--disable-jit" ,flags) - flags))) + ;; XXX: JIT-enabled Guile crashes in obscure ways on GNU/Hurd. + `(cons* ,@(if (hurd-target?) + '("--disable-jit") + '()) + ;; -fexcess-precision=standard is required when compiling for + ;; i686-linux, otherwise "numbers.test" will fail + ;; (see and + ;; ). + ,@(if (target-x86-32?) + '("CFLAGS=-g -O2 -fexcess-precision=standard") + '()) + "--enable-mini-gmp" + ,flags)) ((#:phases phases) `(modify-phases ,phases (add-before 'check 'disable-stack-overflow-test -- 2.32.0