On Fri, Dec 23, 2005 at 19:43:50 -0800, Blars Blarson wrote: > Package: missinglib > Version: 0.4.10.debian-2 > Severity: serious > Justification: no longer builds from source > > missinglib failed to build on a sparc buildd, duplicated on my sparc > pbuilder. Please note that some buggy code that casts structures used > to work no longer works due to changes in gcc. > > > > ./runtests > ........................................................ > Ran: 56 tests in: 0.02 seconds. > OK > ./runtests.opt > ........................................................make[2]: *** [test] > Bus error > make[2]: Leaving directory `/build/buildd/missinglib-0.4.10.debian/test' > make[1]: *** [test] Error 2 > make[1]: Leaving directory `/build/buildd/missinglib-0.4.10.debian' > make: *** [build-stamp] Error 2 > > Hi,
I reproduced this and tried to debug with gdb, but I didn't find any obvious bug, so I'll cc: debian-sparc for their help. The bus error seems to happen in caml_format_float (from byterun/floats.c in the ocaml source); gdb gives the following: (gdb) run Starting program: /tmp/missinglib-0.4.10.debian/test/runtests.opt ........................................................ Program received signal SIGBUS, Bus error. 0x0005f698 in caml_format_float () (gdb) where #0 0x0005f698 in caml_format_float () #1 0x0006a3ec in caml_c_call () 0x0005f680 <caml_format_float+240>: call 0x5d110 <caml_stat_alloc> 0x0005f684 <caml_format_float+244>: nop 0x0005f688 <caml_format_float+248>: mov %o0, %l0 0x0005f68c <caml_format_float+252>: mov %l0, %o0 0x0005f690 <caml_format_float+256>: mov %i0, %o1 0x0005f694 <caml_format_float+260>: call 0x7d814 <sprintf> 0x0005f698 <caml_format_float+264>: ldd [ %i1 ], %o2 0x0005f69c <caml_format_float+268>: call 0x5d3d4 <caml_copy_string> (gdb) p (char*)$o0 $1 = 0xefa8f70e "" (gdb) p (char*)$o1 $2 = 0xa35b0 "%.2f" (gdb) p *(double*)$i1 $3 = 0.013319015502929688 Any hint would be appreciated. Cheers, Julien Cristau -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]