R_X86_64_32

Support for the other architectures (X86_64, IA-64, and PowerPC)
Post Reply
rhedin
Posts: 5
Joined: 2010/01/19 20:26:18

R_X86_64_32

Post by rhedin » 2010/01/22 02:34:04

I am building a 32-bit package on a 64-bit Intel machine running CentOS 5. At a certain state, the linker tells me:

R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC

As far as we can tell, all the compilation steps use -fPIC. We are mystified.

Has anyone else encountered this?


Regards,

Rick

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

R_X86_64_32

Post by pschaff » 2010/01/22 18:23:39

Building i386 on x86_64 is often done with a chroot environment, or if building RPMs [url=http://wiki.centos.org/PackageManagement/SourceInstalls](recommended)[/url], done with a tool like [url=http://fedoraproject.org/wiki/Projects/Mock]mock[/url] available in the [url=http://wiki.centos.org/AdditionalResources/Repositories?highlight=(extras)][extras] repo[/url].

Post Reply

Return to “CentOS 5 - X86_64,s390(x) and PowerPC Support”