Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Feb 2002 21:41:11 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Cc:        Mike Smith <msmith@hub.freebsd.org>, current@FreeBSD.ORG
Subject:   Re: HEADS UP: module build process changed 
Message-ID:  <20020220054111.5648339F1@overcee.wemm.org>
In-Reply-To: <ybs3czwyc2u.wl@ett.sat.t.u-tokyo.ac.jp> 

next in thread | previous in thread | raw e-mail | index | archive | help
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 - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020220054111.5648339F1>