Bug 40829 - /usr/bin/ld: OpenDis.o: @gprel relocation against dynamic symbol _XInitDisplayLock_fn
Summary: /usr/bin/ld: OpenDis.o: @gprel relocation against dynamic symbol _XInitDispla...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: binutils
Version: 1.0
Hardware: ia64
OS: Linux
high
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-16 04:37 UTC by Elliot Lee
Modified: 2007-03-27 03:44 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-05-21 16:04:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Elliot Lee 2001-05-16 04:37:52 UTC
[root@boris Python-2.1]# gcc -shared build/temp.linux-ia64-2.1/_tkinter.o
build/temp.linux-ia64-2.1/tkappinit.o -L/usr/X11R6/lib
-L/usr/local/lib -ltk8.3 -ltcl8.3 -lX11 -o build/lib.linux-ia64-2.1/_tkinter.so
/usr/bin/ld: OpenDis.o: @gprel relocation against dynamic symbol
_XInitDisplayLock_fn
/usr/bin/ld: OpenDis.o: @gprel relocation against dynamic symbol
_XFreeDisplayLock_fn
collect2: ld returned 1 exit status

[root@boris Python-2.1]# rpm -q gcc binutils
gcc-2.96-85
binutils-2.10.91.0.2-3

Comment 1 Bill Nottingham 2001-05-16 06:48:01 UTC
Where are you linking in _XInitDisplayLock_fn from? Is it compiled with
-fPIC?

On ia64 you can't (generally) link non-fPIC code into a shared object.

Comment 2 Jakub Jelinek 2001-09-06 17:14:59 UTC
Assuming this was what Bill described...


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