On 05/16/2013 04:57 PM, Niels Möller wrote:
arm-buildroot-linux-uclibcgnueabi-as -v GNU assembler version 2.21.1 (arm-buildroot-linux-uclibcgnueabi) using BFD version (GNU Binutils) 2.21.1
arm-buildroot-linux-uclibcgnueabi-gcc -I. -DHAVE_CONFIG_H -pipe -Os -Wno-pointer-sign -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fpic -MT aes-encrypt-internal.o -MD -MP -MF aes-encrypt-internal.o.d -fpic -c aes-encrypt-internal.s aes-encrypt-internal.s: Assembler messages: aes-encrypt-internal.s:140: Error: selected processor does not support ARM mode `uxtb r8,r2' aes-encrypt-internal.s:142: Error: selected processor does not support ARM mode `uxtb r8,r3' aes-encrypt-internal.s:144: Error: selected processor does not support ARM mode `uxtb r8,r12' aes-encrypt-internal.s:146: Error: selected processor does not support ARM mode `uxtb r8,r14'
I've checked in new AES code for pre-v6 processors. Can you test if it works now? Haven't yet tried to address the other issue, with supporting older assemblers.
I now get errors in sha1 and sha256 code. I used make -i and no other code seems to fail.
/home/nmav/cvs/buildroot/output/host/usr/bin/ccache /home/nmav/cvs/buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc -I. -DHAVE_CONFIG_H -pipe -Os -Wno-pointer-sign -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fpic -MT sha1-compress.o -MD -MP -MF sha1-compress.o.d -fpic -c sha1-compress.s sha1-compress.s: Assembler messages: sha1-compress.s:79: Error: selected processor does not support ARM mode `uadd8 r7,r7,r12' sha1-compress.s:86: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:89: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:103: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:106: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:120: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:123: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:137: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:140: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:154: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:157: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:172: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:175: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:189: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:192: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:206: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:209: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:223: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:226: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:240: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:243: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:258: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:261: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:275: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:278: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:292: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:295: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:309: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:312: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:326: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:329: Error: selected processor does not support ARM mode `rev r12,r12' sha1-compress.s:344: Error: selected processor does not support ARM mode `sel r12,r10,r7' sha1-compress.s:347: Error: selected processor does not support ARM mode `rev r12,r12'
/home/nmav/cvs/buildroot/output/host/usr/bin/ccache /home/nmav/cvs/buildroot/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc -I. -DHAVE_CONFIG_H -pipe -Os -Wno-pointer-sign -Wall -W -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wbad-function-cast -Wnested-externs -fpic -MT sha256-compress.o -MD -MP -MF sha256-compress.o.d -fpic -c sha256-compress.s sha256-compress.s: Assembler messages: sha256-compress.s:93: Error: selected processor does not support ARM mode `uadd8 r12,r12,r4' sha256-compress.s:99: Error: selected processor does not support ARM mode `sel r3,r3,r4' sha256-compress.s:101: Error: selected processor does not support ARM mode `rev r3,r3' sha256-compress.s:102: Error: selected processor does not support ARM mode `sel r4,r4,r5' sha256-compress.s:104: Error: selected processor does not support ARM mode `rev r4,r4' sha256-compress.s:105: Error: selected processor does not support ARM mode `sel r5,r5,r6' sha256-compress.s:107: Error: selected processor does not support ARM mode `rev r5,r5' sha256-compress.s:108: Error: selected processor does not support ARM mode `sel r6,r6,r7' sha256-compress.s:110: Error: selected processor does not support ARM mode `rev r6,r6' make[1]: [sha256-compress.o] Error 1 (ignored) rm -f libnettle.a
regards, Nikos