[Ffmpeg-devel] Broken trunk on AMD64 with PIC enabled
Diego 'Flameeyes' Pettenò
Tue Apr 3 18:16:10 CEST 2007
I've been trying for a couple of days now to build FFmpeg on AMD64 with
PIC enabled (both with --enable-shared and by enabling PIC externally
to embed FFmpeg's build system with xine's), and it always fails with:
/tmp/ccVd770a.s: Assembler messages:
/tmp/ccVd770a.s:31: Error: junk `(%rip)' after expression
/tmp/ccVd770a.s:44: Error: junk `(%rip)' after expression
/tmp/ccVd770a.s:46: Error: junk `(%rip)+128' after expression
/tmp/ccVd770a.s:61: Error: junk `(%rip)' after expression
/tmp/ccVd770a.s:15709: Error: junk `(%rip)' after expression
/tmp/ccVd770a.s:15722: Error: junk `(%rip)' after expression
the code is, for instance:
and $0xC0 , %esi
movzbl ff_h264_lps_range(%rip)(%eax, %esi, 2), %esi
problem seems to come from cabac.h:
"andl $0xC0, %%ebx \n\t"
"movzbl "MANGLE(ff_h264_lps_range)"(%0, %%ebx, 2), %%esi\n\t"
(as far as I can see, %ebx has been replaced with %esi on the output).
I have no clue what's causing this.
For what it's worth, I've been trying binutils 184.108.40.206.12, 13 and 14
with the same results. They all are able to build FFmpeg before, and I
suppose the cause is revision 8549.
Diego "Flameeyes" Petten?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: not available
More information about the ffmpeg-devel