Date: Wed, 10 Oct 2001 21:19:35 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: Archie Cobbs <archie@dellroad.org> Cc: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/release/i386 dokern.sh Message-ID: <Pine.BSF.4.21.0110102117360.34212-100000@InterJet.elischer.org> In-Reply-To: <200110110250.f9B2oUN14807@arch20m.dellroad.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0110102117360.34212-100000>