This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: GCC snapshots and mmap problem [Re: GDB hangs on Win2K]
- To: DJ Delorie <dj at delorie dot com>, tprince at computer dot org, cygwin at sourceware dot cygnus dot com
- Subject: Re: GCC snapshots and mmap problem [Re: GDB hangs on Win2K]
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Thu, 11 May 2000 16:34:51 -0500
Mumit Khan <khan@nanotech.wisc.EDU> writes:
> DJ Delorie <dj@delorie.com> writes:
> >
> > > There seems to be a problem in mmap I've trying to find for days
> > > now with no luck. Essentially, ./stage1/xgcc is hanging when
> > > garbage collecting (compiling fold-const.c), and the only solution
> > > for now is to configure with --with-gc=simple which works but
> > > really slows down compilation.
> >
> > Saw that myself, except mine crashed all the time instead of hanging.
> > It might be the new /dev/zero code, too.
Quick followup -- the bug is in list::erase in mmap.cc, which has an
obvious infinite loop (ditto for does map::erase). I'll provide a patch
after I do a bit of testing and a bit of hunting for other potential
problems. As an aside, for user code that does a lot of mmap/munmap,
it's also very inefficient, but that certainly can be remedied over
time.
Regards,
Mumit
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com