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

blender FTBFS problems on mips{,el}: please help



Hello there,

[ Please CC me on replies as I'm not subscribed. ]

I'm afraid I need help here as I don't know how to proceed.

The blender package fails to build on mips{,el} ever since release
2.40. When using g++-4.1 it hits an ICE[0], when using g++-3.x the
linking fails[1]. With the architectures being out of sync this
prevents migration to testing, so at the moment a year-old version of
blender is in etch which isn't quite desireable for release. :(

If anyone could possibly get blender to compile on mips and/or mipsel
please tell me how to do it.

Cheers,
Flo


[0] ICE when using g++-4.1:
| source/blender/src/interface.c: In function 'uiBlockPickerButtons':
| source/blender/src/interface.c:3207: error: unable to find a register to spill in class 'FP_REGS'
| source/blender/src/interface.c:3207: error: this is the insn:
| (insn 171 175 172 1 (parallel [
|             (set (subreg:SI (reg:HI 278) 0)
|                 (fix:SI (reg:DF 32 $f0 [277])))
|             (clobber (scratch:DF))
|         ]) 169 {fix_truncdfsi2_macro} (insn_list:REG_DEP_TRUE 169 (nil))
|     (expr_list:REG_DEAD (reg:DF 32 $f0 [277])
|         (expr_list:REG_UNUSED (scratch:DF)
|             (nil))))
| source/blender/src/interface.c:3207: confused by earlier errors, bailing out
| scons: *** [build/linux2/source/blender/src/interface.o] Error 1
| scons: building terminated because of errors.
Reported as bug#354439, supposedly fixed in g++-4.2.

[1] Linking fails when using g++-3.x:
| Linking program ==> 'blender'
| `.gnu.linkonce.t._ZNK8BoxShape16GetPlaneEquationER11SimdVector4i' referenced in section `.rodata' of build/linux2/lib/libextern_bullet.a(CylinderShape.o): defined in discarded section `.gnu.linkonce.t._ZNK8BoxShape16GetPlaneEquationER11SimdVector4i' of build/linux2/lib/libextern_bullet.a(CylinderShape.o)
| `.gnu.linkonce.t._ZNK8BoxShape7GetEdgeEiR11SimdVector3S1_' referenced in section `.rodata' of build/linux2/lib/libextern_bullet.a(CylinderShape.o): defined in discarded section `.gnu.linkonce.t._ZNK8BoxShape7GetEdgeEiR11SimdVector3S1_' of build/linux2/lib/libextern_bullet.a(CylinderShape.o)
| collect2: ld returned 1 exit status
| scons: *** [build/linux2/bin/blender] Error 1
| scons: building terminated because of errors.

Attachment: signature.asc
Description: Digital signature


Reply to: