GNU bug report logs - #36338
guile-2.2.5 fails to build with -ffast-math

Previous Next

Package: guile;

Reported by: Cyprien Nicolas <cyprien <at> nicolas.tf>

Date: Sun, 23 Jun 2019 09:01:02 UTC

Severity: normal

Tags: notabug, wontfix

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Cyprien Nicolas <cyprien <at> nicolas.tf>
To: Mark H Weaver <mhw <at> netris.org>
Cc: 36338 <at> debbugs.gnu.org
Subject: bug#36338: guile-2.2.5 fails to build with -ffast-math
Date: Sun, 7 Jul 2019 15:03:11 +0200
On 27/06/2019 04:57, Mark H Weaver wrote:
> 
> Guile generally assumes that the underlying C implementation will be
> standards compliant.  -Ofast, -ffast-math and related options disregard
> standards compliance.  Among other things, -ffast-math implies
> -ffinite-math-only, which generates code that assumes that all floating
> point values are finite.  However, there's code in Guile's compiler that
> uses +inf.0 and -inf.0 and expects that they will behave as specified in
> IEEE-754.
> 
> So, in summary, I would say that Guile does not support being compiled
> with -Ofast, -ffast-math, or many of the options that -ffast-math
> implies.

Thank you for the clear and detailed explanation. It makes sense.

Cyprien




This bug report was last modified 6 years and 14 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.