This is in a way related to 19949. But gcc-config didn't fix it thrall /var/tmp/portage/gnupg-1.2.4/work/gnupg-1.2.4 # gcc-config 1 * Switching to i686-pc-linux-gnu-3.3.2 compiler... [ ok ] thrall /var/tmp/portage/gnupg-1.2.4/work/gnupg-1.2.4 # /lib/cpp cpp: installation problem, cannot exec `cpp0': No such file or directory configure:3465: /lib/cpp conftest.c cpp: installation problem, cannot exec `cpp0': No such file or directory configure:3471: $? = 1 configure: failed program was: Happend on emerge of gnupg. Probably my toolchain just craped again. I'll try re-emerging anyway. It's sys-devel/gcc-3.3.2-r5 in use. Gentoo Base System version 1.4.3.12 Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0, 2.4. 22-gentoo-r2) ================================================================= System uname: 2.4.22-gentoo-r2 i686 Pentium III (Katmai) ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -fomit-f rame-pointer -frerun-loop-opt -falign-functions=4 -fforce-mem -ffast-math -finli ne-functions -foptimize-sibling-calls -mmmx -fstack-protector" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/ config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -fomit -frame-pointer -frerun-loop-opt -falign-functions=4 -fforce-mem -ffast-math -fin line-functions -foptimize-sibling-calls -mmmx -fstack-protector -Wno-deprecated" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl apache2 berkdb crypt gd gdbm gif gtk2 imap imlib innodb ipv6 jpeg libww w maildir mbox memlimit motif mysql ncurses nls oss pam pdflib perl png python r eadline ruby ruby18 slang sse ssl tcpd x86 xml2 xmms zlib"
attach the config.log please
Which does not work. checking execution character set... unknown configure: error: *** Cannot determine host character set. Configure in /var/tmp/portage/gcc-3.3.2-r5/work/build/gcc failed, exiting. !!! ERROR: sys-devel/gcc-3.3.2-r5 failed. !!! Function src_compile, Line 381, Exitcode 1 !!! (no error message) When emerging from a "old" sys-devel/gcc-3.3.2-r5 ebuild to the "new". And there's no config.log. Any help?
The configure part is from the config.log There is nothing more interessting. /lib/cpp does not work as cpp0 is not found. Where should I be?
The turn-back to an old gcc binary package (3.3.2-r4) did the trick and everything's back to normal (I hope... I really hope...) But somebody should find the root of this problem as it seems that it sometimes occures. I still don't know if the new gcc would emerge on the system.
As this is fixed at your end, we probably can't replicate this and can't do much. If it happens again, can you please reopen this bug and run "strace gcc" - also check that "cpp0" does exist. Perhaps you are getting some file-system corruption and the GCC libraries are going missing?
I can't find on any gcc 3.3 system a 'cpp0' binary. So cpp0 didn't exist. But where it got lost or why it is searched for. Yes, I'll reopen this if this problem happens again. So should any other person who notices this problem ;o) Thanks anyway.
root@vapier 0 root # locate cpp0 /usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/cpp0 did you ever have gcc2.x on your box ?
Nope, but gcc 3.2.3 which afaik had that file. So this was perhaps an issue of not cleanly upgrading to gcc 3.3. Strange thing, but ok. I'll wait on a newer release of gcc anyway as mine (-r5) doesn't emerge anymore which is another problem. Thank you.
Created attachment 29761 [details] strace of "strace gcc" This bug occured for me aswell after emerging 'glibc-2.3.3_pre20040207'