Some context:
* I'm cross-compiling Chipmunk to CI20, a Linux Mips machine (http://www.elinux.org/MIPS_Creator_CI20)
* I'm using gcc-mips v4.8.1 as the cross-compiler, and I cannot upgrade it (https://sourcery.mentor.com/GNUToolchai ... cmpid=7108)
* Chipmunk v6.2.2 cross-compiles Ok
* Chipmunk v7.0.0 (github master branch from today) fails with the following error:
Code: Select all
cd /home/riq/src/Chipmunk2D/mips/src && /home/riq/MentorGraphics/Sourcery_CodeBench_Lite_for_MIPS_GNU_Linux/bin/mips-linux-gnu-gcc -Dchipmunk_EXPORTS -std=gnu99 -O3 -DNDEBUG -ffast-math -fPIC -I/home/riq/src/Chipmunk2D/include -o CMakeFiles/chipmunk.dir/cpPolyShape.c.o -c /home/riq/src/Chipmunk2D/src/cpPolyShape.c
/tmp/cc3TBu8t.s: Assembler messages:
/tmp/cc3TBu8t.s:306: Error: invalid operands `movz $24,$25,$fcc0'
src/CMakeFiles/chipmunk.dir/build.make:721: recipe for target 'src/CMakeFiles/chipmunk.dir/cpPolyShape.c.o' failed
The opcode seems to be in the cpPolyShapeQuery function. I posted the disassembly here:
https://gist.github.com/ricardoquesada/ ... -error-L92
any idea how to work-around it?
Thanks!