Problems porting to an ARM platform

Christoph Baumann c.baumann at ppc-ag.de
Thu Oct 22 01:49:53 EST 2009


On 21.10.2009 12:38, Darren Tucker wrote:
> It's not obvious where it's crashing, but the next step is
> authentication, and if you have any public keys it might be crashing
> trying to load them.

This is odd, as sshd runs stable with public key authentication.


> 
> How did you configure and compile OpenSSL?  What compile options did you
> use?

My configuration/build script for OpenSSL looks like this:

export CC=arm-uclinux-gcc
export LD=arm-uclinux-ld
make clean
./Configure linux-generic32 no-asm no-hw no-krb5 no-shared \
no-dso no-threads zlib -I../../../zlib -L../zlib \
-march=armv5 -msoft-float -mtune=arm926ejs -D_FILE_OFFSET_BITS=32
make -j2 build_libs


The script for OpenSSH is attached.


> I'll ask the questions I asked previously that you haven't answered:
>  - does openssl's "make test" pass?

No. The test programs use the option "-ldl" to compile which is not
supported by our embedded platform (only static executables).


>  - can you run ssh under a debugger?  if so what does the backtrace show?

Currently I don't have a gdb suitable for running on the target (it uses
the bflt executable format).



Regards
	Christoph Baumann

-- 

Dipl.-Phys. Christoph Baumann
Power PLUS Communications AG
Am Exerzierplatz 2
68167 Mannheim
Germany

phone: +49(621)40165-???
fax:   +49(621)40165-???
mailto://c.baumann@ppc-ag.de
http://www.ppc-ag.de

Handelsregister-Nr.: HRB 8853
Sitz und Registergericht: Mannheim
Vorstand: Ingo Schönberg (Vorsitzender), Eugen Mayer
Vorsitzender des Aufsichtsrates Univ.-Prof. Dr. Torsten Gerpott


THE INFORMATION CONTAINED IN THIS ELECTRONIC MAIL TRANSMISSION IS
CONFIDENTIAL AND MAY ALSO CONTAIN PRIVILEGED INFORMATION OR WORK
PRODUCT. THE INFORMATION IS INTENDED ONLY FOR THE USE OF THE
INDIVIDUAL OR ENTITY TO WHOM IT IS ADDRESSED. IF YOU ARE NOT THE
INTENDED RECIPIENT, YOU ARE HEREBY NOTIFIED THAT ANY USE,
DISSEMINATION, DISTRIBUTION OR COPYING OF THIS COMMUNICATION IS
STRICTLY PROHIBITED. IF YOU HAVE RECEIVED THIS ELECTRONIC MAIL
TRANSMISSION IN ERROR, PLEASE IMMEDIATELY ERASE AND DELETE THE
ORIGINAL MESSAGE FROM YOUR DATABASE

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.ppc
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20091021/204c2eca/attachment.ksh>


More information about the openssh-unix-dev mailing list