[Bug 28043] tp-glib 0.11.4 fails to build due to dso linking bug

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 10 12:27:20 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28043

--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-05-10 03:27:20 PDT ---
We have:

ALL_LIBS = \
    @DBUS_LIBS@ \
    @GLIB_LIBS@
...
libtelepathy_glib_internal_la_LIBADD = $(ALL_LIBS)
...
libtelepathy_glib_la_LIBADD = libtelepathy-glib-internal.la

which always used to work. @DBUS_LIBS@ includes both dbus-glib and libdbus.

libtelepathy-glib-internal.la is a libtool noinst (static) convenience library,
while libtelepathy-glib.la is an ordinary shared library with no additional
sources (so it just wraps libtelepathy-glib-internal.la in a shared library
ABI).

It's conceivable that we also need to add $(ALL_LIBS) to
libtelepathy_glib_la_LIBADD, but I'd rather not do that if we don't need to -
as I understand it, libtool should arrange for that to happen anyway?

Since none of the telepathy-glib upstream developers are Fedora users (as far
as I know), it'd be very useful if you could explain how to give an unmodified
ld this behaviour. From the descriptions on the Fedora wiki, it sounds like the
change might have been to make "ld" equivalent to "ld --no-add-needed", for
which some Debian bugs have been filed since it's also the default behaviour of
the "gold" linker?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list