Re: [Openvpn-devel] ARM port

2005-06-24 Thread James Yonan
On Fri, 24 Jun 2005, ov wrote: > * What are the values of x, y, and mod when the assertion is hit? > 32, -1, 64 This is quite strange because these values are nominal -- they shouldn't have triggered the assertion. The assertion statement says: ASSERT (0 <= x && x < mod && -mod <= y && y <=

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

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 James Yonan
On Fri, 24 Jun 2005, [ISO-8859-1] Øyvind Repvik wrote: > > >This is the first report I've ever seen of an assertion in this > >function. > >Try making the function non-inline and see if that changes anything. > > > >Which compiler/version are you using? > > > >James > > I can confirm thi

Re: [Openvpn-devel] ARM port

2005-06-24 Thread Øyvind Repvik
>This is the first report I've ever seen of an assertion in this >function. >Try making the function non-inline and see if that changes anything. > >Which compiler/version are you using? > >James I can confirm this, on the same ARM platform (Intel IXP420), and openvpn tarball downloaded yesterd

Re: [Openvpn-devel] ARM port

2005-06-23 Thread James Yonan
On Thu, 23 Jun 2005, ov wrote: > 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

[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