Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13245 - imagemagick-5.4.9.1-r1 fails w/ error.
Summary: imagemagick-5.4.9.1-r1 fails w/ error.
Status: RESOLVED REMIND
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michael Cummings (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-04 10:26 UTC by Peter Johanson (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.