Red Hat Bugzilla – Bug 126257
compiling kernel-2.6.6-1.427 with gcc 3.3.3 fails in function timeval_to_jiffies
Last modified: 2007-11-30 17:10:44 EST
Description of problem:
Compile of kernel-2.6.6-1.427 with gcc 3.3.3 compiler in
Fedora Core 2 fails with seg fault in function
Version-Release number of selected component (if applicable):
gcc (GCC) 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
linux-2.6.6-1.427 kernel source via apt-get in FC2
Steps to Reproduce:
1. installed rpm for kernel 2.6.6-1.427 via apt-get
2. configured .config with make gconfig
3. compile with gcc 3.3.3 with 'make bzImage && make modules'
seg faults with console output:
In file included from include/linux/timex.h:186,
include/linux/time.h: In function `timeval_to_jiffies':
include/linux/time.h:261: 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/ccvzgaMU.out file, please attach
this to your bugreport.
make: *** [arch/i386/kernel/i386_ksyms.o] Error 1
make: *** [arch/i386/kernel] Error 2
should make bzImage then continue to make modules as config'ed
seg fault dumped /tmp/ccvzgaMU.out (see attach)
Created attachment 101235 [details]
preprocessed source dump file
It seems I can compile fine with CC set to 'gcc32':
setenv CC gcc32; make bzImage && make modules
I think my bug was a known issue on gcc 3.3 since I
found the suggestion on using gcc32 in a book and
today on the web.
*** Bug 126301 has been marked as a duplicate of this bug. ***
Compiles just fine with 3.3.4-2 or 3.4.2-2.