From Bugzilla Helper: User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i686) Description of problem: When i was compiling the kernel 2.4 ( from kernel.org ) on red hat 7.0 with gcc gcc-2.96-81.i386.rpm installed and cpp cpp-2.96-81.i386.rpm installed then it gave error . How reproducible: Didn't try Steps to Reproduce: 1.make mrproper in kernel 2.4 on linux red hat 7.0 2.make xconfig and enabled the option lvm. 3.make dep 4.make bzImage 5.NOTE : ALL THE THINGS DONE IN THE /usr/src/linux directory Actual Results: gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686 -c -o tcp_ipv4.o tcp_ipv4.c tcp_ipv4.c: In function `__tcp_v4_lookup': tcp_ipv4.c:505: Internal error: Segmentation fault. Please submit a full bug report. See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. make[3]: *** [tcp_ipv4.o] Error 2 make[3]: Leaving directory `/usr/src/linux/net/ipv4' make[2]: *** [first_rule] Error 2 make[2]: Leaving directory `/usr/src/linux/net/ipv4' make[1]: *** [_subdir_ipv4] Error 2 make[1]: Leaving directory `/usr/src/linux/net' make: *** [_dir_net] Error 2 Expected Results: The kernel should make the bzImage . Additional info: CAN I COMPILE THE kernel 2.4 ( from kernel.org ) in the red hat 7.0
This sounds like a compiler bug, assigning to the gcc component. And yes you can the 2.4 kernel on 7.0, or at least you're very much supposed to be able to do so.
Is it reproduceable? If yes, can you rerun the above command line with -save-temps -v options and attach here tcp_ipv4.i it creates?
This Problem has been solved . The bug og the segmentataion fault has been removed , i closed all the windows and then recompiled the kernel and then the bug has been removed probably due to some memory error . - rshukla.in