relocation R_X86_64_PC32

Hans de Goede j.w.r.degoede at hhs.nl
Sun Jul 16 17:28:43 UTC 2006



Rex Dieter wrote:
> I ran into an issue on x86_64 and fc6/devel trying to build qt4,
> http://buildsys.fedoraproject.org/logs/fedora-development-extras/12668-qt4-4.1.4-6.fc6/
> In short, I received the error:
> /usr/bin/ld: .obj/release-shared/qthread_unix.o: relocation R_X86_64_PC32
> against `pthread_cond_timedwait@@GLIBC_2.3.2' can not be used when making a
> shared object; recompile with -fPIC
> /usr/bin/ld: final link failed: Bad value
> 
> Funny thing is (afaict)... qthread_unix.o *was* built with -fPIC.
> 

Are you sure? Maybe it contains inline asm which is not PIC? I've seen
similar messages before and there always is a real good reason for them

Regards,

Hans




More information about the fedora-devel-list mailing list