Same goes for kdeaddons etc. please also look at bug 6878 output of emerge in attachment /etc/make.conf: CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop" CXXFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -Wno-deprecated" gcc -v: Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs Configured with: /var/tmp/portage/gcc-3.2/work/gcc-3.2/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/include/g++-v32 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext Thread model: posix gcc version 3.2
Created attachment 3459 [details] output of emerge kdemultimedia with gcc 3.2
Ditch all that crap after the -pipe and try again. Some of those optimizations are *experimental* and obviously won't work with every piece of code. I mean do you actually know what these optimizations do?? For instance, if you use -funroll-loops you don't need to use -frerun-cse-after-loop because it is already implied. More than likely you are confusing the compiler, thus the compiler craps out. If you insist on having some of them, then experiment by removing one at a time and see what happens. My suggestion would be to start with dumping "-funroll-loops -frerun-loop-opt -frerun-cse-after-loop", as these are not intended for general, everyday use. They should only be used when you know what you are doing and the code can handle it(this is covered in the gcc manual BTW). I don't know who told you to use them [because I know these aren't suggested by the gentoo documentation], but they were wrong. Proof in point is the fact that I have no issues building any of the kde packages with gcc-3.2 and "-march=athlon-xp -O3 -pipe".
if you can isolate which compiler optimization flags cause the build to break, let me know and I'll filter them from within the ebuild. matt
Nicholas: your method does not work -- it still fails. I'll see if it's a qt-problem. In the mean time, please look at bug 6878. Mark
I guess somehow my configuration differs? FWIW, I knew gcc-3.2 was gonna be trouble, so I nuked my system when gcc-3.2 went final and rebuilt based on it. However, bug 7071 does cause some concern, but I suppose it is resolved.
This night I have recompiled a lot (using rmerge2 and the -e -f option -- great tool!), but still it does not work. besides errors like loading extension from '/usr/kde/3/lib/libartsmidi.la' failed: libstdc++-libc6.2-2.so.3: cannot open shared object file: No such file or directory (when trying to run artsd), the emerge process probibly gives a bit more info now. *note: this is another output, it differs from the attachment!! -- // -- /bin/install -c -p -m 644 ./piano+guitar /var/tmp/portage/kdemultimedia-3.0.3/im age//usr/kde/3/share/apps/kmidi/config /bin/install -c -p -m 644 ./drums /var/tmp/portage/kdemultimedia-3.0.3/image//us r/kde/3/share/apps/kmidi/config if [ ! -f "/usr/kde/3/share/apps/kmidi/config/tclIndex" -a -f "/usr/kde/3/share/ apps/kmidi/config/misc.tcl" ] ; then \ (cd /var/tmp/portage/kdemultimedia-3.0.3/image///usr/kde/3/share/apps/kmidi/conf ig; sed -e s@%TCL_DIR%@/usr/kde/3/share/apps/kmidi/config@g ./tkmidity.ptcl > tk midity.tcl ) ; \ (cd /var/tmp/portage/kdemultimedia-3.0.3/image///usr/kde/3/share/apps/kmidi/conf ig; echo 'auto_mkindex . *.tcl; exit' | tclsh ) ; \ fi sed: can't read ./tkmidity.ptcl: No such file or directory /bin/sh: tclsh: command not found make[4]: *** [install-data-local] Error 127 make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultime dia-3.0.3/kmidi/config' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultime dia-3.0.3/kmidi/config' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultime dia-3.0.3/kmidi/config' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultime dia-3.0.3/kmidi' make: *** [install-recursive] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_install, Line -6629, Exitcode 2 !!! died running make install, kde_src_install:make !!! emerge aborting on /usr/portage/kde-base/kdemultimedia/kdemultimedia-3.0.3. ebuild .
Hello Matthew, I'd like to bring the following to your attention: ig; echo 'auto_mkindex . *.tcl; exit' | tclsh ) ; \ fi sed: can't read ./tkmidity.ptcl: No such file or directory /bin/sh: tclsh: command not found Mark
I had a broken system myself. My apoligies.