Bug 51416 - gcc random Segmentation Fault Compiling kernel
Summary: gcc random Segmentation Fault Compiling kernel
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-10 12:11 UTC by Marc Lopez
Modified: 2007-04-18 16:35 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-08-10 12:12:03 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.