[PATCH 1/2] Add some intramodule dependencies

Alan Coopersmith alan.coopersmith at oracle.com
Tue Sep 20 07:54:42 PDT 2011


On 09/20/11 00:44, Mark Kettenis wrote:
> Alan, isn't the the problem of the linker dependencies solved by
> adding -module like you did in the diff for the driver modules you
> sent out a couple of days ago?

That can make it so the build doesn't complain about missing symbols
if you want.   Our build setups for the official Solaris packages
though we make sure all the symbols can be resolved so we find out
at build time if the drivers we've chosen to build make calls to
functions the X server doesn't provide any more (we use a Solaris
linker mapfile to handle resolving the symbols exported by the core
server itself), as well as letting the linker perform some minor
optimizations like recording at link time what .so a symbol is in
so it doesn't have to search the full set at run time.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list