Yep, I tried a compiling a third time. Just for fun and games, even though I've done this successfully many times on 7.3, I carefully followed the procedure spelled out in Red Hat Linux 8.0: The Official Red Hat Linux Customization Guide, Appendix A. Building A Custom Kernel. Compiles still segfault on random modules when doing 'make modules'. BzImage builds fine. Hmm... Bob Cochran Greenbelt, Maryland, USA On Sat, 2002-10-12 at 22:53, Robert L. Cochran wrote: > I'm trying to compile iptables-1.2.7a related changes into the stock > Redhat 2.4.18-14 kernel. I've done this with no trouble on my 7.3 > machines. I'm getting some strange segfaults at random points in the > 'make modules' process. BzImage compiles just fine. > > I did 2 separate compile attempts. Before applying the Patch-o-matic > changes to the kernel (a part of the iptables source code distribution), > I verified the md5sums of the tarball I downloaded from the Netfilter > web site and the digital signature provided by the Netfilter Core Team. > The kernel source is from the Red Hat kernel-source rpm supplied on the > downloaded CD's for 8.0. > > I did a 'make mrproper' prior to 'make menuconfig'. In 'make > menuconfig', I selected Pentium 4 as the processor type. > > The kernel build is being done on a machine with a Pentium 4, 2.8 Ghz > CPU. I wonder if gcc 3.2 has a processor dependency? > > The first 'make modules' build didn't get very far along and ended with > this error: > > [bcochran@bobcp4 bcochran]$ cat moderrors1.short > firestream.c:2114: warning: concatenation of string literals with > __FUNCTION__ is deprecated > firestream.c: At top level: > firestream.c:2124: internal error: Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. > {standard input}: Assembler messages: > {standard input}:35552: Warning: partial line at end of file ignored > make[2]: *** [firestream.o] Error 1 > make[1]: *** [_modsubdir_atm] Error 2 > make: *** [_mod_drivers] Error 2 > > I actually redid the entire kernel building process a second time > starting with 'make mrproper'. When I got to 'make modules' the process > went much further along, generating nearly 5000 lines of warning output > to the error file, but finally came to a screeching halt with his error: > > [bcochran@bobcp4 bcochran]$ cat moderrors2.short > journal.c:1653: warning: concatenation of string literals with > __FUNCTION__ is deprecated > nfs3proc.c:48:1: warning: "rpc_call_sync" redefined > In file included from > /usr/src/linux-2.4.18-14/include/linux/modversions.h:264, > from <command line>:1: > /usr/src/linux-2.4.18-14/include/linux/modules/sunrpc_syms.ver:38:1: > warning: this is the location of the previous > definitionnls_iso8859-15.c: In function `init_nls_iso8859_15': > nls_iso8859-15.c:297: internal error: Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions. > make[2]: *** [nls_iso8859-15.o] Error 1 > make[1]: *** [_modsubdir_nls] Error 2 > make: *** [_mod_fs] Error 2 > [bcochran@bobcp4 bcochran]$ > > Can anyone tell me what I'm doing wrong? > > Thanks > > Bob Cochran > Greenbelt, Maryland, USA >
Attachment:
signature.asc
Description: This is a digitally signed message part