GNU bug report logs -
#49659
[PATCH core-updates] gnu: guile: Fix failing tests on i686-linux.
Previous Next
Reported by: Maxime Devos <maximedevos <at> telenet.be>
Date: Tue, 20 Jul 2021 11:28:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Tue, Jul 20, 2021 at 03:55:49PM +0200, Ludovic Courtès wrote:
> Hi!
>
> Maxime Devos <maximedevos <at> telenet.be> skribis:
>
> > i586-gnu might have the same issue.
>
> Please add a “Fixes …” line.
>
> > * gnu/packages/guile.scm
> > (guile-3.0)[arguments]<#:configure-flags>: Add
> > "-fexcess-precision=standard" to CFLAGS.
>
> Nitpick: the first two lines can be joined. :-)
>
> > (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)))
>
> Yay! Questions:
>
> 1. Should we make it conditional on
> (or (string-prefix? "i686-" %host-type)
> (string-prefix? "i586-" %host-type))
> ? (I wonder why armhf-linux doesn’t have the same problem.)
>
> Thoughts?
>
> Ludo’.
>
I'd also like to mention that this bug doesn't show up on 32-bit powerpc.
--
Efraim Flashner <efraim <at> flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 303 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.