On Wed, Sep 08, 2010 at 09:46:41PM +0200, Andy Wingo wrote: > Hi, > > On Wed 08 Sep 2010 21:21, primus writes: > > > Failure is at: (won't know where to start debugging this - scheme land now). > > > > gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/module' > > GUILEC ice-9/eval.go > > guile: uncaught throw to wrong-type-arg: (#f Wrong type (expecting ~A): ~S (exact integer (#t # # #)) ((#t # # #))) > > Ew. What version of libgc do you have? Wed Sep 8 21:01:19 BST 2010 Hi Andy, # pkg_info | grep boehm boehm-gc-7.0p2 garbage collection and memory leak detection for C and C++ # for i in `pkg_info -L boehm-gc-7.0p2 | grep lib`;do ls -la $i done -rw-r--r-- 1 root bin 41461 Mar 18 15:24 /usr/local/lib/libcord.so.2.3 -rw-r--r-- 1 root bin 146136 Mar 18 15:24 /usr/local/lib/libgc.so.3.0 -rw-r--r-- 1 root bin 36106 Mar 18 15:24 /usr/local/lib/libcord.a -rw-r--r-- 1 root bin 816 Mar 18 15:24 /usr/local/lib/libcord.la -rw-r--r-- 1 root bin 172748 Mar 18 15:24 /usr/local/lib/libgc.a -rw-r--r-- 1 root bin 780 Mar 18 15:24 /usr/local/lib/libgc.la -r--r--r-- 1 root bin 269 Mar 18 15:24 /usr/local/lib/pkgconfig/bdw-gc.pc > > If you are able to attach to the guile process while it is building, > break on scm_ithrow and send the backtrace. You can edit > meta/guile-tools and replace "exec guile" with "exec > gdb-uninstalled-guile", then when you get a gdb prompt after typing > "make", you can "break scm_ithrow", then "run", then "bt full" when you > hit the error. Have attached gmake_all.l3g backtrace: Starting program: /usr/obj/micro/guile-1.9.12/libguile/guile -e \(@@\ \(guile-tools\)\ main\) -s /usr/obj/micro/guile-1.9.12/met a/guile-tools compile -Wunbound-variable -Warity-mismatch -o ice-9/eval.go ice-9/eval.scm [Switching to process 25962, thread 0x7faf7400] Breakpoint 1, scm_ithrow (key=0x3c0788a0, args=0x3d4094d0, noreturn=1) at throw.c:453 453 } (gdb) bt full #0 scm_ithrow (key=0x3c0788a0, args=0x3d4094d0, noreturn=1) at throw.c:453 No locals. #1 0x1c0904fd in scm_error_scm (key=0x3c0788a0, subr=0x3d4fff50, message=0x3d4fe050, args=0x3d4094f8, data=0x4) at error.c:94 No locals. #2 0x1c090615 in scm_error (key=Could not find the frame base for "scm_error". ) at error.c:60 No locals. #3 0x1c090650 in scm_misc_error (subr=Could not find the frame base for "scm_misc_error". ) at error.c:283 No locals. #4 0x1c068902 in scm_dynamic_link (filename=Variable "filename" is not available. ) at dynl.c:93 file = Variable "file" is not available. (gdb) quit -- -primus "It isn't what you make, it's what you don't lose!"