[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: relocation R_X86_64_PC32




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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]