public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Joe Buck <jbuck@synopsys.com>
To: wilson@cygnus.com (Jim Wilson)
Cc: neal@ctd.comsat.com, egcs@cygnus.com
Subject: Re: cc1 hog
Date: Wed, 01 Oct 1997 14:02:00 -0000	[thread overview]
Message-ID: <199710012102.OAA20055@atrus.synopsys.com> (raw)
In-Reply-To: <199710011940.MAA24764@cygnus.com>

 
> There is one particular testcase in compile (961203-1.c) that may cause
> all VM to be consumed before cc1 fails.

Understood (that one usually dies with an infinite recursion so stack
limits catch it).  One thing to watch for is that in the old days, Linux boxes
typically came configured without any virtual memory limits, to which
Linux might respond to a 961203-1.c failure by entering a thrashing mode
which finally gets resolved by killing processes at random.  Some users
may still be configured this way ("I don't need no stinking limits!").

Thus it's important for make check to set some kind of virtual memory
limit if none is set; if this is too difficult to do we at least need to
make sure that we warn people before doing the tests (though the
appropriate limit or ulimit command isn't hard).

> make check takes forever because of the sheer amount of work that is being
> done.

Yes, but if many tests result in a working set that is larger than real
memory, "forever" starts getting more literal.

  reply	other threads:[~1997-10-01 14:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-10-01 10:23 Neal Becker
1997-10-01 11:14 ` Joe Buck
1997-10-01 12:12   ` Robert Lipe
1997-10-01 14:23     ` Joe Buck
1997-10-01 12:39 ` Jim Wilson
1997-10-01 12:40 ` Jim Wilson
1997-10-01 14:02   ` Joe Buck [this message]
1997-10-01 15:35 Mike Stump
1997-10-07 11:41 ` Jeffrey A Law
1997-10-07 23:14   ` Torbjorn Granlund
1997-10-07 23:14   ` Joel Sherrill
1997-10-08 21:19     ` Jeffrey A Law
1997-10-09  9:26       ` Joel Sherrill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199710012102.OAA20055@atrus.synopsys.com \
    --to=jbuck@synopsys.com \
    --cc=egcs@cygnus.com \
    --cc=neal@ctd.comsat.com \
    --cc=wilson@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).