Re: Hello World stuck in infinite loop

2002-11-05 Thread Archie Cobbs
Chad Parry writes: > BTW, I tried to reproduce this bug on a more up-to-date snapshot of > current, but I couldn't even build libc_r. Where is the __pselect > function (referenced in uthread_pselect.c) defined? The build is currently OK I think.. You probably didn't update all of your sources (i

Re: Hello World stuck in infinite loop

2002-11-05 Thread Chad Parry
On Tue, 5 Nov 2002, Steve Kargl wrote: > What happens if you use > > gcc -v -o hello -pthread hello.c > > /usr/bin/ld -V -dynamic-linker /usr/libexec/ld-elf.so.1 -o h1 /usr/lib/crt1.o > /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib /var/tmp/ccjfgwUn.o -lgcc > -lc_r -lc -lgcc /usr/lib/crtend.o /

Re: Hello World stuck in infinite loop

2002-11-05 Thread Steve Kargl
On Tue, Nov 05, 2002 at 11:07:02AM -0800, Chad Parry wrote: > I'm seeing an infinite loop that can be traced to a signal handler in the > uthread module. I'm using a snapshot of CURRENT from 2002-01-09. > > Repro: > Write the classic hello world program. When you build it, link in > libc_r. U

Hello World stuck in infinite loop

2002-11-05 Thread Chad Parry
I'm seeing an infinite loop that can be traced to a signal handler in the uthread module. I'm using a snapshot of CURRENT from 2002-01-09. Repro: Write the classic hello world program. When you build it, link in libc_r. Use a shell script to execute it over and over in a tight loop. This wo