[Openvpn-devel] ARM port

2005-06-23 Thread ov
Hi all, I'm new to this list, so I hope I'm posting to the right place. I've been working on getting openvpn to work on an ARM system, and I've run into a little trouble. A straight ./configure; make works fine, but the resulting binary fails the loopback self tests with an assertion failure in

Re: [Openvpn-devel] ARM port

2005-06-24 Thread ov
* What are the values of x, y, and mod when the assertion is hit? 32, -1, 64 * A call stack trace would be nice, i.e. which function was calling modulo_add when the assertion was hit? It's actually being called through the macro CIRC_LIST_PUSH (p->seq_list, SEQ_UNSEEN); #0 packet_id_add (p=0xbf

Re: [Openvpn-devel] ARM port

2005-06-24 Thread ov
* Does the assertion occur if compiler optimization is turned off? (edit Makefile and remove -O2 from gcc commands) * Does the assertion occur if inline functions are turned off? (edit Makefile and add -fno-inline to gcc commands) Both fix the assertion failure, as does removing the inline specif