When attempting to install Gentoo on my PC, during the bootstrap.sh stage, I get a compile error inside of binutils. I've had the error move around a bit, but I don't suspect the hardware, since it's done tons of FreeBSD buildworlds just fine, which I would expect to put a similar load on the system. Reproducible: Always Steps to Reproduce: 1. Unpack stage1 tarball 2. emerge sync 3. cd /usr/gentoo; scripts/bootstrap.sh Actual Results: make[1]: Entering directory `/var/tmp/portage/binutils-2.13.90.0.18/work/binutils-2.13.90.0.18/bfd/doc' gcc -c -I.. -I./.. -I./../../include -I./../../intl -I../../intl -mcpu=athlon -O3 -pipe ./chew.c chew.c: In function `paramstuff': chew.c:1505: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. make[1]: *** [chew.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/binutils-2.13.90.0.18/work/binutils-2.13.90.0.18/bfd/doc' make: *** [headers] Error 2 make: Leaving directory `/var/tmp/portage/binutils-2.13.90.0.18/work/binutils-2.13.90.0.18/bfd' !!! ERROR: sys-devel/binutils-2.13.90.0.18 failed. !!! Function src_compile, Line 84, Exitcode 2 !!! (no error message) Expected Results: Install happily, eventually leading to a happy new Gentoo install. This machine is an AthlonXP 1800+ on a Gigabyte GA-7VTXE motherboard (VIA chipset) with 512MB of PC2100 DDR RAM. The filesystem this is compiling in is a ReiserFS, if that makes any difference. !!! No gcc found. You probably need to 'source /etc/profile' to update !!! the environment of this terminal and possibly other terminals also. Portage 2.0.47-r10 (default-x86-1.4, [unavailable], glibc-2.3.1-r2) ================================================================= System uname: 2.4.20-xfs i686 AMD Athlon(tm) XP 1800+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 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" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="oss apm berkdb gdbm gpm java libg++ libwww mikmod motif nls pam pdflib python qt sdl svga tcpd truetype xml2 xv zlib -3dfx 3dno w aalib -acpi -alsa -arts avi cdr crypt cups dga dvd encode esd gif -gnome gtk -gkt2 imap imlib jpeg -ipv6 -kde mmx mozilla mpeg mys ql ncurses opengl oggvorbis pda perl png quicktime readline ruby -slang spell ssl usb X xmms x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=athlon -O3 -pipe" CXXFLAGS="-mcpu=athlon -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache" Also happens with -mcpu=athlon-xp
Two suggestions: 1) Check your ram with memtest86 just to be sure. 2) Try using a swap partition of at least 256mb if you did not (swapon it before chroot ...)
Yeah, I probably should have run the memory test before claiming the hardware to be good. I've got a bunch of bad bits hanging around the 430MB mark. Guess it's time to go RAM shopping. Sorry to waste your time.
faulty hardware. closing.