Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Oct 1998 01:37:38 -0400 (EDT)
From:      "Matthew N. Dodd" <winter@jurai.net>
To:        Brian Feldman <green@zone.syracuse.net>
Cc:        current@FreeBSD.ORG
Subject:   Re: kernel dependancies broken?
Message-ID:  <Pine.BSF.4.02.9810150121500.17054-100000@sasami.jurai.net>
In-Reply-To: <Pine.BSF.4.05.9810150117480.23018-100000@zone.syracuse.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Oct 1998, Brian Feldman wrote:
> Okay, I won't yell you I can't reproduce this. But seriously, I wanted
> to see if that would work. It seems cam_xpt.c may be more important
> than other files to you, does it not? Why don't you look at Makefile,
> bsd.kern.mk, and friends and check out the dependencies, looking
> closely at cam_xpt.[co]? If changing _any_ random single source file
> (not header) causes a complete rebuild (try it!) then this is cause
> for a bit more concern.

It isn't just cam_xpt.[co].  This isn't something that just cropped up
either.  I finally managed to do an aout-to-elf and am running on a system
that is maybe a day old but am still having this problem.  I attributed my
earlier experiences to a somewhat munged aout env trying to compile a
newish SUP of current.

'touch *.o' in the kernel build directory and 'make' should relink the
kernel without recompiling any .o files.  (And does, under stable)

> On Thu, 15 Oct 1998, Matthew N. Dodd wrote:
> 
> > On Thu, 15 Oct 1998, Brian Feldman wrote:
> > > As a curiosity, what happens if you try 'make cam_xpt.o kernel'?
> > 
> > It compiles cam_xpt.o before embarking on its systamatic recimpile of most
> > of the rest of the kernel.
> > 
> > Don't tell me you can't reproduce this.
> > 
> > > On Thu, 15 Oct 1998, Matthew N. Dodd wrote:
> > > 
> > > > 
> > > > Anyone seen this?
> > > > 
> > > > 1. edit src/sys/cam/cam_xpt.c
> > > > 2. add a quirk entry
> > > > 3. cd src/sys/compile/KERNEL/
> > > > 4. 'make'
> > > > 5. wait while most of the kernel source is rebuilt.
> > > > 
> > > > Note that I'm typing 'make' in a kernel compile directory that had just
> > > > finished building a kernel.  No other files where changed.
> > > > 
> > > > This is really annoying as it takes 30+ minutes for a 486 to chug through
> > > > a kernel compile that should only take about a minute for a simple 1 file
> > > > change.
> > > > 
> > > > -- 
> > > > | Matthew N. Dodd  | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS |
> > > > | winter@jurai.net |      This Space For Rent     | ix86,sparc,m68k,pmax,vax  |
> > > > | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage?   |
> > > > 
> > > > 
> > > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > > with "unsubscribe freebsd-current" in the body of the message
> > > > 
> > > 
> > 
> > -- 
> > | Matthew N. Dodd  | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS |
> > | winter@jurai.net |      This Space For Rent     | ix86,sparc,m68k,pmax,vax  |
> > | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage?   |
> > 
> > 
> 

-- 
| Matthew N. Dodd  | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS |
| winter@jurai.net |      This Space For Rent     | ix86,sparc,m68k,pmax,vax  |
| http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage?   |


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02.9810150121500.17054-100000>