1 |
Hi, |
2 |
|
3 |
I'm trying to cross compile openssl-0.9.7e-r1 for arm-xscale-linux-uclibc. |
4 |
|
5 |
It gets as far as crypto/md5 directory, and then chokes on the ASM like so: |
6 |
|
7 |
making all in crypto/md5... |
8 |
make[2]: Entering directory |
9 |
`/var/tmp/portage/openssl-0.9.7e-r1/work/openssl-0.9.7e/crypto/md5' |
10 |
arm-xscale-linux-uclibc-gcc -I.. -I../.. -I../../include -fPIC |
11 |
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H |
12 |
-DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -Os -pipe -march=armv5te |
13 |
-mtune=xscale -Wa,--noexecstack -DSHA1_ASM -DMD5_ASM -DRMD160_ASM |
14 |
-I/tmp/minime/usr/include -c -o md5_dgst.o md5_dgst.c |
15 |
arm-xscale-linux-uclibc-gcc -I.. -I../.. -I../../include -fPIC |
16 |
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H |
17 |
-DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -Os -pipe -march=armv5te |
18 |
-mtune=xscale -Wa,--noexecstack -DSHA1_ASM -DMD5_ASM -DRMD160_ASM |
19 |
-I/tmp/minime/usr/include -c -o md5_one.o md5_one.c |
20 |
(cd asm; /usr/bin/perl md5-586.pl elf -I.. -I../.. -I../../include -fPIC |
21 |
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H |
22 |
-DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -Os -pipe -march=armv5te |
23 |
-mtune=xscale -Wa,--noexecstack -DSHA1_ASM -DMD5_ASM -DRMD160_ASM > |
24 |
mx86-elf.s) |
25 |
arm-xscale-linux-uclibc-gcc -c -I.. -I../.. -I../../include -fPIC |
26 |
-DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H |
27 |
-DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -Os -pipe -march=armv5te |
28 |
-mtune=xscale -Wa,--noexecstack -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -o |
29 |
asm/mx86-elf.o asm/mx86-elf.s |
30 |
asm/mx86-elf.s: Assembler messages: |
31 |
asm/mx86-elf.s:11: Error: alignment too large: 15 assumed |
32 |
asm/mx86-elf.s:13: Error: unrecognized symbol type "" |
33 |
asm/mx86-elf.s:15: Error: bad instruction `pushl %esi' |
34 |
asm/mx86-elf.s:16: Error: bad instruction `pushl %edi' |
35 |
asm/mx86-elf.s:17: Error: bad instruction `movl 12(%esp),%edi' |
36 |
|
37 |
and so on, until: |
38 |
|
39 |
asm/mx86-elf.s:684: Error: bad instruction `popl %esi' |
40 |
asm/mx86-elf.s:685: Error: bad instruction `ret' |
41 |
make[2]: *** [asm/mx86-elf.o] Error 1 |
42 |
make[2]: Leaving directory |
43 |
`/var/tmp/portage/openssl-0.9.7e-r1/work/openssl-0.9.7e/crypto/md5' |
44 |
make[1]: *** [subdirs] Error 1 |
45 |
make[1]: Leaving directory |
46 |
`/var/tmp/portage/openssl-0.9.7e-r1/work/openssl-0.9.7e/crypto' |
47 |
make: *** [sub_all] Error 1 |
48 |
|
49 |
I'm completely lost when it comes to assembly, any ideas what I can do |
50 |
to get this to build? |
51 |
|
52 |
Tim |
53 |
-- |
54 |
gentoo-embedded@g.o mailing list |