Bug 220588 - gcc crashes while compiling UML kernel
Summary: gcc crashes while compiling UML kernel
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 5
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-22 10:33 UTC by Yan Burman
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 4.1.1-31
Clone Of:
Environment:
Last Closed: 2006-12-22 11:25:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
The preprocessed source that generated the error (1.02 MB, text/plain)
2006-12-22 10:36 UTC, Yan Burman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 29241 0 None None None Never

Description Yan Burman 2006-12-22 10:33:10 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.8) Gecko/20061108 Fedora/1.5.0.8-1.fc5 Firefox/1.5.0.8

Description of problem:
I was compiling linux kernel 2.6.20-rc1 for UML, and since the UML was not working, I changed the CFLAGS to be -g3 -O0.

Version-Release number of selected component (if applicable):
gcc-4.1.1-1

How reproducible:
Always


Steps to Reproduce:
1. Change CFLAGS in kernel Makefile to include -g3 -O0
2. Compile kernel 2.6.20-rc1 with ARCH=um
3. Removed some inline from some functions to make it compile - too much info to specify in this short form

Actual Results:
net/ipv4/ip_output.c: In function ‘ip_output’:
net/ipv4/ip_output.c:208: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
Preprocessed source stored into /tmp/ccO5Lw9n.out file, please attach this to your bugreport.

Expected Results:
The file should have been compiled

Additional info:

Comment 1 Yan Burman 2006-12-22 10:36:21 UTC
Created attachment 144266 [details]
The preprocessed source that generated the error

Comment 2 Jakub Jelinek 2006-12-22 11:25:24 UTC
Fixed in gcc-4.1.1-31 and above (e.g. FC6 testing updates now has 4.1.1-47.fc6).
FC5 updates will have the same codebase when they are prepared.


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