Re: bad news for libtrivfs/libthread

2002-02-23 Thread James Morrison
--- Neal H Walfield <[EMAIL PROTECTED]> wrote: > > I compiled the stock firmlink source with this line: > > > > gcc -ggdb -D_GNU_SOURCE -I. -o firmlink firmlink.orig.c -ltrivfs > > -lfshelp > > You need to link with the cthread library. > Thanks, linking to libthreads fixed it. = James

Re: bad news for libtrivfs/libthread

2002-02-23 Thread Neal H Walfield
> I compiled the stock firmlink source with this line: > > gcc -ggdb -D_GNU_SOURCE -I. -o firmlink firmlink.orig.c -ltrivfs > -lfshelp You need to link with the cthread library. ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/

bad news for libtrivfs/libthread

2002-02-23 Thread James Morrison
I've managed to get the same problem as Justin Langer. Here is a backtrace, it's the same as Justin's: (gdb) info thread 2 thread 17065.2 0x0105528c in evc_wait () from /lib/libc.so.0.2 * 1 thread 17065.1 0x011dec1c in cthread_fork_child () from /lib/libthreads.so.0.2 (gdb) bt #0 0x011

Re: libthread fresh findings

2002-02-07 Thread Neal H Walfield
> I tried to run the Hello-World Translator Multi-threaded version. (hello-mt.c). > I got the pgm from cvs. How did you compile it? ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

Re: libthread fresh findings

2002-02-07 Thread Marcus Brinkmann
On Thu, Feb 07, 2002 at 02:13:41AM -0800, Justin Langer wrote: > hurd~# settrans -ac test hello-mt > > But the program is crashing when a file system request comes (cat or > ls -l)in. The error caught with gdb is: > > Program Received Signal > EXC_BAD_INSTRUCTION > Illegal Instruction/Operand i

Re: libthread fresh findings

2002-02-07 Thread Justin Langer
hai, I tried to run the Hello-World Translator Multi-threaded version. (hello-mt.c). I got the pgm from cvs. hurd~# settrans -ac test hello-mt But the program is crashing when a file system request comes (cat or ls -l)in. The error caught with gdb is: Program Received Signal EXC_BAD_INSTRUCTIO

Re: libthread

2002-02-04 Thread Marcus Brinkmann
On Mon, Feb 04, 2002 at 09:50:56AM -0800, Justin Langer wrote: > I tried to trace it with gdb, set the break point of netfs_demuxer. Before setting break points, you can try just to catch the crash in gdb. You managed to do this because apparently the break point was not reached. > I got the f

libthread

2002-02-04 Thread Justin Langer
hi, I tried to implement a translator using libnetfs... .the program is loading correctlybut when a file system request comes in it is crashing. I tried to trace it with gdb, set the break point of netfs_demuxer. I got the following error: Program Received Signal EXC_BAD_INSTRU