From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.invisibles.org (invisibles.org [213.152.46.20]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j43Kk3q2006828 for ; Tue, 3 May 2005 20:46:03 GMT Received: from localhost (localhost [127.0.0.1]) by mail.invisibles.org (Postfix) with ESMTP id 4366C1492766 for ; Tue, 3 May 2005 21:46:13 +0100 (BST) Received: from mail.invisibles.org ([127.0.0.1]) by localhost (jackfrost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 14709-08 for ; Tue, 3 May 2005 21:46:06 +0100 (BST) Received: from [192.168.0.88] (kingmob.invisibles.org [192.168.0.88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.invisibles.org (Postfix) with ESMTP id 967801410441 for ; Tue, 3 May 2005 21:46:06 +0100 (BST) Message-ID: <4277E24C.1050006@invisibles.org> Date: Tue, 03 May 2005 21:42:52 +0100 From: Tim Dodge User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050330) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: [gentoo-embedded] openssl for arm Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new using ClamAV at invisibles.org X-Archives-Salt: 95bbf1c9-efc0-498a-885b-050907b010ed X-Archives-Hash: 30e945a0072c4d17315904db8e0a78dd Hi, I'm trying to cross compile openssl-0.9.7e-r1 for arm-xscale-linux-uclibc. It gets as far as crypto/md5 directory, and then chokes on the ASM like so: making all in crypto/md5... make[2]: Entering directory `/var/tmp/portage/openssl-0.9.7e-r1/work/openssl-0.9.7e/crypto/md5' arm-xscale-linux-uclibc-gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -Os -pipe -march=armv5te -mtune=xscale -Wa,--noexecstack -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -I/tmp/minime/usr/include -c -o md5_dgst.o md5_dgst.c arm-xscale-linux-uclibc-gcc -I.. -I../.. -I../../include -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -Os -pipe -march=armv5te -mtune=xscale -Wa,--noexecstack -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -I/tmp/minime/usr/include -c -o md5_one.o md5_one.c (cd asm; /usr/bin/perl md5-586.pl elf -I.. -I../.. -I../../include -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -Os -pipe -march=armv5te -mtune=xscale -Wa,--noexecstack -DSHA1_ASM -DMD5_ASM -DRMD160_ASM > mx86-elf.s) arm-xscale-linux-uclibc-gcc -c -I.. -I../.. -I../../include -fPIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -DL_ENDIAN -DTERMIO -Wall -Os -pipe -march=armv5te -mtune=xscale -Wa,--noexecstack -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -o asm/mx86-elf.o asm/mx86-elf.s asm/mx86-elf.s: Assembler messages: asm/mx86-elf.s:11: Error: alignment too large: 15 assumed asm/mx86-elf.s:13: Error: unrecognized symbol type "" asm/mx86-elf.s:15: Error: bad instruction `pushl %esi' asm/mx86-elf.s:16: Error: bad instruction `pushl %edi' asm/mx86-elf.s:17: Error: bad instruction `movl 12(%esp),%edi' and so on, until: asm/mx86-elf.s:684: Error: bad instruction `popl %esi' asm/mx86-elf.s:685: Error: bad instruction `ret' make[2]: *** [asm/mx86-elf.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/openssl-0.9.7e-r1/work/openssl-0.9.7e/crypto/md5' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/var/tmp/portage/openssl-0.9.7e-r1/work/openssl-0.9.7e/crypto' make: *** [sub_all] Error 1 I'm completely lost when it comes to assembly, any ideas what I can do to get this to build? Tim -- gentoo-embedded@gentoo.org mailing list