Bug 211614
| Summary: | Gcc 4.1.1 segmentation faults when compiling various things | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jonathan Paul Cowherd <jpcowwh01> | ||||
| Component: | gcc | Assignee: | Jakub Jelinek <jakub> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6 | CC: | jakub, sgrubb, wtogami | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-10-21 15:14:57 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: | |||||||
| Attachments: | 
 | ||||||
| 
        
          Description
        
        
          Jonathan Paul Cowherd
        
        
        
        
        
          2006-10-20 14:15:40 UTC
        
       Created attachment 138973 [details]
Bzip2 tar file of the /tmp/cc<hash>.out files from compiling things
Can't reproduce this with gcc-4.1.1-30 nor any other gcc I have around. On your box, is there anything gcc doesn't segfault on? Some of the dumps are really trivial one liners, if the bug was in gcc, it wouldn't definitely pass its tens thousands of tests run during the build. So, I'd say either you have hardware problems, or some kernel bug. I created a simple make file and c program to show that the basics work:
<hello.c>
#include <stdio.h>
int main() {
        printf("Hello World\n");
        return(0);
}
</hello.c>
<Makefile>
# Make file for Hello.c
hello.o:
        $(CC) $(CFLAGS) -o hello.o hello.c
clean:
        rm hello.o
</Makefile>
I'll try a diagnostic CD to see if something is going bad with my processor,
memory, or drives.  If you have any other tests that I could try that may help
pinpoint this issue, let me know.
There is another report of similar problems and that is even on another architecture. See: https://www.redhat.com/archives/fedora-test-list/2006-October/msg00649.html Unfortunately this note is also remarkably short on essential details; in particular it also does not mention what _really_ bombs out. Some guesses about possibly reasons based on past experiences: - out of space on /tmp - something messed up in a file system used by /tmp - gcc optimizer spooked by something (not necessarily easy to reproduce) Still I did not run into gcc exceptions for reasons like above for quite a while now. Looks like I'm having hardware problems. Used two different cpu stress tests from ubcd 3.4 and both came up with errors. Popped my case open and found that a fan had stopped working, so I'll be buying a new MB and CPU soon. Thanks for your time. Jonathan |