hello, since gnome team does not pack latest unstable gnome releases, i thought i'll try garnome. when compiling i encountered this really strange problem, when cpp creates lots and lots of new processes, until compilation crashes with 'too many open files in system' error. i thought it was garnome problem at first, but today i tried to upgrade gcc and same thing happens - there were about 200 cpp processes at one time! i'm not really sure what's causing the problem, but cpp overload happens when imake is run during compilation. my emerge info: Portage 2.0.46-r2 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) ================================================================= System uname: 2.4.19-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime sdl spell svga truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline bonobo java guile gpm tcpd pam ssl perl python esd imlib oggvorbis gtk qt motif opengl mozilla X gtk2 gnome -alsa -arts -kde -dvd moznoirc moznomail moznocompose" ARCH="x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe" CXXFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe" ACCEPT_KEYWORDS="x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="/opt/sun-jdk-1.4.1.01" JAVA_HOME="/opt/sun-jdk-1.4.1.01" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
az: is this the /usr/bin/cpp linkage problem ?
Nope, /lib/cpp. Please past the output of: # ls -l /lib/cpp /usr/bin/cc /usr/bin/cpp # which gcc # which cpp # emerge gentoolkit; epm -q gcc (dont include the output of 'emerge gentoolkit' ... )
here it goes: root@tool bzd # ls -l /lib/cpp /usr/bin/cc /usr/bin/cpp -rwxr-xr-x 1 root root 20 2002-12-23 10:56 /lib/cpp -rwxr-xr-x 1 root root 20 2002-12-23 10:56 /usr/bin/cc -rwxr-xr-x 1 root root 303 2002-12-23 10:56 /usr/bin/cpp root@tool bzd # which gcc /usr/bin/gcc root@tool bzd # which cpp /usr/bin/cpp root@tool bzd # epm -q gcc gcc-3.2.1 i just noticed, that it is not imake prob, but cpp itself: cpp -h also hangs - creates new processes over and over, no output.
Artur, I think you might have the portage/gcc issue. Please go to http://cvs.gentoo.org/~seemant
thanks Seemant, i guess that was the problem. since i couldn't compile gcc (cpp blocked the resources at some point) i had to use downloaded .tbz2. cpp works now, i'm gonna recompile gcc and portage soon. resolving this i guess. merry xmas ;)
hello. i cannot recompile gcc (3.2.1-r6 just got to stable), cpp hangs same as before. i can't really tell what caused the problem - i emerged few things and everything went smooth; when emerging gcc it kills the system producing cpp processes over and over. i'm going to fix gcc just like i did last time, but this is really wicked; could it be binutils issue? or portage?
Check if cpp is a text file/script, if so, please include ...
Try with gcc-config-1.3.0.
thanks, it helped. i'm marking this fixed, although i'm not sure what was really broken (only effects) and have no idea how it was fixed ;-D best regards, artb.