Re: not building with --enable-arm-asm -enable-arm5e-asm

Pavel Pavlov <[email protected]>
Newsgroups gmane.comp.audio.compression.speex.devel
Message-ID <FEC208E803C7894F9CAB7B7410AC26449330761502@EXCHANGE03.pacifica.ca>
> 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

cmd line

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

does not have appropriate cpu or arch param, that's why these instructions are not valid for default arm cpu (which is armv4).
you need to pass -mcpu or -march with appropriate cpu. smlaXX instructions are armv5e. Check inside configure script what you need to pass to be able to properly compile.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.