Bug 51416

Summary: gcc random Segmentation Fault Compiling kernel
Product: [Retired] Red Hat Linux Reporter: Marc Lopez <marc>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED WORKSFORME QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-08-10 12:12:03 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 Marc Lopez 2001-08-10 12:11:57 UTC
Description of problem:
When I try to compile the kernel, I got segfault.
All patches mentioned in RHBA-2001:082-05 advisory are applied.
The crashes are random. When I do 'make bzImage' and crashes, I make again 
and crashes but in any other file. The file that crashes before, now is 
compiled without error, and so on... 
Finally, after executing 'make bzImage' several times, the kernel is 
compiled and runs perfectly.


How reproducible:
Always

Steps to Reproduce:
1. Untar kernel sources
2. Compile the kernel

	

Actual Results:  Random segfaults compiling kernel making bzImage

Expected Results:  Compiling kernel without errors

Additional info:

I got the same segfaults compiling ssh 3.0

Comment 1 Jakub Jelinek 2001-08-11 19:16:52 UTC
If you get random segfaults (as opposed to reproduceable failures
of gcc), it means in 99.9% cases you have flakey hardware.
gcc stresses the CPU and the memory subsystem very hard, so even if
other programs work fine, it does not mean your hardware is sane.

Comment 2 Marc Lopez 2001-08-13 07:43:09 UTC
Ok! Thanks for your help. I will look for a possible H/W failure.