Summary: | libwocky needs to be built with -fPIC | ||
---|---|---|---|
Product: | Wocky | Reporter: | Siraj Razick <siraj> |
Component: | General | Assignee: | Telepathy bugs list <telepathy-bugs> |
Status: | RESOLVED FIXED | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | CC: | olli.salli |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | All | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=45712 | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Siraj Razick
2012-02-06 11:14:49 UTC
(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. Fixed by Gabble build passing CFLAGS="-fPIC" to the submodule configure scripts. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.