Summary: | sys-apps/dbus - /usr/bin/dbus-daemon links statically to libdbus | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | cardoe, esigra, ihar.hrachyshka, n-roeser, steev |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 251464 |
Description
Diego Elio Pettenò (RETIRED)
![]() Because the upstream devs work on distros that like to use the dbus-daemon in their startup process (i.e. upstart) and such. Which means /usr/lib/libdbus.so isn't available. And they also stick it on initramfs's Okay, is there any opt-in to get it to NOT build it statically? Is there any particular reason why this is such a horrible thing? Because it duplicates code on disk and memory for no reason at all? We don't need it in /bin do we? Then why should we link it statically? libdbus as a 252KB text size, which is not exactly tiny on embedded systems and already a nuisance on my system with three dbus-daemon processes running. As you can see in dbus/Makefile.am, there is "-export-symbols-regex "^[^_].*" option specified for building libdbus-1.so. With this option enabled, dbus-daemon can't link with shared library properly because it uses _dbus_* functions which, as Makefile commentary states, are "for internal symbols". So we have 3 options: either link dbus-daemon statically (as it is now) or export internal library symbols (which is not a good thing regarding incapsulation and security concerns), or re-writing dbus-daemon from scratch for pure libdbus-1.so interface :) So I think we can't do much with the problem. Comments? (In reply to comment #5) > As you can see in dbus/Makefile.am, there is "-export-symbols-regex "^[^_].*" > option specified for building libdbus-1.so. With this option enabled, > dbus-daemon can't link with shared library properly because it uses _dbus_* > functions which, as Makefile commentary states, are "for internal symbols". So With this, I think it's safe to close this as CANTFIX. |