Hello, currently I'm working on getting ssh and sshd running on an ARM platform. The OS is Linux 2.6.10 with busybox. I can run "ssh -v" to see the program version. But as soon as I try to connect to a server I get a segmentation fault (SIGSEGV). The sshd seems to work. Are there any known issues concerning ARM platforms? Or any hints about compiler options (GCC)? 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 at 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
Christoph Baumann wrote:> Hello, > > currently I'm working on getting ssh and sshd running on an ARM > platform. The OS is Linux 2.6.10 with busybox. > I can run "ssh -v" to see the program version. But as soon as I try to > connect to a server I get a segmentation fault (SIGSEGV). The sshd seems > to work. Are there any known issues concerning ARM platforms?None that I'm aware of.> Or any hints about compiler options (GCC)?What point in the connection does it crash at? ("ssh -vvv server"). Can you run it under a debugger? If so what does the backtrace say? The first thing I'd check is that OpenSSL passes its self-test "make tests" and/or compile it without assembler optimizations (./Configure no-asm). Failing that, I'd compile OpenSSL, zlib and OpenSSH without compiler optimizations (gcc -O0). -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
> Christoph Baumann wrote: > > This looks like a compiler problem. Any hints to fix that? > > Umm.. Use another toolchain? >This is going to sound incredibly stupid and obvious. Any chance that a complete "make clean" and rebuild will clean it up? Sounds almost like something is defined in multiple places with different sizes.