DragonFly bugs List (threaded) for 2008-02
DragonFly BSD
DragonFly bugs List (threaded) for 2008-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: can not load kernel module with dependencies


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Wed, 06 Feb 2008 23:36:03 +0100

Nicolas Thery wrote:
"kldload foo" fails if foo depends on other modules that have not yet
been loaded.

The kernel includes code to automatically loads dependencies but it
seems designed for an older ABI (cf load_dependancies()).

there are two dependency systems in place:


1. the "old" one, using the DL_NEEDED entry in the ELF headers.

2. the "new" one, using linker sets.

loader does (2), the kernel does (1). required modules specified in the source set (2), Makefile sets (1).

I personally think that (1) is the correct choice, but I'm open for discussion. Maybe the nicest thing would be to use the sources and (2) to generate (1).

cheers
  simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]