On Mon, Jun 12, 2006 at 12:12:23AM +0800, Paul Wise wrote:
Does anyone here feel like helping out with a FTBFS in synfigstudio due
to a floating point exception in synfig on alpha? If someone could get a
backtrace, or a patch or other hint, that would be great.
Steps to reproduce:
sudo aptitude install synfig synfig-dbg
mkdir tmp ; cd tmp
wget http://svn.voria.com/code/synfig-studio/trunk/images/installer_logo.sif
wget http://svn.voria.com/code/synfig-studio/trunk/images/logo.sif
synfig -q installer_logo.sif -o installer_logo.png --time 0
gdb synfig
run -q installer_logo.sif -o installer_logo.png --time 0
bt
#0 0x020965cc in synfig::Layer_Composite::get_full_bounding_rect (
this=0x12020f080, context=value optimized out)
at /usr/include/ETL/_rect.h:70
#1 0x02171eec in synfig::Context::get_full_bounding_rect (
this=value optimized out) at context.cpp:134
#2 0x02096574 in synfig::Layer_Composite::get_full_bounding_rect (
this=0x12020f080, [EMAIL PROTECTED]) at layer_composite.cpp:132
#3 0x02171eec in synfig::Context::get_full_bounding_rect (
this=value optimized out) at context.cpp:134
#4 0x0208e780 in synfig::Layer_PasteCanvas::set_sub_canvas (
this=0x12020ca10, [EMAIL PROTECTED]) at layer_pastecanvas.cpp:184
#5 0x0208ec68 in synfig::Layer_PasteCanvas::set_param (
this=0x12020ca10, [EMAIL PROTECTED], [EMAIL PROTECTED])
at layer_pastecanvas.cpp:150
#6 0x02152df0 in synfig::CanvasParser::parse_layer (this=0x11fabd6c0,
element=value optimized out, [EMAIL PROTECTED]) at loadcanvas.cpp:1971
#7 0x02149718 in synfig::CanvasParser::parse_canvas (
this=0x11fabd6c0, element=0x1200cf6a0, [EMAIL PROTECTED],
inline_=value optimized out, [EMAIL PROTECTED])
at loadcanvas.cpp:2233
#8 0x02150a70 in synfig::CanvasParser::parse_value (this=0x11fabd6c0,
element=0x1200cf6a0, canvas=value optimized out) at loadcanvas.cpp:855
So looking at the build log for synfig on alpha, I see:
checking for optimization flags... -O2 -ffast-math
and this is what -ffast-math does on alpha. :)
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
[EMAIL PROTECTED] http://www.debian.org/
signature.asc
Description: Digital signature