[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ghc6: Re: Update: ... compiling ghc6
From: |
Svante Signell |
Subject: |
Re: ghc6: Re: Update: ... compiling ghc6 |
Date: |
Tue, 12 Apr 2011 21:15:12 +0200 |
On Tue, 2011-04-12 at 21:06 +0200, Samuel Thibault wrote:
> Svante Signell, le Tue 12 Apr 2011 18:18:31 +0200, a écrit :
> > Could not find any reference to __libc_read in either gnumach or hurd
> > code.
>
> It's glibc, sysdeps/mach/hurd/read.c
Yes, I did find that out, but what code calls that function? I even set
a breakpoint there, but did got into mach-related assembly code in
libc.
Start it from the beginning? (y or n) y
Breakpoint 2, __libc_read (fd=5, buf=0x17b008, nbytes=8192)
at ../sysdeps/mach/hurd/read.c:27
27 error_t err = HURD_FD_USE (fd, _hurd_fd_read (descriptor, buf,
&nbytes, -1))
;
(gdb) where
#0 __libc_read (fd=5, buf=0x17b008, nbytes=8192)
at ../sysdeps/mach/hurd/read.c:27
#1 0x084919c8 in s9qJ_ret ()
#2 0x0861f842 in StgRun ()
#3 0x087c44e0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) n
28 return err ? __hurd_dfail (fd, err) : nbytes;
(gdb) n
27 error_t err = HURD_FD_USE (fd, _hurd_fd_read (descriptor, buf,
&nbytes, -1))
;
(gdb)
28 return err ? __hurd_dfail (fd, err) : nbytes;
(gdb)
29 }
(gdb)
0x084919c8 in s9qJ_ret ()
(gdb)
Single stepping until exit from function s9qJ_ret,
which has no line number information.
0x0861f842 in StgRun ()
0x084919c8 in s9qJ_ret ()
(gdb)
Single stepping until exit from function s9qJ_ret,
which has no line number information.
0x0861f842 in StgRun ()
(gdb)
Single stepping until exit from function StgRun,
which has no line number information.
Program received signal SIGTRAP, Trace/breakpoint trap.
0x010f5f9c in swtch_pri ()
at
/home/buildd/build/chroot-sid/home/buildd/byhand/eglibc-2.11.2/build-tree/hurd-i386-libc/mach/swtch_pri.S:2
2
/home/buildd/build/chroot-sid/home/buildd/byhand/eglibc-2.11.2/build-tree/hurd-i386-libc/mach/swtch_pri.S:
No such file or directory.
in
/home/buildd/build/chroot-sid/home/buildd/byhand/eglibc-2.11.2/build-tree/hurd-i386-libc/mach/swtch_pri.S
(gdb)
n: gdb seems to hang, waiting forever
^C
- Re: Hurd stabilty: compiling ghc6, olafBuddenhagen, 2011/04/02
- Re: Hurd stabilty: compiling ghc6, Svante Signell, 2011/04/04
- Update: Re: Hurd stabilty: compiling ghc6, Svante Signell, 2011/04/06
- Re: Update: Re: Hurd stabilty: compiling ghc6, Svante Signell, 2011/04/06
- ghc6: Re: Update: ... compiling ghc6, Svante Signell, 2011/04/10
- Re: ghc6: Re: Update: ... compiling ghc6, Svante Signell, 2011/04/12
- Re: ghc6: Re: Update: ... compiling ghc6, Samuel Thibault, 2011/04/12
- Re: ghc6: Re: Update: ... compiling ghc6,
Svante Signell <=
- Re: ghc6: Re: Update: ... compiling ghc6, Samuel Thibault, 2011/04/12