gnome-settings-daemon can't connect to D-Bus and eats CPU on ia64 due to -Wl,-z-defs

Émeric Maschino emeric.maschino at gmail.com
Mon Nov 14 22:23:02 UTC 2011


Hello again,

2011/11/13 Émeric Maschino <emeric.maschino at gmail.com>:
> Indeed, if I reinstall the (broken) gnome-settings-daemon 3.0.3
> currently in Testing repository, GDM3 cannot start properly. Now, if I
> replace some of the plugins in /usr/lib/gnome-settings-daemon-3.0 by
> the locally-recompiled versions without the -z defs flag, GDM3 start
> up normally. The offending plugins needed to be replaced are:
> - liba11y-keyboard.so
> - libbackgound.so
> - libmedia-keys.so
> - libsound.so
> - libxrandr.so
> - libxsettings.so.
>
> However, simply replacing these 6 plugins doesn't allow me to
> successfully open a GNOME3 session. I imagine that additional plugins
> are needed, but I can't isolate them at the moment. And
> ~/.xsession-errors is not helpful.

Following this, I ended up by adding all the plugins (recompiled
without -z defs flag), but libgconf.so and libsmartcard.so in order to
successfully log in a GNOME3 session.

So, to summarize, only libgconf.so and libsmartcard.so didn't need to
be replaced by recompiled versions without -z defs flag. I don't know
if it'll help further, but they can even be removed from
/usr/lib/gnome-settings-daemon-3.0 and both GDM3 and GNOME3 session
still run flawlessly.

Jonathan, I don't know if it's technically possible but, if you still
own the .tbz archives I sent you, does a quick look at
{broken|working}/libgconf.so and {broken|working}/libsmartcard.so
shows something interesting? I've also looked at the dependencies:
this don't appear to be the root cause of the problem as e.g.
libgconf.so (OK with -z defs flag) has the exact same dependencies
than libclipboard.so (KO with -z defs flag).

     Émeric



More information about the pkg-gnome-maintainers mailing list