Red Hat Bugzilla – Bug 53113
g++ uses all available memory (roswell2)
Last modified: 2005-10-31 17:00:50 EST
Description of Problem:
When compiling the file "h225.cxx" from the openh323 package
the compiler makes no progress and just uses up all available
memory (I killed it when it had claimed over 200 MB RAM).
(I compiled the openh323 stuff because I wanted to build the
Version-Release number of selected component (if applicable):
I use a standard roswell2 beta. (gcc-c++-2.96-96)
Compile the openh323-1.6.0-1.src.rpm package which can be found
via http://www.gnomemeeting.org/ (the site is down at the moment
so I can't give exact URLs, sorry). The openh323 package needs
the pwlib-1.1.36-1.i386.rpm and pwlib-devel-1.1.36-1.i386.rpm
packages installed when building. They build fine from pwlib-1.1.36-1.src.rpm which can be found via the same site.
Steps to Reproduce:
1. rpm --rebuild openh323-1.6.0-1.src.rpm
The build just hangs when g++ is compiling h225.cxx and starts
to consume enormous amount of memory.
Here's the g++ commandline:
g++ -Wall -DP_LINUX -D_REENTRANT -DP_HAS_SEMAPHORES -fPIC -DP_SSL -I/usr/include
/include -I/usr/include/crypto -DP_PTHREADS -DPBYTE_ORDER=PLITTLE_ENDIAN -I/home
/robn/rpm/build/openh323/pwlibdir/include/ptlib/unix -DPTRACING -I/home/robn/rpm
/build/openh323/include -DHAS_IXJ -DHAS_OSS -DPTRACING -I/home/robn/rpm/build/op
enh323/pwlibdir/include -O2 -fno-strength-reduce -m486 -malign-loops=2 -malign-j
umps=2 -malign-functions=2 -c /home/robn/rpm/build/openh323/src/h225.cxx -o /ho
Rob van Nieuwkerk
The gnomemeeting site is up again so I looked up the exact locations
of the source RPMs:
(as I said before: the packages from the first one are needed for building
the second one. The reported bug shows when building the second one).
Rob van Nieuwkerk
URLS are no longer valid. After three years I don't expect NEEDINFO
to be useful. File a new bug report if you still find problems with
current gcc releases.