Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!news.mathworks.com!newsfeed.internetmci.com!realtime.net!news From: parag@gsi.gsini.net Newsgroups: comp.unix.bsd.freebsd.misc Subject: Trouble with CC compiler when recompiling kernel Date: 30 Aug 1996 17:28:41 GMT Organization: Deja News Usenet Posting Service Lines: 70 Message-ID: <841424914.13664@dejanews.com> NNTP-Posting-Host: bastion.dejanews.com X-RTcode: bae2551f32c9072afc2724f1 X-Originating-IP-Addr: 155.246.89.81 (menger.eecs.stevens-tech.edu) Hi. I recently (a few weeks ago) got the FreeBSD 2.1.5 release and Snapshot cd-roms. I installed the release version on to my hard drive without major problems. I found out that the root directory has to be on the promary drive. Also, I found out that my 2 IDE cd-roms have to be slaves to be detected to my 2 IDE drives. The question I have is this - when i give freebsd the second slice of my primary drive (western digital 1.6 gb) (the first is win95) and I try to recompile the kernel, the make part of the compile crashes. It does not happen when i dedicate the entire drive to freeBSD. It really isn't a critical error, because i just retype make, and it goes some more and crashes again, then i retype make, and it crashes again, and finally when I retype make it finishes. I have no other problems with the rest of the recompilation. The config works, make depend works, and make install works. I know there is no problem in the MYKERNEL file, because al I do is copy the GENERIC to MYKERNEL and change the line that says ident GENERIC to ident MYKERNEL. I also know there is no problem with the editing of MYKERNEL (i use jove) because I have done this multiple times! (i refdisked my drives all day yesterday trying anything I could think of.) This really isn't a critical error, because I can continue the make over multiple attempts, because it seems to keep track of how far it has gone. The part that keeps crashing is an "internal compiler error, either error 10 or 11 (depending upon what .c file it is working on) (oh, and it also is not consistent in what file it crashes - i have set up the system multiple times (reformat, reinstall, with thew same options (800MB slice for freebsd, and i get errors at different .c files.) The eventually compiled kernels work fine. It just seems funny that cc crashes only when i install FreeBSD and do not dedicate the entire drive. I have tried modifying the size of my swap drive, rebooting, replacing video cards, hard drives, ram. My system hardware is as follows: I have a pentium 120 mhz overclocked to 133 (no problems with overheating or cpu errors) triton-2 chipset motherboard with a 4 month old bios 1.6 gb eide drive primary master 1.2 gb eide drive secondary master 6x eide cd-rom primary slave 4x eide cd-rom secondary slave diamond stealth video 2001 64 bit w/ 2mb dram 3 1/2" drive colorado jumbo 250 tape drive 512k burst cache 16 mb 60 ns non edo non parity ram mouse, keyboard, viewsonic monitor. in my current setup, i have my 1.6 gb hard drive with 1 gb to win95, and 600 mb to freebsd, and my 1.2 gb drive with 1 gb to win95, and 200 mb to freebsd. once again. i am using FreeBSD 2.1.5 release cd-rom. Any advice is appreciated. Thanks for your time. Parag Chhibber ----------------------------------------------------------------------- This article was posted to Usenet via the Posting Service at Deja News: http://www.dejanews.com/ [Search, Post, and Read Usenet News!]