Xorg server builds from modular tree on Solaris x86

Keith Packard keithp at keithp.com
Thu Jul 14 13:58:52 EST 2005


On Wed, 2005-07-13 at 20:44 -0700, Donnie Berkholz wrote:
> On Wed, 2005-07-13 at 20:06 -0700, Alan Coopersmith wrote:
> > I also had to remove the gcc-only -rdynamic flag from the link of Xorg.   
> > IRC discussion wasn't sure why it's even there:
> 
> All I could find that seemed relevant was this in the ld man page, under
> --export-dynamic:
> 
> If you use "dlopen" to load a dynamic object which needs to refer back
> to the symbols defined by the program, rather than some other dynamic
> object, then you will probably need to use this option when linking the
> program itself.

Yup, and we kinda need that for the X server to be able to load modules.
The alternative is to stick the entire X server into a giant shared
library and link the drivers and a stub program against it.

-keith

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.x.org/archives/xorg-modular/attachments/20050713/ba058f3f/attachment.pgp


More information about the xorg-modular mailing list