System is a XP 1800+, 512MB of ram, built of the 1.4 lated rc stage3 on ibiblio. command executed was emerge -u kde, during the process qt gets emerged, qt-3.0.5-r2 fails to build, using the stock cflags as specified in the stage3 make.conf of CFLAGS='-march=athlon-xp -mcpu=athlon-xp -O3 -pipe' Error follows: g++ -fno-exceptions -shared -Wl,-soname,libdlgplugin.so.1 -Wl,-rpath,../../../../plugins/designer/ -o libdlgplugin.so .obj/release-shared-mt/main.o .obj/release-shared-mt/dlg2ui.o -Wl,-rpath,/var/tmp/portage/qt-3.0.5-r1/work/qt-x11-free-3.0.5/lib -L/var/tmp/portage/qt-3.0.5-r1/work/qt-x11-free-3.0.5/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -ldl -lpthread -lqt-mt -lpthread -lGLU -lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lXft -lfreetype -lXi collect2: ld terminated with signal 11 [Segmentation fault], core dumped make[4]: *** [../../../../plugins/designer/libdlgplugin.so] Error 1 make[4]: Leaving directory `/var/tmp/portage/qt-3.0.5-r1/work/qt-x11-free-3.0.5/tools/designer/plugins/dlg' make[3]: *** [sub-dlg] Error 2 make[3]: *** Waiting for unfinished jobs.... collect2: ld terminated with signal 11 [Segmentation fault], core dumped make[4]: *** [../../../../plugins/designer/libcppeditor.so] Error 1 make[4]: Leaving directory `/var/tmp/portage/qt-3.0.5-r1/work/qt-x11-free-3.0.5/tools/designer/plugins/cppeditor' make[3]: *** [sub-cppeditor] Error 2 make[3]: Leaving directory `/var/tmp/portage/qt-3.0.5-r1/work/qt-x11-free-3.0.5/tools/designer/plugins' make[2]: *** [sub-plugins] Error 2 make[2]: Leaving directory `/var/tmp/portage/qt-3.0.5-r1/work/qt-x11-free-3.0.5/tools/designer' make[1]: *** [sub-designer] Error 2 make[1]: Leaving directory `/var/tmp/portage/qt-3.0.5-r1/work/qt-x11-free-3.0.5/tools' make: *** [sub-tools] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 63, Exitcode 2 !!! (no error message)
This also occurs if you start with a stage 1 tarball on my athlon xp 1700+ with the std CFLAGS and also some very general ones just trying to debug it...the CFLAGS seem to change where it seg faults but it always seg faults...need more info email me
Try changing athlon-xp to "athlon" or even "i686". "collect2" segfaults, and as part of gcc, it is possible that it may just be another arch optimization bug in gcc3.
> 3.1 is stable