Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14920 - transcode compile (make) errors
Summary: transcode compile (make) errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: phoen][x
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-01 11:19 UTC by jINKs
Modified: 2003-02-18 10:39 UTC (History)
1 user (show)

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


Attachments
full emerge output log (emerge.out,23.90 KB, text/plain)
2003-02-01 11:21 UTC, jINKs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jINKs 2003-02-01 11:19:40 UTC
when i try to emerge transcode (0.6.3.20030116) the make process stops with the following error:

gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I.     -O3 -funroll-loops -ffast-math -DLINUX -march=pentium3 -pipe -mmmx -msse -fomit-frame-pointer -mfpmath=sse -funroll-loops -falign-functions=4 -frerun-cse-after-loop -frerun-loop-opt -O3 -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c `test -f 'imdct.c' || echo './'`imdct.c
imdct.c: In function `imdct_init':
imdct.c:198: unable to find a register to spill in class `FLOAT_REGS'
imdct.c:198: this is the insn:
(insn 261 259 264 (parallel[ 
            (set (subreg:SF (reg/v:DI 29 rmm0 [60]) 0)
                (float_truncate:SF (reg/v:DF 9 st(1) [122])))
            (clobber (mem:SF (plus:SI (reg/f:SI 20 frame)
                        (const_int -4 [0xfffffffc])) [0 S4 A8]))
        ] ) 139 {*truncdfsf2_1} (insn_list 250 (nil))
    (expr_list:REG_DEAD (reg/v:DF 9 st(1) [122])
        (nil)))
imdct.c:198: confused by earlier errors, bailing out
make[2]: *** [imdct.o] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.3.20030116/work/transcode-0.6.3.20030116/libac3'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.3.20030116/work/transcode-0.6.3.20030116'
make: *** [all] Fehler 2

!!! ERROR: media-video/transcode-0.6.3.20030116 failed.
!!! Function src_compile, Line 104, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:

1.
2.
3.
Comment 1 jINKs 2003-02-01 11:21:00 UTC
Created attachment 7823 [details]
full emerge output log
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-01 14:29:01 UTC
scale down your optimisation settings and test please
Comment 3 Diego Palacios 2003-02-02 13:14:10 UTC
I had the same problem, maybe most updated version of transcode would have to 
be unmasked to resolv the problem 
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-05 14:44:13 UTC
take out the ffast-math flag and try again, please -- this error is a result of your optimisation settings.
Comment 5 phoen][x 2003-02-07 12:59:00 UTC
Are you absolutely sure, seemant?

-phoen][x-
Comment 6 jINKs 2003-02-07 17:58:22 UTC
I had not activated -ffast-math but it must be one of these:
-fomit-frame-pointer -mfpmath=sse -funroll-loops -falign-functions=4 -frerun-cse-after-loop -frerun-loop-opt

setting CFLAGS to these more conservative flags actually works:
-march=pentium3 -O3 -pipe -mmmx -msse

(I tried this once before without success... must have forgotten to rerun configure or so.)
Comment 7 phoen][x 2003-02-13 14:40:24 UTC
Its the "-mfpmath=sse". I'll modify the ebuild to always drop that option.

-phoen][x-
Comment 8 phoen][x 2003-02-18 10:39:19 UTC
Works,

closing this bug as RESO FIXED.

-phoen][x-