[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GCC build/testsuite (was: One case of memory pressure)

From: Thomas Schwinge
Subject: GCC build/testsuite (was: One case of memory pressure)
Date: Thu, 14 Jun 2012 14:05:21 +0200
User-agent: Notmuch/0.9-101-g81dad07 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu)


On Tue, 29 May 2012 21:25:34 +0200, I wrote:
> Just a quick report regarding recovering from memory pressure.  This is
> with gnumach-image-1.3.99-486-dbg 2:1.3.99.dfsg.git20120219-1.

OK, there seems to be one pattern here, but it's simply resource
exhaustion, I assume.

> During GCC testing, my system collapsed.  Unfortunately, there was no
> farewell note found.  Re-running the offending (I suppose) test manually,
> »[...]master.build/gcc/xgcc -B[...]/master.build/gcc/
> -fno-diagnostics-show-caret -O2 -w -c -o limits-structnest.o
> [...]/master/gcc/testsuite/gcc.c-torture/compile/limits-structnest.c«, I
> see that it within its few seconds of run time it nearly completely sucks
> up of what vmstat reports as free memory.  (Running it manually now,
> there is no system crash, unfortunately (?).)  

This crash (when testing gcc.c-torture/compile/limits-structnest.c
directly after a GCC build without an intermediate reboot) happened
again.  Thus, it is advisable to reboot after having built and installed
GCC, before running the testsuite, as otherwise there seems to be a
tendency that the system crashes during the
gcc.c-torture/compile/limits-structnest.c tests, which are rather memory
hungry.  Probably there is already too much memory in use for other
purposes (ext2fs page cache, for example), and this test's requirements
cannot be satisfied by Mach, and the system gets into an instable state,

It also seems advisable to add another reboot before running
check-target, that is, separate make check's check-host and check-target
(see [build]/Makefile:do-check), as otherwise there seems to be a
tendency for the system crashing sometime after the latter has started.
(Running check-host accumulates to something like 44 hours worth of
forking/execing of GCC and testcases.)


Attachment: pgpemrbT3zX3l.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]