On Mon, 2006-07-17 at 09:49 -0500, Rex Dieter wrote: > Hans de Goede wrote: > > > > 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 > > I'll go (re)check for asm, but I can say this same pkg built fine on Jul > 03, so something changed in the meantime... (: Maybe post the relevant code for the use in qthread_unix.c[pp|xx] of the pthread function which caused the above link error. I had an odd R_X86_64_PC32 error in OOo which I was able to workaround by making the afflicted global arrays into local function static arrays. (openoffice.org-2.0.3.gccXXXXX.svtools.R_X86_64_PC32.patch in the OOo src.rpm) C. -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list