GNOME Bugzilla – Bug 670244
daemon: Make libgsd-profile.so and libgsd-session.so private shared libraries
Last modified: 2012-02-18 16:37:42 UTC
Currently plugins can call back into the main binary; if the program is linked with -Bsymbolic then what happens is the plugin process will contain duplicate functions from the libgsd-session.la. Ubuntu has patched their toolchain to link with -Bsymbolic-functions by default which causes a failure here. This is also just conceptually cleaner.
Created attachment 207804 [details] [review] daemon: Make libgsd-profile.so and libgsd-session.so private shared libraries
Confirmed, that patch fixes the issue we had when building with -Bsymbolic-functions
Review of attachment 207804 [details] [review]: I don't see the point in them being separate libraries. Please make them a single library, with a name that doesn't infer anything as to their contents.
Created attachment 207868 [details] [review] Unify libgsd-profile and libgsd-session into installed shared library Currently plugins can call back into the main binary; if the program is linked with -Bsymbolic then what happens is the plugin process will contain duplicate functions from libgsd-session.la. Ubuntu has patched their toolchain to link with -Bsymbolic-functions by default which causes a failure here. This is also just cleaner and better; there's only one copy of the code on disk.
Review of attachment 207868 [details] [review]: Looking good.
Attachment 207868 [details] pushed as 6cfa8ef - Unify libgsd-profile and libgsd-session into installed shared library