Hidetoshi Shimokawa wrote:
> At Thu, 10 Jan 2002 17:35:00 -0800,
> Mike Smith wrote:
> > In order to deal with this problem, I have changed the module build
> > process so that symbols global to the module are converted to local
> > symbols when the module is linked into the .kld/,ko file.  In order
> > to allow modules that intentionally export symbols to continue to do
> > so, a new module makefile variable 'EXPORT_SYMS' has been implemented.
> 
> Hi Mike,
> 
[... pass on this stuff ...]

> Even if this problem is fixed, I suppose another problem there.
> Even if I set EXPORT_SYMS=YES, I cannot resolv module symbols.
> e.g.
> 
> kldload module1
> kldload module2
> 
> module2 cannnot resolv symbols in module1.
> 
> -stable doesn't have this problem.

module2 cannot resolve symbols in module1 unless there is a declared
dependency.  This is intentional, otherwise there is no way to check that
module1 is not unloaded while module2 is using it.  Stable is lacking this
enforcement.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to