Red Hat Bugzilla – Bug 220588
gcc crashes while compiling UML kernel
Last modified: 2007-11-30 17:11:52 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:188.8.131.52) Gecko/20061108 Fedora/184.108.40.206-1.fc5 Firefox/220.127.116.11
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):
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
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.
The file should have been compiled
Created attachment 144266 [details]
The preprocessed source that generated the error
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.