You are not logged in.
Pages: 1
I really don't know what to do with this, but it seems like it may be useful information.
I build x264 from subversion every time I notice an update. I've been doing it for a long time without any problems. Then on Nov. 24, I came across this error:
/usr/bin/ld: common/amd64/pixel-sse2.o: relocation R_X86_64_PC32 against `x264_pixel_sad_8x4_mmxext' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make: *** [libx264.so.57] Error 1
Alright, fine, another -fPIC error. I guessed that filing a bug report could be done through forum.doom9.org, and this was the result:
http://forum.doom9.org/showthread.php?p=1069246
Problem solved, right?
Today I went to build FFmpeg from subversion, and received the exact same error. The same solution also worked.
This is all beyond the scope of my understanding. I don't know if this is something that needs to be reported to somewhere or what. I do know that GCC updated right before this started to happen. Any thoughts?
Offline
i had exactely the same error compiling x264 with atleast revision 700. i avoided this problem by simply not building the shared library.
however building the shared object worked with revisions 702 and 705.
as of now (12:15 UTC) both x264 (rev705) and ffmpeg (rev11124) can be built without errors on my machine (i suppose u got a x86_64 one aswell).
Offline
Cool. I just built x264 r706 without the extra ld flags. I'll report back to Doom9. Thanks.
By the way, FFmpeg from subversion still won't build without the extra flags. I just tried with r11126.
Last edited by skottish (2007-12-03 01:18:12)
Offline
Pages: 1