Bug 97420
Summary: | Compiler segfaults on compiling large packages like gcc 3.3 or linux-2.4.21 | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Ron Sokoloski <rsokoloski1> |
Component: | gcc3 | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-10-03 23:34:21 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ron Sokoloski
2003-06-15 08:45:42 UTC
It is gas that is segfaulting, not gcc. Have you first upgraded binutils to the one required by gcc? Upgraded to binutils-2.14 (compiled via source) and tried again. This is the error now: <snip> gcc -c -g -O2 -gnatpg -gnata -I- -I. -Iada -I../../gcc-3.3/gcc/ada ../../gcc-3.3/gcc/ada/sprint.adb -o ada/sprint.o +===========================GNAT BUG DETECTED==============================+ | 3.2 20020903 (3.2-7) (i386-redhat-linux-gnu) GCC error: | | Internal compiler error in control_flow_insn_p, at cfgbuild.c:134 | | Error detected at ../../gcc-3.3/gcc/ada/sprint.adb:2546:18 | | Please submit a bug report, see http://gcc.gnu.org/bugs.html. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | +==========================================================================+ Please include these source files with error report ../../gcc-3.3/gcc/ada/sprint.adb ../../gcc-3.3/gcc/ada/sprint.ads ../../gcc-3.3/gcc/ada/types.ads ../../gcc-3.3/gcc/ada/atree.ads ../../gcc-3.3/gcc/ada/alloc.ads ../../gcc-3.3/gcc/ada/sinfo.ads ../../gcc-3.3/gcc/ada/uintp.ads ../../gcc-3.3/gcc/ada/table.ads ../../gcc-3.3/gcc/ada/urealp.ads ../../gcc-3.3/gcc/ada/einfo.ads ../../gcc-3.3/gcc/ada/snames.ads ../../gcc-3.3/gcc/ada/casing.ads ../../gcc-3.3/gcc/ada/csets.ads ../../gcc-3.3/gcc/ada/debug.ads ../../gcc-3.3/gcc/ada/lib.ads ../../gcc-3.3/gcc/ada/namet.ads ../../gcc-3.3/gcc/ada/nlists.ads ../../gcc-3.3/gcc/ada/opt.ads ../../gcc-3.3/gcc/ada/hostparm.ads ../../gcc-3.3/gcc/ada/output.ads ../../gcc-3.3/gcc/ada/rtsfind.ads ../../gcc-3.3/gcc/ada/sinput.ads ../../gcc-3.3/gcc/ada/sinput-d.ads ../../gcc-3.3/gcc/ada/stand.ads ../../gcc-3.3/gcc/ada/stringt.ads ../../gcc-3.3/gcc/ada/uname.ads compilation abandoned gmake[1]: *** [ada/sprint.o] Error 1 gmake[1]: Leaving directory `/data/gcc/build/gcc' gmake: *** [all-gcc] Error 2 [root@localhost build]# Actually, it seems to be failing in the same place as with binutils-2.13.90.0.2-2. Do note that the nvidia drivers are known to cause kernel corruption that can cause this kind of failure. Given that other folk have no problem compiling gcc or the kernel, I don't believe this to be a gcc bug at all. |