Please ad 'filter-flags -Os' to the kdelibs ebuilds. Some components of kdelibs (KHTML KJS) does not seem to work properly when compiled with '-Os'. see http://bugs.kde.org/show_bug.cgi?id=123791 for example. Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-thinkpad-r1 i686) ================================================================= System uname: 2.6.15-thinkpad-r1 i686 Intel(R) Pentium(R) M processor 1700MHz Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/powersave /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/home/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp.uni-kl.de/pub/linux/gentoo" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/home/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/portage/overlays/usr" SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage" USE="x86 X aac acpi alsa apache2 arts asf audiofile avi bash-completion berkdb bzip2 calendar cdb cddb cdr cli crypt css ctype cups curl dba dbus dri dvd dvdr dvdread emboss encode exif expat fam fastbuild ffmpeg firefox flac flash foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gphoto2 gpm gs gtk2 hal hdaps idn imagemagick imlib ipv6 jack java javascript jpeg kcal kde kdeenablefinal kqemu lcms libg++ libwww live logitech-mouse mad madwifi math mhash mikmod ming mmx mng mozsvg mp3 mpeg mplayer mppe-mppc mysql ncurses nls nptl nsplugin ogg openal openexr opengl pcre pda pdf pdflib perl php plotutils png posix ppds python qt quicktime rdesktop readline rtc ruby scanner sdl session simplexml soap sockets spell spl sqlite sse sse2 ssl subversion svg tcpd tetex theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vcd vorbis win32codecs wv xine xinerama xml xml2 xmms xsl xv xvid yaz zeroconf zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET
No crash for me with -Os on amd64 with gcc 4.1.0 so it might be a problem related to the compiler, rather.
I get the same crash on my desktop when kdelibs were compiled with '-march=athlon-xp -Os -pipe -fomit-frame-pointer' (also gcc-3.4.5) > No crash for me with -Os on amd64 with gcc 4.1.0 so it might be a problem > related to the compiler, rather. Well, gcc-4.1.0 is still hardmasked. Can you please compile kdelibs with stable gcc and check behaviour again. If it works with gcc-4.1.0 then maybe one should check for gcc version in the ebuild and disable -Os if necessary.
I can't downgrade gcc as that's going to be quite a problem, but maybe someone in KDE team has a system with GCC 3.4 to test with. Halcy0n, what's the timeframe for 4.1 now?
Hopefully sometime in the next 2 weeks. I'd really like to get as many things patched before I unmask it. So help patch stuff and it will get unmasked quicker :)
Sorry folks, but is the timeframe of gcc-4.1 really relevant for this?
*** This bug has been marked as a duplicate of 120858 ***