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

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



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=mips&pkg=blender> and
<http://buildd.debian.org/build.php?arch=mipsel&pkg=blender>.

Cheers,
Flo

Attachment: signature.asc
Description: Digital signature


Reply to: