Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 42553

Summary: make: *** [_dir_net] Error 2
Product: [Retired] Red Hat Linux Reporter: RAGHVENDRA NARAIN SHUKLA <rshukla>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-05-29 03:49:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description RAGHVENDRA NARAIN SHUKLA 2001-05-28 08:51:32 UTC
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

Comment 1 Arjan van de Ven 2001-05-28 09:17:34 UTC
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.

Comment 2 Jakub Jelinek 2001-05-28 09:27:32 UTC
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?

Comment 3 RAGHVENDRA NARAIN SHUKLA 2001-05-29 03:49:40 UTC
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