make[2]: *** [/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/buildhere/sunrpc/xbootparam_pr ot.stmp] Illegal instruction make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1/sunrpc' make[1]: *** [sunrpc/others] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.1-r2/work/glibc-2.3.1' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.1-r2 failed. !!! Function src_compile, Line 184, Exitcode 2 !!! (no error message)
Compiled you whole setup, or used binary packages ? Also include output of 'emerge info'. Thanks.
I've compiled everything, not used any binary packages. Output of 'emerge info': Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.2.5-r7) ================================================================= System uname: 2.4.20-gentoo-r1 i586 AMD-K6(tm) 3D processor GENTOO_MIRRORS="ftp://gentoo.linux.no/pub/gentoo/ http://www.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="x86 libg++ libwww ncurses nls sdl xml2 gdbm slang readline pam ssl perl python -3dfx 3dnow -aalib -acl -acpi -afs -alsa -apache2 -apm -arts -avi -berkdb -bonobo -canna -cdr -cjk crypt -cups -dga -directfb doc -dvd -encode -esd -fbcon -flash -freewnn -gb -gd -ggi -ggz -gif -gnome -gphoto2 -gpm -gps -gtk -gtk2 -gtkhtml -guile -imap -imlib -innodb ipv6 -java -jikes -jpeg -kde -lcms -ldap -leim -matrox maildir -mikmod -mmx -motif -mozilla -mpeg -mysql -nas oav -oggvorbis -opengl -oss -pda -pdflib -plotutils -png -qt -qtmt -quicktime -slp -spell -sse -svga tcpd -tiff -truetype -wavelan -wmf -X -xface -xmms -xv zlib -xfree" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=k6-2 -O3 -pipe" CXXFLAGS="-mcpu=k6-2 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Hmm, another K6. Ok, here is the thing .. seems like this is a two fold problem (if like the others): 1) You need: swap + memory = 512 or more 2) You need to install gcc-3.2.2_pre20030131, as the earlier versions have have a bud bug for K6 ....
Hello I am new here, so I do not know where you guys are interested in. I have similar problems, compiling glibc-2.3.2. Well similar, it segfaults as well on my k6-2 550 (not overclocked). I did modify /usr/ports/distfiles/portage-2.0.47-r8.tar.bz2. I had to do this since bootstrap overwrites my make.conf and make.global. The CHOST setting to i686 gives a lot of problems. I changed CHOSTS in make.conf AND make.globals to i586-.... Otherwise I can not complete bootstrap stage "1.5" gcc gives errors. Well back to the issue: after completing stage 1.5, i start stage 2, then glibc-2.3.2 segfaults. Of course I can give more info. Thanks, Menno
I believe I may be experiencing the same bug. My CPU is a K6-2/500. When I attempt a stage1 bootstrap, it fails with the same error message included in the description. This is my first experience with Gentoo; I am not very familiar with the Portage system. How to I elect to use gcc-3.2.2_pre20030131 vice the default?
Im seeing this same error on all glibc 2.3.x Ive tried to emerge. I don think it has anything to do with memory, as the command that fails doesnt trigger OOM , or drag me into swap; it instantly and repeatable just chokes: CPP='gcc -E -x c-header' /var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere:/var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere/math:/var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere/elf:/var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere/dlfcn:/var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere/nss:/var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere/nis:/var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere/rt:/var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere/resolv:/var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere/crypt:/var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere/linuxthreads /var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere/sunrpc/xbootparam_prot.T make[2]: *** [/var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/buildhere/sunrpc/xbootparam_prot.stmp] Illegal instruction make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2/sunrpc' make[1]: *** [sunrpc/others] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2/work/glibc-2.3.2' make: *** [all] Error 2 I have a k6-2 333 here, and am running gcc-3.2.2, the newest gcc seems to be 3.2.2-r3, I supose I could try that and 2.95.3.... Any more suggestions?
Ok. Tried to emerge gcc-2.95.3, but it failed with an illegal instruction also. Changed CFLAGS/CXXFLAGS form -mcpu=k6 to -mcpu=i486 and CHOST=i486-pc-linux-gnu and managed to remerge gcc-3.22, then binutils. then was able to emerge glibc-2.3.1-r4 and glibc-2.3.2 as well as gcc-2.95.3-r8 The current 1.4profile gcc/(maybe)binutils seems to be buggy with -mcpu k6 opts... Paul
gcc-3.2.2-r3 is sorda more experimental. Please install gcc-3.2.2-r2, and try with your original CFLAGS (as it does fix a few k6 issues), thanks.
Using gcc-3.2.2-r2 glibc-2.3.2 emerge fails with same error as previously reported. (gcc built with CFLAGS="-Os -mcpu=k6 -pipe" and CHOST="i686-pc-linux-gnu")
Your CHOST is wrong ... it should be: CHOST="i586-pc-linux-gnu"
hmmm:( Well, changing my CHOST to i586-pc-linux-gnu seems to fix the problem emerging glibc-2.3.2. (after rebuilding gcc) I had guessed that my k6-2 3d was i686, but it appears not. I would suggest that the comment in /etc/make.conf be altered to include examples of AMD chips and what family they map to.
wrong settings