Summary: | Segmentation Fault in gcc 3.4.4-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | david cooper <david> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | ||
Priority: | High | ||
Version: | 2005.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
david cooper
2005-12-26 21:51:59 UTC
does it fail at the same place everytime ? if so, try using '-O2' instead of '-Os' in your CFLAGS and restart the install process Thanks spanKY. Update: Even though 'emerge -e system' failed at gcc, I was able to go past mysql in 'emerge kdebase'. 'emerge kdebase' now fails at qt with ICE/SF. kdevdlg2ui.cpp: In member function `bool KDEVDLG2UI::writeDialog(const QString&)': kdevdlg2ui.cpp:516: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make[4]: *** [.obj/release-shared-mt/kdevdlg2ui.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools/designer/plugins/kdevdlg' make[3]: *** [sub-kdevdlg] Error 2 make[3]: Leaving directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools/designer/plugins' make[2]: *** [sub-plugins] Error 2 make[2]: Leaving directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools/designer' make[1]: *** [sub-designer] Error 2 make[1]: Leaving directory `/var/tmp/portage/qt-3.3.4-r8/work/qt-x11-free-3.3.4/tools' make: *** [sub-tools] Error 2 !!! ERROR: x11-libs/qt-3.3.4-r8 failed. !!! Function src_compile, Line 187, Exitcode 2 !!! (no error message) I had originally set my CFLAGS using O2, but when I started running into ICE/SF I changed it back to Os, the Stage 3 default. I've restored this setting to O2 and am recompiling system now. Update: Almost comical, 'emerge -e system' fails, but while compiling a DIFFERENT version of GCC. /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/f/intrin.c: In function `ffeintrin_kindtype': /var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/f/intrin.c:2030: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make[2]: *** [f/intrin.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.6/work/build/gcc' make[1]: *** [stage3_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.6/work/build/gcc' make: *** [bootstrap-lean] Error 2 !!! ERROR: sys-devel/gcc-3.3.6 failed. !!! Function gcc_do_make, Line 1314, Exitcode 2 !!! emake failed with bootstrap-lean Used 'gcc-config -l' to identify 3.4.4 version, selected using 'gcc-config 6', restarting 'emerge -e system'. #gcc-config -l [1] i686-pc-linux-gnu-3.3.5-20050130 * [2] i686-pc-linux-gnu-3.3.5-20050130-hardened [3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie [4] i686-pc-linux-gnu-3.3.5-20050130-hardenednopiessp [5] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp [6] i686-pc-linux-gnu-3.4.4 [7] i686-pc-linux-gnu-3.4.4-hardened [8] i686-pc-linux-gnu-3.4.4-hardenednopie [9] i686-pc-linux-gnu-3.4.4-hardenednopiessp [10] i686-pc-linux-gnu-3.4.4-hardenednossp #gcc-config 6 [ ok ]hing native-compiler to i686-pc-linux-gnu-3.4.4 ... * If you intend to use the gcc from the new profile in an already * running shell, please remember to do: * # source /etc/profile #source /etc/profile Update: GCC 3.4.4-r1 failed, but in a different place. /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/resource.c: In function `find_basic_block': /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/resource.c:134: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make[2]: *** [resource.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-3.4.4-r1 failed. !!! Function gcc_do_make, Line 1314, Exitcode 2 !!! emake failed with profiledbootstrap When I engaged 'emerge --resume' to see if the fault duplicated, it tried to compile 3.3.6 instead of 3.4.4. 'gcc-config -l' shows that 3.4.4 is still the preferred compiler. Update: 'emerge system' and 'emerge world' eventually both needed shadow and perl to complete. I picked off all of the other packages one by one until it was these two that would not compile successfully. I rebooted my machine and tried again. I got both to compile. I'm resuming my 'emerge kdebase' now. Some kind of circular dependency thing? I don't know what happened to gcc.. should I try to recompile it and see what happens? |