|
From: Christian A. <an...@ko...> - 2006-04-05 12:37:34
|
Hi, Sorry if this appears twice. I have a problem using the gnubg progam (www.gnubg.org) when compiled with= =20 mingw using the -msse flag. The program contains uses sse for cpu's that=20 have it and checks for it's presence at runtime. When the program is ran=20 my old athlon-thunderbird it crashes shortly after start. Running gnubg through gnudb tells me that it is a integer to float=20 conversion that fails: gnubg loaded(gdb) run Starting program: C:\gnu\Code\gnubg/gnubg.exe =2D--Type <return> to continue, or q <return> to quit--- Program received signal SIGILL, Illegal instruction. randRange (range=3D0.705000103) at misc3d.c:792 792 =A0 =A0 =A0 =A0 =A0 =A0 return range * ((float)rand() / (float)RAND_MAX= ); I've tracked it down to (float)rand() failing. Any ideas? Compiled without -msse and sse support enabled in the program runs fine.,=20 but since gnubg is to be distributed in compiled form to a lot of users=20 this is not really an option. Christian. =2D-=20 "I can't promise that I'll try. But, I'll try to try." -- Bart |