[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile not running properly on GNU/Hurd
From: |
Gabriel Schnoering |
Subject: |
Re: Guile not running properly on GNU/Hurd |
Date: |
Mon, 04 Feb 2013 19:26:14 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130115 Thunderbird/17.0.2 |
Hi,
As was discussed on irc, I investigated a bit deeper the issue.
First I compiled libgc-7.2d
./configure
make
make check
All tests passed ! (which was not the case with guile-2.0.7)
But make install failed for --prefix in the user ~/devel/libgc directory
(see hurdlibgcinstall)
Anyway I ran meta/gdb-uninstalled-guile from the 2.0.7 build dir and
went a bit further with gdb, the log is attached as 'hurdguilereplfail3'.
Always with meta/gdb-uninstalled-guile, there seem to be no error to run
some code by direcly evaluating the expression.
(gdb) r -c '(display "hello!")'
Starting program: /home/bubu/devel/guile-2.0.7/libguile/.libs/lt-guile
-c '(display "hello!")'
[New Thread 8566.14]
Program received signal SIGSEGV, Segmentation fault.
0x011ac1ad in GC_find_limit_with_bound () from /usr/lib/libgc.so.1
(gdb) continue
Continuing.
hello![Inferior 1 (bogus thread id 0) exited normally]
(gdb)
Afterwards I installed libc0.3-dbg and ran it another time, result is
attached in 'hurdguilereplfail4'.
For the moment I didn't build guile-2.0.7 with the new libgc (7.2d) version.
I will give it more trial tomorrow and let you know.
Regards,
Gabriel Schnoering
On 02/02/2013 19:51, Gabriel Schnoering wrote:
> 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.
>
hurdguilereplfail3
Description: Text document
hurdguilereplfail4
Description: Text document
hurdlibgcinstall
Description: Text document