Bug 59129

Summary: @gprel relocation against dynamic symbol
Product: [Retired] Red Hat Raw Hide Reporter: Tim Waugh <twaugh>
Component: binutilsAssignee: Jakub Jelinek <jakub>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-01-31 22:51:01 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 Tim Waugh 2002-01-31 14:52:02 UTC
Description of Problem:
I get error from ld when trying to build Omni on ia64.

Version-Release number of selected component (if applicable):
binutils-2.11.92.0.12-9.1

How Reproducible:
100%

Steps to Reproduce:
1. Unpack objs.tar.gz (in my home directory)
2. ld -shared -soname libomni.so -o libomni.so *.o

Actual Results:
ld: StringResource.o: @gprel relocation against dynamic symbol _ZN14StringResource11pLanguage_dE
ld: StringResource.o: @gprel relocation against dynamic symbol _ZN14StringResource11pLanguage_dE
ld: StringResource.o: @gprel relocation against dynamic symbol _ZN14StringResource11pLanguage_dE

Comment 1 Jakub Jelinek 2002-01-31 22:50:56 UTC
This usually means you're trying to link non-fpic objects into shared library,
which is a big no no on ia64.

Comment 2 Tim Waugh 2002-02-01 11:12:04 UTC
That's what it was.  Sorry!