#8 fno-finite-math-only

closed-fixed
None
5
2004-10-02
2004-05-07
Morgan McGuire
No

Date: Thu, 6 May 2004 19:11:08 -0400 (EDT)
From: "Ethan Scott Bromberg-Martin"
<ebromber@cs.brown.edu>
Subject: possibly an icompile --opt problem?

We ran into this at the end of our project, but we were
strapped for time
and forgot to mention it.

Using the newest icompile, whenever I try to icompile --
opt, it computes
the dependencies ok, but then says

Compiling...
g++-3.2 -O3 -D_RELEASE -funsafe-math-optimizations -
fno-trapping-math
-fno-finite-math-only -s -Wall -c -
I/home/ebromber/course/cs224/contours/
-I/usr/include/SDL/ -I/course/cs224/libraries/g3d-
6_02/include/
-I/usr/include/SDL -o .icompile-temp/release/main.o
main.cpp
cc1plus: unrecognized option `-fno-finite-math-only'

which is odd, because I'd think that was a standard
option for the
compiler. When we did a diff on the new vs old version
of icompile, it
looks like you had changed just that line to avoid a
possible crash, but
in this case it doesn't work with the compiler.

Anyway, we ended up using icompile 1.29 instead and it
worked fine.

I guess this is probably a g++ bug, but it is odd that the
old versions
of icompile never caused a problem for me that I could
tell...

I'm using a .cshrc file that says:

#for cs224
setenv INCLUDE /course/cs224/libraries/g3d-
6_02/include:/usr/include/SDL
setenv LIBRARY /course/cs224/libraries/g3d-6_02/linux-lib
setenv LD_LIBRARY_PATH $LIBRARY
setenv CC gcc-3.2
setenv CXX g++-3.2

if that provides any illumination.

Discussion

  • Morgan McGuire
    Morgan McGuire
    2004-10-02

    • status: open --> closed-fixed