From owner-freebsd-arch Wed Mar 6 0:37: 5 2002 Delivered-To: freebsd-arch@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id E12C537B416; Wed, 6 Mar 2002 00:37:02 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g268b0L83830; Wed, 6 Mar 2002 00:37:00 -0800 (PST) (envelope-from rizzo) Date: Wed, 6 Mar 2002 00:37:00 -0800 From: Luigi Rizzo To: Terry Lambert Cc: obrien@FreeBSD.ORG, Eivind Eklund , arch@FreeBSD.ORG Subject: Re: do we need full kernel sources to compile loadable modules ? Message-ID: <20020306003700.A83775@iguana.icir.org> References: <20020305134932.A79697@iguana.icir.org> <20020305230738.C13979@phoenix.dmnshq.net> <20020305145406.A37648@dragon.nuxi.com> <3C85680B.776B76CD@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C85680B.776B76CD@mindspring.com> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I agree on the comments on the generated files, I was just asking if we could, as part of the install of include files, include some rule in the makefile so that it would generate a copy of vnode_if.h somewhere in the include tree. cheers luigi On Tue, Mar 05, 2002 at 04:51:23PM -0800, Terry Lambert wrote: > David O'Brien wrote: > > > > On Tue, Mar 05, 2002 at 11:07:38PM +0100, Eivind Eklund wrote: > > > There is probably similar problems with newbus. We have previously > > > talked about making vnode_if.src be handled similar to syscalls.master > > > - ie, generate files from it, then commit those files. > > > > I think this would be a mistake. We should strive to not commit the > > generated form of syscalls.master. We've seen just too often people > > forget to do this. > > Yes, it's pretty evil. > > AIX had a different way, in which the linker could read a > system call table that had name/entry point # pairs, and > you could add to this table on the fly, if you wanted the > linker to know about new system calls; it would just > generate the stub functions automatically. > > This is evil, too, but the fact that you have to rebuild > libc to add a system call stub is pretty much as painful > as it gets. > > -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message