Package: yorick
Version: 1.5.14-1.1

yorick produces a floating point exception on powerpc when I compile
it with a snapshot of GCC 4.2.  I'm not entirely sure whether this is
a compiler bug or one in your package, but from other cases like these
it is likely that your package is doing something wrong and that newer
optimizations exhibit the problem.

Maybe you or your upstream can investigate.  If everything fails, I
can talk to someone who knows GCC well.

I've done some preliminary investigation which shows where the error
is.  The exception goes away if you drop the optimization from
fpuset.c or compile that file with gcc 4.0 or 4.1.  A traceback shows:

Program received signal SIGFPE, Arithmetic exception.
0x10077d80 in u_fpu_setup ()
(gdb) where
#0  0x10077d80 in u_fpu_setup ()
#1  0x10012200 in u_main_loop ()
#2  0x10003864 in main (argc=1, argv=0xfff02bf4) at main.c:19
(gdb)


> Automatic build of yorick_1.5.14-1.1 on test.track.rz.uni-augsburg.de by 
> sbuild/powerpc 0.44
...
> make[2]: Leaving directory `/build/tbm/yorick-1.5.14/gist'
> make[2]: Entering directory `/build/tbm/yorick-1.5.14/doc'
> ../yorick/yorick -batch maked.i
> make[2]: *** [docs] Floating point exception
> make[2]: Leaving directory `/build/tbm/yorick-1.5.14/doc'
> make[1]: *** [docs] Error 2

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to