sometimes the compiling of programmes failed randomly i'll take bison and bash for example now bison: if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DPKGDATADIR=\"/usr/share/bison\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I. -I.. -I../lib -I../lib -O2 -march=athlon-xp -MT scan-gram.o -MD -MP -MF ".deps/scan-gram.Tpo" -c -o scan-gram.o scan-gram.c; \ then mv -f ".deps/scan-gram.Tpo" ".deps/scan-gram.Po"; else rm -f ".deps/scan-gram.Tpo"; exit 1; fi scan-gram.c: In function `gram_lex': scan-gram.c:2178: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make[3]: *** [scan-gram.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/bison-2.0/work/bison-2.0/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/bison-2.0/work/bison-2.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/bison-2.0/work/bison-2.0' make: *** [all] Error 2 !!! ERROR: sys-devel/bison-2.0 failed. !!! Function src_compile, Line 35, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. bash: i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O2 -march=athlon-xp enable.c || ( rm -f enable.c ; exit 1 ) rm -f enable.c make[1]: *** No rule to make target `/externs.h', needed by `eval.o'. Stop. make[1]: Leaving directory `/var/tmp/portage/bash-3.0-r12/work/bash-3.0/builtins' make: *** [builtins/libbuiltins.a] Error 1 !!! ERROR: app-shells/bash-3.0-r12 failed. !!! Function src_compile, Line 130, Exitcode 2 !!! make failed !!! If you need support, post the topmost build error, NOT this status message. bison-2.0 sources: http://de.foex-gaming.com/gentoo/bison-2.0.tar.gz bash-3.0-r12 sources: http://de.foex-gaming.com/gentoo/bash-3.0-r12.tar.gz Reproducible: Couldn't Reproduce Steps to Reproduce: 1. 2. 3. livecd / # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: 2.16.1 sys-devel/libtool: [Not Present] virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp" CHOST="i686-pc-linux-gnu" 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/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds emboss encode f77 foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts vorbis x86 xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY lspci -vvv output: http://de.foex-gaming.com/gentoo/lspci.txt
Random segfaults (while compiling) are usual indications, that your Ram is going berserk. Please use memtest to see if they are faulty.
yeah i'd tested my rams and found out that one of them is broken :( sorry for filing a bugreport on this.
*** This bug has been marked as a duplicate of 20600 ***