On 9 August 2011 17:12, Rony Nandy rony.nandy@linaro.org wrote:
Hi,
I am getting the following dump while trying to build for arm
./configure --prefix=/root/dump --host=arm-linux --with-gnu-ld --disable-static --enable-fixed-point --enable-arm-asm -enable-arm5e-asm
configure: WARNING: unrecognized options: --enable-arm-asm Type "make; make install" to compile and install Speex root@rony-ubuntu:~/speex# make make all-recursive make[1]: Entering directory `/root/speex' Making all in libspeex make[2]: Entering directory `/root/speex/libspeex' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I.. -I/root/dump/include -g -O2 -fvisibility=hidden -MT cb_search.lo -MD -MP -MF .deps/cb_search.Tpo -c -o cb_search.lo cb_search.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I.. -I/root/dump/include -g -O2 -fvisibility=hidden -MT cb_search.lo -MD -MP -MF .deps/cb_search.Tpo -c cb_search.c -fPIC -DPIC -o .libs/cb_search.o fixed_arm5e.h: Assembler messages: fixed_arm5e.h:41: Error: no such instruction: `smulbb %ecx,%ax,%di' fixed_arm5e.h:50: Error: no such instruction: `smlabb %edx,%si,%edi,%ecx' fixed_arm5e.h:50: Error: no such instruction: `smlabb %edi,%cx,%esi,%edx' fixed_arm5e.h:41: Error: no such instruction: `smulbb %ecx,%si,%dx' fixed_arm5e.h:50: Error: no such instruction: `smlabb %esi,%dx,%ecx,%edi' fixed_arm5e.h:41: Error: no such instruction: `smulbb %esi,%dx,%cx' make[2]: *** [cb_search.lo] Error 1 make[2]: Leaving directory `/root/speex/libspeex' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/speex' make: *** [all] Error 2
Something is trying to build ARM code with an x86 compiler. I bet libtool has some part of the blame in that.