This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

pathological C++ case..


While building 'doxygen' RPM package on Alpha (21264 w/ 128MB RAM, 500MB
swap), I ran into a pathological case.  (doxygen is a C++ documentation
system, available from http://www.stack.nl/~dimitri/doxygen/dl/)

When the doxygen build reaches src/language.cpp, the compiler grinds
away...  I aborted the build after 60 minutes.  Watching the VM size and
RSS, the VM size stays at 200MB, with the RSS staying around 60-70MB.

When I remove the default compile options (-Wall -W -O2), the compile
takes less than 10 seconds, and the VM size never exceeds 70MB total.

glum:/tmp/rpm> gcc -v
Reading specs from /usr/lib/gcc-lib/alpha-mandrake-linux/2.96/specs
gcc version 2.96 20000731 (Linux-Mandrake 7.2)

[basically redhat 7.0's compiler, with some additional fixes, IIRC]

-- 
Jeff Garzik         |
Building 1024       | These are not the J's you're lookin' for.
MandrakeSoft        | It's an old Jedi mind trick.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]