[Bug 45711] libwocky needs to be built with -fPIC

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 6 20:19:15 CET 2012


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

Olli Salli <olli.salli at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |olli.salli at collabora.co.uk

--- Comment #1 from Olli Salli <olli.salli at collabora.co.uk> 2012-02-06 11:19:15 PST ---
(In reply to comment #0)
>  /usr/bin/ld:
> ../lib/ext/telepathy-yell/telepathy-yell/.libs/libtelepathy-yell.a(base-call-channel.o):
> relocation R_X86_64_32 against `.text' can not be used when making a shared
> object; recompile with -fPIC
> 
> So Olli suggested we add -fPIC option to AM_CLAGS and rebuild them. this bug is
> to find the best solution.

There's a sibling bug coming for yell; the same kind of error results for both
though.

The core issue: Gabble pulls in Yell and Wocky as submodules. They're compiled
as static libraries. However, now symbols from them are used in a shared
library containing the Gabble plugin API; this shared library doesn't link
correctly on most non-x86 architectures, such as x86_64, because not all code
in it is position-independent.

-- 
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