Overview
| Artifact ID: | 1c9c04904375a2d7c70c03732667bedb11ffd968 |
|---|---|
| Ticket: | 1733467fffffffffffffffffffffffffffffffff
make test failures on IRIX |
| User & Date: | kennykb on 2007-06-11 20:59:54 |
Changes
- icomment:
Logged In: YES user_id=99768 Originator: NO I think that some spelunking on the 'Net may have led me to a solution. Can you confirm that you're using the SGI native 'cc' and not 'gcc'? Otherwise, I'm heading down a false path. If you are using the native CC, I suspect that we've run into an over-aggressive optimization. The native 'cc' looks at the usual test for "Not a Number:" if ((x) != (x)) { /* Not a Number */ ... } and optimizes it away completely (reasoning that every number equals itself). This particular optimization causes trouble in a number of places, and SGI has provided a compiler option to turn it off. Please attempt a build (from 'make distclean') with env CC=cc CFLAGS=-OPT:IEEE_NaN_inf=ON path/to/configure etc... in place of just path/to/configure etc... That should ask the compiler to "pretty please, give us IEEE compliant arithmetic." (Reference: http://preview.tinyurl.com/2eo66u) If this fixes the problem, then I'll put the CFLAGS into tcl.m4; if it fails to fix the problem, then we'll need to investigate further. - login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"