Bug 45712

Summary: telepathy-yell needs -fPIC option when building for 64bit
Product: Telepathy Reporter: Siraj Razick <siraj>
Component: yellAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED DUPLICATE 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=45711
Whiteboard:
i915 platform: i915 features:

Description Siraj Razick 2012-02-06 11:17:51 UTC
[reply] [-] Description Siraj Razick 2012-02-06 11:14:49 PST
We recently refactored telepathy gabble plugin api so that there is a separate
library which the plugins
can link agaist, and contains the symbols needed by the plugins. 

unmerged branch can be found at :
http://cgit.collabora.com/git/user/siraj/telepathy-gabble.git/log/?h=buildbot_rebased 

We have one more issue standing in  our way from merging this. When building
this patch for 64bit architecture, we get the following error.

 /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.
Comment 1 Olli Salli 2012-02-07 05:30:23 UTC

*** This bug has been marked as a duplicate of bug 45711 ***

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.