On Thu, Jul 11, 2013 at 5:44 PM, Drasko DRASKOVIC drasko.draskovic@gmail.com wrote:
/tmp/cczQx5fc.s: Assembler messages: /tmp/cczQx5fc.s:2653: Error: selected processor does not support Thumb mode `rsc r2,r2,#0' /tmp/cczQx5fc.s:2920: Error: selected processor does not support Thumb mode `rsc sl,sl,#0' /tmp/cczQx5fc.s:3623: Error: selected processor does not support Thumb mode `rsc r2,r2,#0' /tmp/cczQx5fc.s:3838: Error: selected processor does not support Thumb mode `rsc r7,r7,#0' make[2]: *** [synth.lo] Error 1 make[2]: Leaving directory `/root/libmad/libmad-0.15.1b' make[1]: *** [all-recursive] Error 1
I have discovered that ARM Thum compilation problems can be overridden with this configuration : ./configure --enable-fpm=default
Apparently assembly optimization procedures are not correct for ARMv7.
From what I can see in the code, it looks like only ARMv4 is
supported, and once (any) ARM architecture is discovered, ./configure script will take ARM FPM optimizations (in this case incorrect).
Can somebody please confirm this ?
Also - do we need this optimizations for ARMv7 at all, since it has hard-floating-point unit?
BR, Drasko