I have installed gcc after some troubles (see http://bugs.gentoo.org/show_bug. cgi?id=34643) but now that doesn't work: whenever I compile a relatively heavy program (eg mod_php), it fails with a segmentation fault and brings down my system too! I have tested my disk, my memory and my kernel (chroot from knoppix) but all produced the same error. I have tried it on a relatively small project of my own, and then it crashes on large template instantiations. Reproducible: Always Steps to Reproduce: 1. emerge mod_php 2. 3. Actual Results: This produces a segmentation fault, on compilation. Later it brings down my whole system (X crashes away, ...) Expected Results: Compile. root@gentoo linux # emerge info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4. 20-gentoo-r8) ================================================================= System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(tm) Gentoo Base System version 1.4.3.10p1 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox autoaddcvs ccache" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp. belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://gentoo.linux.no/pub/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio. org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.be.gentoo.org/gentoo-portage" USE="x86 apm avi crypt cups encode foomaticdb gif jpeg gnome libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gdbm berkdb slang readline arts tetex aalib bonobo svga ggi tcltk java guile postgres X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl gphoto2 cdr 3dnow acpi alsa dga doc dvd ethereal fbcon flash gd gtk2 gtkhtml imap jikes junit maildir mbox mysql oss pic plotutils radeon samba tiff usb wmp xml" root@gentoo linux # gcc-config -c i686-pc-linux-gnu-3.2.3 root@gentoo linux # gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/specs Configured with: /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.2 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.2/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext Thread model: posix gcc versie 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r3, propolice)
could it be that you have a thermic problem ?
No I don't have a thermal problem, but I have been able to reproduce the same problem during compilation of a different project in a knoppix session. I know it's hardware now, and that's something you can't fix :-(