Bug 455502 - [PATCH] llvm interpreter needs -fPIC
[PATCH] llvm interpreter needs -fPIC
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: llvm (Show other bugs)
10
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: Michel Alexandre Salim
Fedora Extras Quality Assurance
:
Depends On:
Blocks: 455500 488563
  Show dependency treegraph
 
Reported: 2008-07-15 15:09 EDT by Matthew Woehlke
Modified: 2009-03-13 14:35 EDT (History)
1 user (show)

See Also:
Fixed In Version: 2.4-4.fc10
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-03-13 14:35:39 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Matthew Woehlke 2008-07-15 15:09:13 EDT
Description of problem:
LLVMInterpreter.o is compiled without relocation and cannot be used in shared
libraries (e.g. OpenGTL).

Version-Release number of selected component (if applicable):
2.2 - 2.3-2

How reproducible:
Always

Steps to Reproduce:
1. Download OpenGTL sources (http://opengtl.org/Download.html)
2. Attempt to build OpenGTL
 
Actual results:
Linking CXX shared library libGTLCore.so
/usr/bin/ld: /usr/lib64/llvm/LLVMInterpreter.o: relocation R_X86_64_32 against
`a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/llvm/LLVMInterpreter.o: could not read symbols: Bad value
collect2: ld returned 1 exit status

Expected results:
link succeeds

Additional info:
There is a patch also available at http://opengtl.org/Download.html.
Comment 1 Bug Zapper 2008-11-25 21:33:46 EST
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Comment 2 Michel Alexandre Salim 2009-03-04 15:37:51 EST
This is needed for compiling pure as well. I'll issue an update.
Comment 3 Fedora Update System 2009-03-04 19:50:33 EST
llvm-2.4-3.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/llvm-2.4-3.fc10
Comment 4 Fedora Update System 2009-03-04 20:56:23 EST
llvm-2.4-4.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/llvm-2.4-4.fc10
Comment 5 Fedora Update System 2009-03-05 11:30:41 EST
llvm-2.4-4.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update llvm'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-2395
Comment 6 Fedora Update System 2009-03-13 14:35:31 EDT
llvm-2.4-4.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.