Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 35498

Summary: Multiple floating point exception errors while compiling crystalspace-cvs code
Product: Gentoo Linux Reporter: Charles Ellis <hamled>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://www.sypherion.com/files/crystalspace-cvs-log.gz
Whiteboard:
Package list:
Runtime testing required: ---

Description Charles Ellis 2003-12-09 21:00:07 UTC
When emerging crystalspace-cvs sometimes logging into the CVS server fails (although this is probably more of a problem with sourceforge's CVS than portage.)

Everytime when compiling the latest CVS code, multiple 'Floating point exception' errors occur.

Reproducible: Always
Steps to Reproduce:
1.emerge crystalspace-cvs
2.downloads from cvs
3.attempts to build

Actual Results:  
g++ -c -o out/UNIX/X86/optimize/apps/demo/demo.o apps/demo/demo.cpp
-D__CRYSTAL_SPACE__ -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe
-Wall -Wno-unknown-pragmas -pipe -mcpu=pentium -march=i586  -march=pentium4
-funroll-loops -fprefetch-loop-arrays -pipe -fno-exceptions   -O3
-fomit-frame-pointer -ffast-math -I. -I./apps -I./include -I./libs -I./plugins
g++ -c -o out/UNIX/X86/optimize/apps/cswstest/cswstest.o
apps/cswstest/cswstest.cpp -D__CRYSTAL_SPACE__ -march=pentium4 -funroll-loops
-fprefetch-loop-arrays-pipe -Wall -Wno-unknown-pragmas -pipe -mcpu=pentium
-march=i586  -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe
-fno-exceptions   -O3 -fomit-frame-pointer -ffast-math -I. -I./apps -I./include
-I./libs -I./plugins
apps/demo/demo.cpp: In member function `bool Demo::DemoHandleEvent(iEvent&)':
apps/demo/demo.cpp:1332: internal error: Floating point exception
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[1]: *** [out/UNIX/X86/optimize/apps/demo/demo.o] Error 1
make: *** [csdemo] Error 2
make: *** Waiting for unfinished jobs....
g++ -c -o out/UNIX/X86/optimize/csabslay.o ./libs/csws/csabslay.cpp
-D__CRYSTAL_SPACE__ -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe
-Wall -Wno-unknown-pragmas -pipe -mcpu=pentium -march=i586  -march=pentium4
-funroll-loops -fprefetch-loop-arrays -pipe -fno-exceptions   -O3
-fomit-frame-pointer -ffast-math -I. -I./apps -I./include -I./libs -I./plugins
include/csutil/array.h: In member function `int csArray<T,
   ElementHandler>::Find(const T&) const [with T = iBase**, ElementHandler =
   csArrayElementHandler<iBase**>]':
include/csutil/array.h:418: internal error: Floating point exception
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[1]: *** [out/UNIX/X86/optimize/apps/cswstest/cswstest.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [cswstest] Error 2
 
!!! ERROR: dev-games/crystalspace-cvs-0.97 failed.
!!! Function src_compile, Line 38, Exitcode 2
!!! (no error message)


The above leaves out configure's output, which can be found in the log at
http://www.sypherion.com/files/crystalspace-cvs-log.gz

Expected Results:  
Should have compiled correctly, I guess?
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-12-09 21:37:07 UTC
cvs live ebuilds are there for developer convenience and are completely unsupported.  If you have the same problem with the regular crystalspace
ebuild please submit a new bug report (be sure to include the output of
emerge --info in your bug reports as requested on the bug submission page).