[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#131890: gcc-2.95: gcc won't build package (searchandrescue) Unable to generate reloads for: . . .



Package: gcc-2.95
Version: 1:2.95.4-4

Hi,

The bug I am experiencing looks similar to the above bug.   My example
isn't quite as self-contained. 

The source package is here:
http://people.debian.org/~dwhedon/searchandrescue_0.7.19-1.diff.gz
http://people.debian.org/~dwhedon/searchandrescue_0.7.19-1.dsc
http://people.debian.org/~dwhedon/searchandrescue_0.7.19.orig.tar.gz

Here is a version of the offending file with lots stripped out, and the
smallest command line that still show the error:
http://people.debian.org/~dwhedon/sardraw.c


bash-2.05a$ cc -c sardraw.c  -Wall -O2 -fomit-frame-pointer

sardraw.c: In function `SARDrawHUD':

. . . snip snip . . . .

sardraw.c:263: Internal compiler error:
sardraw.c:263: Unable to generate reloads for:
(insn 564 562 566 (parallel[ 
            (set (reg:SI 6 %ebp)
                (fix:SI (fix:DF (reg:DF 150))))
            (clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
                        (const_int -86 [0xffffffaa])) 0))
            (clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
                        (const_int -88 [0xffffffa8])) 0))
            (clobber (mem:SI (plus:SI (reg:SI 6 %ebp)
                        (const_int -84 [0xffffffac])) 0))
            (clobber (scratch:HI))
        ] ) 149 {fix_truncdfsi2+1} (insn_list 562 (nil))
    (expr_list:REG_UNUSED (scratch:HI)
        (nil)))
bash-2.05a$ 


This is what it looks like when it tries to build the package from
source.

cc -c sardraw.c  -Wall -O6 -funroll-loops -fomit-frame-pointer -ffast-math -finline-functions -fexpensive-optimizations -D__USE_BSD -DJS_SUPPORT -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM -DHAVE_Y2
sardraw.c: In function `SARDrawHUD':
sardraw.c:2963: Internal compiler error:
sardraw.c:2963: Unable to generate reloads for:
(insn 610 608 612 (parallel[ 
            (set (reg:SI 6 %ebp)
                (fix:SI (fix:DF (reg:DF 156))))
            (clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
                        (const_int -86 [0xffffffaa])) 0))
            (clobber (mem:HI (plus:SI (reg:SI 6 %ebp)
                        (const_int -88 [0xffffffa8])) 0))
            (clobber (mem:SI (plus:SI (reg:SI 6 %ebp)
                        (const_int -84 [0xffffffac])) 0))
            (clobber (scratch:HI))
        ] ) 149 {fix_truncdfsi2+1} (insn_list 608 (nil))
    (expr_list:REG_UNUSED (scratch:HI)
        (nil)))
make[2]: *** [sardraw.o] Error 1
make[2]: Leaving directory `/home/dwhedon/debian/searchandrescue/searchandrescue-0.7.19/sar'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/dwhedon/debian/searchandrescue/searchandrescue-0.7.19'
make: *** [build-stamp] Error 2
bash-2.05a$ 

FWIW, removing -fomit-frame-pointer on that file allows searchandrecue
to compile.

-David

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux oink 2.4.18 #1 Thu Mar 14 20:07:41 PST 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gcc-2.95 depends on:
ii  binutils                   2.11.93.0.2-2 The GNU assembler, linker and bina
ii  cpp-2.95                   1:2.95.4-3    The GNU C preprocessor.
ii  gcc                        2:2.95.4-13   The GNU C compiler.
ii  libc6                      2.2.5-3       GNU C Library: Shared libraries an




Reply to: