When emerging kdepim3.3.0 it exits with this command: !!! ERROR: kde-base/kdepim-3.3.0 failed. !!! Function kde_src_compile, Line 135, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: 1.emerge sync 2.emerge kdepim 3. Actual Results: -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscri pts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i 686 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-chec k-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_CO MPAT -DQT_NO_TRANSLATION -c -o socket.lo socket.cpp /bin/sh ../../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu- g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../ -I../../../../kitchensy nc/libksync -I../../../../kitchensync/libkonnector2 -I../../../../libkcal -I/usr /kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscri pts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i 686 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-chec k-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_CO MPAT -DQT_NO_TRANSLATION -c -o qtopiaconfig.lo qtopiaconfig.cpp /bin/sh ../../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOU RCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite -strings -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -Wformat-security -Wmissin g-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPA CE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libqt opiakonnector.la -rpath /usr/kde/3.3/lib -module -avoid-version -module -no-unde fined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.3/lib -R /usr /qt/3/lib -R /usr/X11R6/lib qtopiakonnector.lo socket.lo addressbook.lo categor yedit.lo datebook.lo helper.lo opiecategories.lo todo.lo desktop.lo md5map.lo me taaddressbook.lo metadatebook.lo metatodo.lo qtopiaconfig.lo device.lo extramap. lo ../../libkonnector.la collect2: ld terminated with signal 11 [Segmentation fault] make[6]: *** [libqtopiakonnector.la] Error 1 make[6]: Leaving directory `/var/tmp/portage/kdepim-3.3.0/work/kdepim-3.3.0/kitc hensync/libkonnector2/plugins/qtopia' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/var/tmp/portage/kdepim-3.3.0/work/kdepim-3.3.0/kitc hensync/libkonnector2/plugins/qtopia' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/var/tmp/portage/kdepim-3.3.0/work/kdepim-3.3.0/kitc hensync/libkonnector2/plugins' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdepim-3.3.0/work/kdepim-3.3.0/kitc hensync/libkonnector2' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdepim-3.3.0/work/kdepim-3.3.0/kitc hensync' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdepim-3.3.0/work/kdepim-3.3.0' make: *** [all] Error 2 liNUX root # emerge info Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.4.26-gentoo-r5) ================================================================= System uname: 2.4.26-gentoo-r5 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" 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 apm arts avi berkdb bitmap-fonts bonobo cdr crypt cups directfb encode esd foomaticdb gd-external gdbm gdlib gif gnome gpm gtk gtk2 guile imlib java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime readline scanner sdl slang spell ssl svga tcltk tcpd truetype usb x86 xml2 xmms xprint xv zlib"
This is a segfault of "ld" so it's more related to a problem with glibc, binutils or a system problem. I have your same CFLAGS (but gcc 3.4.1) and I can't reprocduce it. Can you reproduce it again and does it happens at the same place?
Compiling it for the 3. time succeded. I did no tweaks, just as suggested, compiled it to see if it stopped the same place. And then it succeded. Seems like I have something else going on - perhaps with the hardware. I have tried to compile the kde 3.3.3 and have had 3 different 'bugs' in trying to compile it. One dissapeared when I took of the distcc, but the other 2 were just 'handled' with a recompile. This is on a mashine that newer used to give me problems. So perhaps my harddisk have gone bad or something. Thanksfor your suggestion.