Bug 455502

Summary: [PATCH] llvm interpreter needs -fPIC
Product: [Fedora] Fedora Reporter: Matthew Woehlke <mwoehlke.floss>
Component: llvmAssignee: Michel Lind <michel>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 10CC: michel
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4-4.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-13 18:35:39 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:
Bug Depends On:    
Bug Blocks: 455500, 488563    

Description Matthew Woehlke 2008-07-15 19:09:13 UTC
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-26 02:33:46 UTC
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 Lind 2009-03-04 20:37:51 UTC
This is needed for compiling pure as well. I'll issue an update.

Comment 3 Fedora Update System 2009-03-05 00:50:33 UTC
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-05 01:56:23 UTC
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 16:30:41 UTC
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 18:35:31 UTC
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.