kdelibs-3.3.1 build fail in the khtml funtion: /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I../kjs -I../kimgio -I./java -I../dcop -I./misc -I./dom -I./xml -I./html -I./css -I../libltdl -I../kio/kssl -I../kio/kssl -I../kdeprint -I../interfaces -I../interfaces/kregexpeditor -I../kwallet/client -I../kutils -I.. -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -fPIC -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o khtmlview.lo khtmlview.cpp /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../dcop -I../kio/kssl -I../kjs -I../kimgio -I./java -I../dcop -I./misc -I./dom -I./xml -I./html -I./css -I../libltdl -I../kio/kssl -I../kio/kssl -I../kdeprint -I../interfaces -I../interfaces/kregexpeditor -I../kwallet/client -I../kutils -I.. -I../dcop -I../libltdl -I../kdefx -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile -I.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -fPIC -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o khtml_part.lo khtml_part.cpp In file included from misc/htmlhashes.h:6, from khtmlview.cpp:49: misc/htmltags.h:10: warning: `visibility' attribute ignored on non-class types In file included from misc/htmlhashes.h:6, from khtml_part.cpp:44: misc/htmltags.h:10: warning: `visibility' attribute ignored on non-class types i686-pc-linux-gnu-g++: Internal error: Terminated (program cc1plus) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. i686-pc-linux-gnu-g++: Internal error: Terminated (program cc1plus) Please submit a full bug report. See <URL:http://bugs.gentoo.org/> for instructions. make[3]: *** [khtmlview.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [khtml_part.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/khtml' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1/khtml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdelibs-3.3.1/work/kdelibs-3.3.1' make: *** [all] Error 2 !!! ERROR: kde-base/kdelibs-3.3.1 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. USE="-alsa" emerge -uB --nodeps kdelibs 2. 3. kiki ~ # emerge info Portage 2.0.51 (default-linux/x86/2004.3, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9-gentoo-tcs1 i686) ================================================================= System uname: 2.6.9-gentoo-tcs1 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -fPIC -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -fPIC -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.icd.hu/ 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="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X Xaw3d aac accounting acpi acpi4linux alsa apache2 apm arts audiofile avi bcmath berkdb bitmap-fonts bootsplash bzlib cdb cdparanoia cdr cdrom clamac clamav crypt ctype cups curl curlwrappers dbase dbm devfs devfs26 directfb divx4linux dlloader dv dvb dvd dvdr dvdread encode esd exif f77 fam fbcon fftw flac foomaticdb freetype fs ftp gcj gd gdbm geoip ggi gif gimp gimpprint gmp gnutls gphoto2 gpm gtk gtk2 guile hal iconv icq image imagemagick imap imlib inifile intl irda jack java javascript jikes jpeg jpeg2k junit kde lcd lcms lesstif libg++ libwww lirc live lm_sensors lzo lzw lzw-tiff mad mcal memlimit mhash mikmod mime mixer mmap mmx mmx2 mng motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpeg4mplayer msn nas ncurses nethack network nls nptl ntlm nvidia objc odbc oggvorbis openal opengl openssh oscar pam parse-clocks pcap pcmcia pcntl pcre pdf pdflib perl pic png pnp posix postgres ppds pthreads pwdb python qt quicktime readline recode samba scanner sdl shared sharedmem simplexmlskey slang smartcard smime sms sockets speex spell sse sse2 ssl svg svga sysvipc tcltk tcpd theora threads tidy tiff transcode truetype type1 unicode usb userlocales v4l v4l2 virus-scan vnc wmf wxwin wxwindows x86 xfs xine xinerama xinetd xml xml2 xmlrpc xmms xpm xprint xscreensaver xv xvidyahoo zlib linguas_hu linguas_en"
what should i do? please help!
Do you have the same error in the same point? If yes, this can be a problem with your version of gcc, (also glibc-2.3.4-20041006 gives problems, look at bug #67166), try recompling it with for example without -mfpmath and -fPIC. If the error happens in different points everytime then it's probably an hardware problem (bad memory, overheating etc...)
see above comment