Bug 42553 - make: *** [_dir_net] Error 2
Summary: make: *** [_dir_net] Error 2
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-28 08:51 UTC by RAGHVENDRA NARAIN SHUKLA
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2001-05-29 03:49:43 UTC
Embargoed:


Attachments (Terms of Use)

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


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