Bug 430354

Summary: enchant makes a shared library which cannot link against non-pic libhspell.a
Product: [Fedora] Fedora Reporter: Caolan McNamara <caolanm>
Component: hspellAssignee: Dan Kenigsberg <danken>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-27 03:37:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Caolan McNamara 2008-01-26 19:50:21 UTC
Description of problem:

rebuilding enchant on x86_64 will result in R_X86_64_32 relocation error.

Here's a standalone example...

gcc --shared -fpic -o testme.so test.c -lhspell

where test.c is...

#include <stdlib.h>
#include <hspell.h>

void test(void)
{
    hspell_check_word (NULL, NULL, NULL);
}

This can be worked around by either dropping the enchant hspell backend, or as a
quick-fix rebuilding hspell with -fpic added to the CFLAGS or with a
libhspell.so like http://bugs.gentoo.org/attachment.cgi?id=100512&action=view does

Comment 1 Kevin Kofler 2008-01-27 03:37:30 UTC

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