[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: NWFPE, -O and shark



>compiled with gcc -lm -o ft ft.c it works and prints a number.
>compiled with an additional -O it dies.
>(the source comes from mpegsound/mpeglayer3.cc
>from the mp3blaster sources.) There is another part that
>fails in that file, beginning at line 177.

You need to find out what instruction it is dying on.  Rebuilding your kernel 
with CONFIG_DEBUG_USER might give you that information, otherwise you could 
use the debugger.  Once you know the faulting address, disassemble the region 
of code surrounding it and let us see the results.

>Given a recent message on ssh, what is this, a bug in GCCs
>optimization? A bug in FPE? My fault?

It could be any of the above, though it seems unlikely a GCC problem would 
cause this.

p.



Reply to: