Bug#354439: gcc-4.0: on mips{,el}: unable to find a register to spill in class 'FP_REGS' when compiling blender

2006-07-18 Thread Florian Ernst
Hello there,

On Sun, Feb 26, 2006 at 12:50:36PM +0100, Florian Ernst wrote:
 Package: gcc-4.0
 Version: 4.0.2-6
 Severity: normal
 
 The problems started when compiling blender 2.40, they persist with
 blender 2.41.

Just for the record, the problem persists when trying to build blender
2.42 using gcc-4.1_4.1.1-8 on mipsel. I don't know about mips yet.

Additionally some other ICE crept up on m68k, I've contacted the
buildd maintainers in order to solicit further info for a bugreport.

Cheers,
Flo


signature.asc
Description: Digital signature


Bug#354439: gcc-4.0: on mips{,el}: unable to find a register to spill in class 'FP_REGS' when compiling blender

2006-02-26 Thread Florian Ernst
Package: gcc-4.0
Version: 4.0.2-6
Severity: normal

The problems started when compiling blender 2.40, they persist with
blender 2.41.
I'm at a loss on this. To me it looked like a compiler bug, so I tried
lowering the optimization to -O1, but this didn't help. Also my
google-fu failed me and I didn't find anything remotely helpful on how
to best proceed. I'd love to report this as a bugreport against gcc,
but lacking access to a MIPS machine myself (at least one where all
Build-Dependencies are present, and it'd be rather complex to strip
down the offending function so it could be tested on casals or vaughan)
I cannot provide any preprocessed files that trigger this bug.

So, any pointers, please...?


| source/blender/src/interface.c: In function 'uiBlockPickerButtons':
| source/blender/src/interface.c:2922: warning: unused parameter 'mode'
| source/blender/src/interface.c:2982: error: unable to find a register to 
spill in class 'FP_REGS'
| source/blender/src/interface.c:2982: error: this is the insn:
| (insn 173 177 174 1 (parallel [
| (set (subreg:SI (reg:HI 266) 0)
| (fix:SI (reg:DF 32 $f0 [265])))
| (clobber (scratch:DF))
| ]) 165 {fix_truncdfsi2_macro} (insn_list:REG_DEP_TRUE 171 (nil))
| (expr_list:REG_DEAD (reg:DF 32 $f0 [265])
| (expr_list:REG_UNUSED (scratch:DF)
| (nil
| source/blender/src/interface.c:2982: confused by earlier errors, bailing out
| scons: *** [build/linux2/source/blender/src/interface.o] Error 1
| scons: building terminated because of errors.
full build logs at
http://buildd.debian.org/build.php?arch=mipspkg=blender and
http://buildd.debian.org/build.php?arch=mipselpkg=blender.

Cheers,
Flo


signature.asc
Description: Digital signature