Re: Help needed to debug an armel build/unittest failure

2010-03-13 Thread Martin Guy
On 3/12/10, Iustin Pop wrote: > I also tried two compiler versions, 4.4 (4.4.3-1) fails unittests but 4.3 > (4.3.4-6) passes them. > > While trying to debug this under gcc 4.4, I managed to add some code to an > inlined function that makes the problem go away. Original function version: > > i

Re: Help needed to debug an armel build/unittest failure

2010-03-12 Thread Iustin Pop
On Thu, Mar 11, 2010 at 02:26:29PM +, Martin Guy wrote: > On 3/11/10, Martin Guy wrote: > > > You can test for that by going > > # echo 5 > /proc/cpu/alignment > > and running your test again. On unaligned access the program will then > > die with SIGBUS instead of merrily going on its w

Re: Help needed to debug an armel build/unittest failure

2010-03-11 Thread Martin Guy
On 3/11/10, Martin Guy wrote: > You can test for that by going > # echo 5 > /proc/cpu/alignment > and running your test again. On unaligned access the program will then > die with SIGBUS instead of merrily going on its way with corrupted > values. Note that QEMU does not emulate either the

Re: Help needed to debug an armel build/unittest failure

2010-03-11 Thread Martin Guy
On 3/7/10, Iustin Pop wrote: > >So it looks like what we're actually seeing here is one bit of corruption. > > > >I still strongly suspect a compiler bug. Probably the compiler's emulation > >of 64-bit arithmetic is broken in some way. > > First, are you aware of 64-bit arithmetic issues on

Re: Help needed to debug an armel build/unittest failure

2010-03-10 Thread Iustin Pop
On Mon, Mar 08, 2010 at 12:18:49AM +, Martin Guy wrote: > On 3/7/10, Iustin Pop wrote: > > Second question would be if it's OK to use agricola to test this > > Well u can use the 600 MHz 512MB box here if that would help. > You access the armel-sid chroot by saying "armel-sid" :) Thanks, in

Re: Help needed to debug an armel build/unittest failure

2010-03-07 Thread Martin Guy
On 3/7/10, Iustin Pop wrote: > Second question would be if it's OK to use agricola to test this Well u can use the 600 MHz 512MB box here if that would help. You access the armel-sid chroot by saying "armel-sid" :) Suggest a username by private email if that would be of help M -- To UNS

Help needed to debug an armel build/unittest failure

2010-03-07 Thread Iustin Pop
Hi, The package protobuf fails to build on armel due to failing unittests (https://buildd.debian.org/fetch.cgi?pkg=protobuf&arch=armel&ver=2.3.0-1&stamp=1264814475&file=log). I talked with upstream and they said it might be a compiler issue, see http://groups.google.com/group/protobuf/browse_threa