Re: 8 tests failing during make check with floating point exceptions

Bob Friesenhahn <[email protected]> Mon, 6 May 2019 12:16:36 -0500 (CDT)
Newsgroups gmane.comp.graphics.png.devel
Message-ID <[email protected]>
On Mon, 6 May 2019, Scott Capps wrote:

> Greetings,
>
> I am trying to install libpng 1.6.37 on a CentOS 7 machine and am failing
> some tests when running make check (see below).
>
>  Operating System: CentOS Linux 7 (Core)
>       CPE OS Name: cpe:/o:centos:centos:7
>            Kernel: Linux 3.10.0-957.10.1.el7.x86_64
>      Architecture: x86-64
>
> I am using Intel compilers.

It seems like this compiler is enabling floating point exceptions or 
they were explicitly enabled in the tests.  It is somewhat rare for 
floating point exceptions to be enabled except for the case of 
divide-by-zero.

The relevant manual page related to enabling floating point exceptions 
appears to be 'fenv(3)'.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt