From owner-cvs-all Wed Oct 10 20: 9:42 2001 Delivered-To: cvs-all@freebsd.org Received: from InterJet.elischer.org (c421509-a.pinol1.sfba.home.com [24.7.86.9]) by hub.freebsd.org (Postfix) with ESMTP id CC4D537B403; Wed, 10 Oct 2001 20:09:32 -0700 (PDT) Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id VAA34322; Wed, 10 Oct 2001 21:19:36 -0700 (PDT) Date: Wed, 10 Oct 2001 21:19:35 -0700 (PDT) From: Julian Elischer To: Archie Cobbs Cc: Makoto MATSUSHITA , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/release/i386 dokern.sh In-Reply-To: <200110110250.f9B2oUN14807@arch20m.dellroad.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 10 Oct 2001, Archie Cobbs wrote: > Makoto MATSUSHITA writes: > > wollman> I found that it helps a lot if you link the modules together into a > > wollman> single kld (amortizing the overhead of the linker metadata over > > wollman> multiple modules). Just take the *.kld (NOT *.ko) from the object > > wollman> directories and link them together with `ld -Bshareable'. > > > > I've tried to confirm this. > > > > * compile all kernel modules. > > * copied *.kld into single directory. > > * run 'ld -Bshareable -o merged.ko *.kld'. > > some modules conflicts about function definition. The > > conflicted modules pair are: > > if_sl/if_ppp > > nfsserver/nfsclient > > ng_sync_ar/if_ar > > ng_sync/sr/if_sr ar and sr are the same files compiled differently.. for netgraph and non_netgraph code.. you need to leace SOME ng nodes if you want to use pppoe.. > > ng_vjc/if_ppp if_ppp has some vjc code in it I think... > > Some of the netgraph nodes use the same name for *static* functions. > Not sure why these would cause a namespace collision. > > In any case, it should be easy to rename them. > > -Archie > > __________________________________________________________________________ > Archie Cobbs * Packet Design * http://www.packetdesign.com > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message