Thomas Klausner
2014-10-27 15:12:35 UTC
Hi!
I'm trying to get a usable guile-2.0.11 on NetBSD-7.99.1/x86_64.
guile-1.8.x works fine on the same system.
I'm using gc-7.4.2 from pkgsrc, which currently has no additional
patches. It is compiled with --enable-cplusplus and --disable-threads.
'make check' passes without errors.
The guile build fails with:
GEN guile-procedures.texi
GC_is_visible test failed
[1] Broken pipe cat alist.doc ar... |
Abort trap (core dumped) GUILE_INSTALL_LO...
which is the first time that the linked guile binary is actually
executed.
The backtrace looks like this:
Core was generated by `guile'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f7ff4d0e2ca in _lwp_kill () from /usr/lib/libc.so.12
(gdb) bt
#0 0x00007f7ff4d0e2ca in _lwp_kill () from /usr/lib/libc.so.12
#1 0x00007f7ff4d0df55 in abort () at /archive/foreign/src/lib/libc/stdlib/abort.c:74
#2 0x00007f7ff7415d2b in GC_default_is_visible_print_proc () from /usr/obj/wip/guile2/work/.buildlink/lib/libgc.so.1
#3 0x00007f7ff7416031 in GC_is_visible () from /usr/obj/wip/guile2/work/.buildlink/lib/libgc.so.1
#4 0x00007f7ff786d479 in scm_storage_prehistory () from /usr/obj/wip/guile2/work/guile-2.0.11/libguile/.libs/libguile-2.0.so.22
#5 0x00007f7ff787bc7a in scm_i_init_guile () from /usr/obj/wip/guile2/work/guile-2.0.11/libguile/.libs/libguile-2.0.so.22
#6 0x00007f7ff78c9b6a in scm_i_init_thread_for_guile () from /usr/obj/wip/guile2/work/guile-2.0.11/libguile/.libs/libguile-2.0.so.22
#7 0x00007f7ff78c9b89 in with_guile_and_parent () from /usr/obj/wip/guile2/work/guile-2.0.11/libguile/.libs/libguile-2.0.so.22
#8 0x00007f7ff7414ca9 in GC_call_with_stack_base () from /usr/obj/wip/guile2/work/.buildlink/lib/libgc.so.1
#9 0x00007f7ff78ca0af in scm_with_guile () from /usr/obj/wip/guile2/work/guile-2.0.11/libguile/.libs/libguile-2.0.so.22
#10 0x00007f7ff787bc3c in scm_boot_guile () from /usr/obj/wip/guile2/work/guile-2.0.11/libguile/.libs/libguile-2.0.so.22
#11 0x000000000040104d in main ()
The code that is running at that point is at
http://git.savannah.gnu.org/gitweb/?p=guile.git;a=blob;f=libguile/gc.c;h=13823c054cb0d08cbaf1ced5209c41d9857b8bd4;hb=HEAD#l623
I've talked with some guile developers on IRC, and they claim that
they are just using gc like intended, and that this is a problem in gc
on NetBSD, not in guile.
I'm out of my depth here, and hope that someone on this list has an
insight in what might be going wrong here and how to fix it.
Thanks,
Thomas
I'm trying to get a usable guile-2.0.11 on NetBSD-7.99.1/x86_64.
guile-1.8.x works fine on the same system.
I'm using gc-7.4.2 from pkgsrc, which currently has no additional
patches. It is compiled with --enable-cplusplus and --disable-threads.
'make check' passes without errors.
The guile build fails with:
GEN guile-procedures.texi
GC_is_visible test failed
[1] Broken pipe cat alist.doc ar... |
Abort trap (core dumped) GUILE_INSTALL_LO...
which is the first time that the linked guile binary is actually
executed.
The backtrace looks like this:
Core was generated by `guile'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f7ff4d0e2ca in _lwp_kill () from /usr/lib/libc.so.12
(gdb) bt
#0 0x00007f7ff4d0e2ca in _lwp_kill () from /usr/lib/libc.so.12
#1 0x00007f7ff4d0df55 in abort () at /archive/foreign/src/lib/libc/stdlib/abort.c:74
#2 0x00007f7ff7415d2b in GC_default_is_visible_print_proc () from /usr/obj/wip/guile2/work/.buildlink/lib/libgc.so.1
#3 0x00007f7ff7416031 in GC_is_visible () from /usr/obj/wip/guile2/work/.buildlink/lib/libgc.so.1
#4 0x00007f7ff786d479 in scm_storage_prehistory () from /usr/obj/wip/guile2/work/guile-2.0.11/libguile/.libs/libguile-2.0.so.22
#5 0x00007f7ff787bc7a in scm_i_init_guile () from /usr/obj/wip/guile2/work/guile-2.0.11/libguile/.libs/libguile-2.0.so.22
#6 0x00007f7ff78c9b6a in scm_i_init_thread_for_guile () from /usr/obj/wip/guile2/work/guile-2.0.11/libguile/.libs/libguile-2.0.so.22
#7 0x00007f7ff78c9b89 in with_guile_and_parent () from /usr/obj/wip/guile2/work/guile-2.0.11/libguile/.libs/libguile-2.0.so.22
#8 0x00007f7ff7414ca9 in GC_call_with_stack_base () from /usr/obj/wip/guile2/work/.buildlink/lib/libgc.so.1
#9 0x00007f7ff78ca0af in scm_with_guile () from /usr/obj/wip/guile2/work/guile-2.0.11/libguile/.libs/libguile-2.0.so.22
#10 0x00007f7ff787bc3c in scm_boot_guile () from /usr/obj/wip/guile2/work/guile-2.0.11/libguile/.libs/libguile-2.0.so.22
#11 0x000000000040104d in main ()
The code that is running at that point is at
http://git.savannah.gnu.org/gitweb/?p=guile.git;a=blob;f=libguile/gc.c;h=13823c054cb0d08cbaf1ced5209c41d9857b8bd4;hb=HEAD#l623
I've talked with some guile developers on IRC, and they claim that
they are just using gc like intended, and that this is a problem in gc
on NetBSD, not in guile.
I'm out of my depth here, and hope that someone on this list has an
insight in what might be going wrong here and how to fix it.
Thanks,
Thomas