[mythtv] ffmpeg sync

Bruce Markey bjm at lvcm.com
Tue Apr 17 03:18:16 UTC 2007


Janne Grunau wrote:
> On Tuesday 17 April 2007 02:43:41 Bruce Markey wrote:
>> Janne Grunau wrote:
>>> I'm planning to do the next ffmpeg sync soon.
>>>
>>> To avoid regressions would like some feedback on following patch
>>> http://www.grunau.be/ffmpeg_sync_8742.diff.bz2 (589 kBytes).
>> ...
>> distcc -c -pipe -w -fomit-frame-pointer -g -Wall -Wno-switch
>> -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -O2
>> -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC  -DMMX -Di386
>> -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
>> -DLIBDIR=\"/usr/local/lib\" -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE
>> -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
>> -I/usr/share/qt3/mkspecs/default -I. -I.. -I../.. -I../libavutil
>> -I../libswscale -I/usr/include/qt3 -o h264.o h264.c ...
>> cabac.h: In function 'get_cabac_noinline':
>> cabac.h:522: error: PIC register '%ebx' clobbered in 'asm'
> 
> argh, I forgot that we enforce PIC in qmake. Attched patch should let it 
> build on x86_36.
...
> -    check_cc <<EOF && enable ebx_available
> +    check_cc "-DPIC -fPIC" <<EOF && enable ebx_available

I applied this but got the same error. It appears as if this
resulted in true and set ebx_available. After the here document
EOF, I added an explicit "enable ebx_available" which also failed
in the same way. I them changed it to "disable ebx_available"
and the compile continued.

So, I don't know if this should be set for my env and it may be
sub-optimal without it or if it really shouldn't be set. All I
know at this point is that disabling it allowed the compile to
continue.

--  bjm



More information about the mythtv-dev mailing list