Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!europa.eng.gtefsd.com!news.uoregon.edu!usenet.coe.montana.edu!bsd.coe.montana.edu!nate From: nate@bsd.coe.montana.edu (Nate Williams) Newsgroups: comp.os.386bsd.bugs Subject: Re: Kernel config bug? Date: 7 Jun 1994 20:01:00 GMT Organization: Montana State University, Bozeman Montana Lines: 37 Message-ID: <2t2jls$gf2@pdq.coe.montana.edu> References: <1994Jun6.092411.334@robkaos.ping.de> <STARK!GENE.94Jun6105850@stark.uucp> <Cr165E.3z6r@austin.ibm.com> NNTP-Posting-Host: 153.90.192.29 In article <Cr165E.3z6r@austin.ibm.com>, Radha Krishnan <radha@austin.ibm.com> wrote: > >In article <STARK!GENE.94Jun6105850@stark.uucp>, stark!gene@newsserv.cs.sunysb.edu (Gene Stark) writes: >> >I said config CONFGIFILE; cd /sys/compile/CONFIGFILE; make depend; make >> >as usual but the kernel wasn't recompiled correctly. Not all files >> >which were affected by the new define were compiled. >This was not the case for FreeBSD1.0.xx ; It is exactly the same. The source may be modified to use pre-processor symbols in 1.1, so the effect is different, but the problem (if it can be called that) is the same. >I too had similar problems and had to >resort to "rm -rf /sys/cimpile/CONFIG/* ; config <CONFIG> ; make depend ; make " >And only then got the correct kernel. I guess the Makefiles may need to be >verified for correctness or we may be having a problem in "make" itself. No, this IS a problem since a make depend only checks file dates and such, and not changes inside of the program. Think about it. How would you check internal program dependencies quickly where the program changes by ONLY the preprocessor symbols. You'd need to build a table that saves every pre-processor symbol and check to see if those symbols were changed. It's non trivial. Nate -- nate@bsd.coe.montana.edu | FreeBSD core member and all around tech. nate@cs.montana.edu | weenie. work #: (406) 994-4836 | home #: (406) 586-0579 | Available for contract/otherwise work.