User problems with the DLLoader

Adam Jackson ajax at nwnk.net
Wed Jan 26 13:59:25 PST 2005


On Wednesday 26 January 2005 16:52, Adam Jackson wrote:
> On Wednesday 26 January 2005 16:48, Felix Kühling wrote:
> > Hi,
> >
> > I'm getting quite many more or less mysterious problem reports recently
> > due to the change to the DLLoader as default loader. I'm not arguing
> > against that change. But it is problematic that you get erratic behavior
> > if you install new .so modules next to old .o modules because the server
> > loads some new and some old modules which are mutually incompatible or
> > outdated.
> >
> > I see different ways to improve the situation for users and those
> > answering user questions.
> >
> >      A. Deterministically prefer .so modules over .o modules when both
> >         are available. (this is my favourite)
>
> https://bugs.freedesktop.org/show_bug.cgi?id=2138
>
> Basically what I'm aiming for there is the loader knows at build time
> whether it built dlloader or elfloader modules, and prefers the appropriate
> type.  I haven't tested that patch too thoroughly but it works in a
> modified form for Ubuntu so it can't be too awful.

What this won't do, of course, is change the behaviour of the loader for 
existing installations, which appears to be "load whichever module readdir 
returns first that matches one of the loader filename patterns".  But there's 
nothing to be done there.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20050126/8306f7ff/attachment.pgp>


More information about the xorg mailing list