[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Openexr-devel] 64 bit libHalf - R_X86_64_32S _eLut and -fPIC question
From: |
Paul Miller |
Subject: |
[Openexr-devel] 64 bit libHalf - R_X86_64_32S _eLut and -fPIC question |
Date: |
Wed, 12 Mar 2008 17:36:32 -0500 |
User-agent: |
Thunderbird 2.0.0.12 (Windows/20080213) |
Well, this is a strange one.
I'm building libHalf statically on a 32 bit kubuntu system and a 64 bit
system. I'm linking it in with a shared library.
On the 32 bit system, everything is fine.
On the 64 bit system (kubuntu 6.0.6, full upgrade), when I attempt to
link my shared library (again, with the 64 bit static libHalf.a), I get
this link error:
/usr/bin/ld: /usr/local/lib/libHalf.a(half.o): relocation R_X86_64_32S
against half::_eLut' can not be used when making a shared object;
recompile with -fPIC
/usr/local/lib/libHalf.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
Can anyone shed any light on this? What's the difference in behavior
between the 32 bit and 64 bit systems (basically, IDENTICAL setups
except for the bit size) and what exactly is it asking for?
Much appreciated!!
--
Paul Miller | address@hidden | www.fxtech.com | Got Tivo?
- [Openexr-devel] 64 bit libHalf - R_X86_64_32S _eLut and -fPIC question,
Paul Miller <=