Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 13245

Summary: imagemagick-5.4.9.1-r1 fails w/ error.
Product: Gentoo Linux Reporter: Peter Johanson (RETIRED) <latexer>
Component: Current packagesAssignee: Michael Cummings (RETIRED) <mcummings>
Status: RESOLVED REMIND    
Severity: normal CC: latexer
Priority: High    
Version: 1.4_rc1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter Johanson (RETIRED) gentoo-dev 2003-01-04 10:26:41 UTC
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.
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2003-01-04 11:30:44 UTC
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.
Comment 2 Peter Johanson (RETIRED) gentoo-dev 2003-01-04 12:29:06 UTC
imagemagick compiles fine when removing "-mfpmath=sse" from the CFLAGS. this is
the offensive optimization. 
Comment 3 Michael Cummings (RETIRED) gentoo-dev 2003-01-06 17:28:37 UTC
Peter,

     Thanks for the info! I'm going to mark this bug as remind so this it isn't
lost.