fails w/: wmf.c: In function `util_draw_arc': wmf.c:2265: unable to find a register to spill in class `FLOAT_REGS' wmf.c:2265: this is the insn: (insn 321 319 323 (set (mem/f:DF (plus:SI (reg/f:SI 7 esp) (const_int 4 [0x4])) [0 S8 A64]) (float_extend:DF (subreg:SF (reg/v:DI 23 rxmm2 [64]) 0))) 133 {*extendsfdf2_1} (nil) (expr_list:REG_DEAD (reg/v:DI 23 rxmm2 [64]) (nil))) wmf.c:2265: confused by earlier errors, bailing out make[1]: *** [wmf.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/imagemagick-5.4.9.1-r1/work/ImageMagick-5.4.9/coders' make: *** [all-recursive] Error 1 !!! ERROR: media-gfx/imagemagick-5.4.9.1-r1 failed. !!! Function src_compile, Line 62, Exitcode 2 !!! compile problem using CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -msse -msse2 -mmmx" i'm going to try trimming down my cflags to see if it helps.
Re-emerged w/ CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" and imagemagick compiles fine. Will try to pin down with optimization is actually causing the problem.
imagemagick compiles fine when removing "-mfpmath=sse" from the CFLAGS. this is the offensive optimization.
Peter, Thanks for the info! I'm going to mark this bug as remind so this it isn't lost.