Hi, everyone. I see that some people are excited by guile and the hurd. So I'm coming here to break a bit the good mood, sorry for that.
I'm still stuck with the following issue I guess bug#11776: Guile with Hurd. Running the following command in the shell $ guile -c '(display (+ 1 2) (newline))' 3 $ works, however in guile scheme@(guile-user)> (display (+ 1 2)) Illegal instruction Whatever scheme I try from REPL gives "Illegal instruction". scheme@(guile-user)> ,help works but scheme@(guile-user)> ,describe + quits with Illegal instruction For example, just pressing "TAB" also quits with: :~$ guile GNU Guile 2.0.5-deb+1-3 Copyright (C) 1995-2012 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> Illegal instruction :~$ I can't run guile in gdb as there are some error with the garbage collector. :~$ gdb guile GNU gdb (GDB) 7.4-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/guile...(no debugging symbols found)...done. (gdb) r Starting program: /usr/bin/guile [New Thread 545.5] Program received signal SIGSEGV, Segmentation fault. 0x013ac1ad in GC_find_limit_with_bound () from /usr/lib/libgc.so.1 (gdb) bt #0 0x013ac1ad in GC_find_limit_with_bound () from /usr/lib/libgc.so.1 #1 0x013ac26c in GC_find_limit () from /usr/lib/libgc.so.1 #2 0x013ac2f3 in GC_get_main_stack_base () from /usr/lib/libgc.so.1 #3 0x013ab75d in GC_init_inner () from /usr/lib/libgc.so.1 #4 0x013ab794 in GC_init () from /usr/lib/libgc.so.1 #5 0x01090d20 in ?? () from /usr/lib/libguile-2.0.so.22 #6 0x010a248d in ?? () from /usr/lib/libguile-2.0.so.22 #7 0x010fff50 in ?? () from /usr/lib/libguile-2.0.so.22 #8 0x010fff8e in ?? () from /usr/lib/libguile-2.0.so.22 #9 0x013ab21e in GC_call_with_stack_base () from /usr/lib/libgc.so.1 #10 0x011001df in scm_with_guile () from /usr/lib/libguile-2.0.so.22 #11 0x010a2435 in scm_boot_guile () from /usr/lib/libguile-2.0.so.22 #12 0x080487e5 in ?? () #13 0x0124167b in __libc_start_main () from /lib/i386-gnu/libc.so.0.3 #14 0x0804880d in ?? () (gdb) I am using the debian hurd image with qemu. I tried with guile 2.0.7 (can't build the master as it request automake 1.12 which is not available yet) and some of make checks tests failed (colored in red !) bubu@debian:~/devel/guile-2.0.7$ ./meta/guile GNU Guile 2.0.7 Copyright (C) 1995-2012 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guile-user)> (display "héhéh") Illegal instruction bubu@debian:~/devel/guile-2.0.7$ I attached the result of make checks for guile-2.0.7 Let me know if you have some hints on how to obtain more infos or small tests to perform to solve this issue. Regards, Gabriel Schnoering.
bubu@debian:~/devel/guile-2.0.7$ make check GEN public-submodule-commit make check-recursive make[1]: Entering directory `/home/bubu/devel/guile-2.0.7' Making check in lib make[2]: Entering directory `/home/bubu/devel/guile-2.0.7/lib' make check-recursive make[3]: Entering directory `/home/bubu/devel/guile-2.0.7/lib' make[4]: Entering directory `/home/bubu/devel/guile-2.0.7/lib' make[4]: Nothing to be done for `check-am'. make[4]: Leaving directory `/home/bubu/devel/guile-2.0.7/lib' make[3]: Leaving directory `/home/bubu/devel/guile-2.0.7/lib' make[2]: Leaving directory `/home/bubu/devel/guile-2.0.7/lib' Making check in meta make[2]: Entering directory `/home/bubu/devel/guile-2.0.7/meta' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/home/bubu/devel/guile-2.0.7/meta' Making check in libguile make[2]: Entering directory `/home/bubu/devel/guile-2.0.7/libguile' make check-am make[3]: Entering directory `/home/bubu/devel/guile-2.0.7/libguile' make[3]: Nothing to be done for `check-am'. make[3]: Leaving directory `/home/bubu/devel/guile-2.0.7/libguile' make[2]: Leaving directory `/home/bubu/devel/guile-2.0.7/libguile' Making check in module make[2]: Entering directory `/home/bubu/devel/guile-2.0.7/module' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/home/bubu/devel/guile-2.0.7/module' Making check in guile-readline make[2]: Entering directory `/home/bubu/devel/guile-2.0.7/guile-readline' make check-am make[3]: Entering directory `/home/bubu/devel/guile-2.0.7/guile-readline' make[3]: Nothing to be done for `check-am'. make[3]: Leaving directory `/home/bubu/devel/guile-2.0.7/guile-readline' make[2]: Leaving directory `/home/bubu/devel/guile-2.0.7/guile-readline' Making check in examples make[2]: Entering directory `/home/bubu/devel/guile-2.0.7/examples' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/home/bubu/devel/guile-2.0.7/examples' Making check in emacs make[2]: Entering directory `/home/bubu/devel/guile-2.0.7/emacs' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/home/bubu/devel/guile-2.0.7/emacs' Making check in test-suite make[2]: Entering directory `/home/bubu/devel/guile-2.0.7/test-suite' Making check in standalone make[3]: Entering directory `/home/bubu/devel/guile-2.0.7/test-suite/standalone' make check-am make[4]: Entering directory `/home/bubu/devel/guile-2.0.7/test-suite/standalone' make test-num2integral test-round test-list test-unwind test-conversion test-loose-ends test-scm-c-read test-scm-take-locale-symbol test-scm-take-u8vector test-scm-to-latin1-string test-scm-values test-with-guile-module test-scm-with-guile test-scm-spawn-thread test-pthread-create test-pthread-create-secondary test-system-cmds test-bad-identifiers test-require-extension test-guile-snarf test-import-order test-command-line-encoding test-command-line-encoding2 test-asmobs test-ffi test-fast-slot-ref test-mb-regexp test-use-srfi test-extensions make[5]: Entering directory `/home/bubu/devel/guile-2.0.7/test-suite/standalone' CC test_num2integral-test-num2integral.o CCLD test-num2integral CC test_round-test-round.o CCLD test-round CC test_list-test-list.o CCLD test-list CC test_unwind-test-unwind.o CCLD test-unwind CC test_conversion-test-conversion.o CCLD test-conversion CC test_loose_ends-test-loose-ends.o CCLD test-loose-ends CC test_scm_c_read-test-scm-c-read.o CCLD test-scm-c-read CC test_scm_take_locale_symbol-test-scm-take-locale-symbol.o CCLD test-scm-take-locale-symbol CC test_scm_take_u8vector-test-scm-take-u8vector.o CCLD test-scm-take-u8vector CC test_scm_to_latin1_string-test-scm-to-latin1-string.o CCLD test-scm-to-latin1-string CC test_scm_values-test-scm-values.o CCLD test-scm-values CC test_with_guile_module-test-with-guile-module.o CCLD test-with-guile-module CC test_scm_with_guile-test-scm-with-guile.o CCLD test-scm-with-guile CC test_scm_spawn_thread-test-scm-spawn-thread.o CCLD test-scm-spawn-thread CC test_pthread_create-test-pthread-create.o CCLD test-pthread-create CC test_pthread_create_secondary-test-pthread-create-secondary.o CCLD test-pthread-create-secondary make[5]: Nothing to be done for `test-system-cmds'. make[5]: Nothing to be done for `test-bad-identifiers'. make[5]: Nothing to be done for `test-require-extension'. make[5]: Nothing to be done for `test-guile-snarf'. make[5]: Nothing to be done for `test-import-order'. make[5]: Nothing to be done for `test-command-line-encoding'. make[5]: Nothing to be done for `test-command-line-encoding2'. make[5]: Nothing to be done for `test-asmobs'. make[5]: Nothing to be done for `test-ffi'. make[5]: `test-fast-slot-ref' is up to date. make[5]: Nothing to be done for `test-mb-regexp'. make[5]: `test-use-srfi' is up to date. make[5]: Nothing to be done for `test-extensions'. make[5]: Leaving directory `/home/bubu/devel/guile-2.0.7/test-suite/standalone' make check-TESTS make[5]: Entering directory `/home/bubu/devel/guile-2.0.7/test-suite/standalone' PASS: test-system-cmds PASS: test-bad-identifiers PASS: test-require-extension PASS: test-guile-snarf PASS: test-import-order PASS: test-command-line-encoding /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US) PASS: test-command-line-encoding2 PASS: test-num2integral PASS: test-round PASS: test-asmobs PASS: test-ffi PASS: test-list PASS: test-unwind PASS: test-conversion PASS: test-loose-ends /bin/bash: line 5: 5196 Illegal instruction srcdir="." builddir="." CHARSETALIASDIR="/home/bubu/devel/guile-2.0.7/lib" GUILE_AUTO_COMPILE=0 "../../meta/uninstalled-env" ${dir}$tst FAIL: test-fast-slot-ref PASS: test-mb-regexp PASS: test-use-srfi PASS: test-scm-c-read PASS: test-scm-take-locale-symbol PASS: test-scm-take-u8vector PASS: test-scm-to-latin1-string PASS: test-scm-values PASS: test-extensions /bin/bash: line 5: 5531 Segmentation fault srcdir="." builddir="." CHARSETALIASDIR="/home/bubu/devel/guile-2.0.7/lib" GUILE_AUTO_COMPILE=0 "../../meta/uninstalled-env" ${dir}$tst FAIL: test-with-guile-module PASS: test-scm-with-guile /bin/bash: line 5: 5593 Segmentation fault srcdir="." builddir="." CHARSETALIASDIR="/home/bubu/devel/guile-2.0.7/lib" GUILE_AUTO_COMPILE=0 "../../meta/uninstalled-env" ${dir}$tst FAIL: test-scm-spawn-thread /bin/bash: line 5: 5625 Segmentation fault srcdir="." builddir="." CHARSETALIASDIR="/home/bubu/devel/guile-2.0.7/lib" GUILE_AUTO_COMPILE=0 "../../meta/uninstalled-env" ${dir}$tst FAIL: test-pthread-create SKIP: test-pthread-create-secondary ================================== 4 of 28 tests failed (1 test was not run) Please report to bug-gu...@gnu.org ================================== make[5]: *** [check-TESTS] Error 1 make[5]: Leaving directory `/home/bubu/devel/guile-2.0.7/test-suite/standalone' make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/home/bubu/devel/guile-2.0.7/test-suite/standalone' make[3]: *** [check] Error 2 make[3]: Leaving directory `/home/bubu/devel/guile-2.0.7/test-suite/standalone' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/home/bubu/devel/guile-2.0.7/test-suite' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/home/bubu/devel/guile-2.0.7' make: *** [check] Error 2 bubu@debian:~/devel/guile-2.0.7$