[mythtv] Trunc doesn't compile on gentoo x86

Armel LANGLET Armel.langlet at koans.fr
Mon Sep 14 08:34:32 UTC 2009


Hi all,

I've tried to compile the last mythtv version from svn trunk with no success on x86.

I'm a french user of mythtv for a very long time, and I just decide to be able to see an listen HDTV. So I spend some money to buy an ion ITX board to decode the HD and keeping using my old installation (Sempron with the capture card) as a backend.
To be able to use VDPAU and decode E-AC3 I have to compile a decent version of mythtv.
Everythoing goes well on the ITX platform (amd64). As the database layout as changed beetween the .21 and the .22 versions, I have to compile that same decent version on my backend. And here is the result :

tele mythtv #  ./configure --prefix=/usr --mandir=/usr/share/man --libdir-name=lib --disable-audio-alsa --disable-altivec --disable-audio-jack --enable-glx-procaddrarb --enable-dvb --disable-firewire --disable-lirc --disable-audio-oss --disable-directfb --dvb-path=/usr/include --enable-opengl-vsync --disable-opengl-video --disable-vdpau --enable-xrandr --enable-xv --enable-x11 --with-bindings=perl,python --compile-type=profile --disable-ccache --enable-libfaad --enable-proc-opt    # Basic Settings
Compile type              profile
Compiler cache            no
DistCC                    yes
qmake                     /usr/bin/qmake
install prefix            /usr
runtime prefix            /usr
CPU                       x86 x86_32 (AMD Sempron(tm) 2800+)
big-endian                no
runtime cpu detection     no
yasm                      yes
MMX enabled               yes
MMX2 enabled              yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
CMOV enabled              yes

# Input Support
Joystick menu             yes
lirc support              no
Video4Linux sup.          yes
ivtv support              yes
HR-PVR support            yes
FireWire support          no
DVB support               yes [/usr/include]
DVB-S2 support            no
HDHomeRun support         yes
IPTV support              yes

# Sound Output Support
PulseAudio support        no
OSS support               no
ALSA support              no
aRts support              no
JACK support              no
libfftw3 support          no

# Video Output Support
x11 support               yes
xrandr support            yes
xv support                yes
XvMC support              yes
XvMC VLD support          yes
XvMC pro support          no
XvMC libs                 -lXvMCW
VDPAU support             no
OpenGL video              no
OpenGL vsync              yes
DirectFB                  no
Fribidi formatting        no
MHEG support              yes

# Misc Features
multi threaded libavcodec yes
Frontend                  yes
Backend                   yes

# Bindings
bindings_perl             yes
bindings_python           yes

Creating libs/libmythdb/mythconfig.h and libs/libmythdb/mythconfig.mak

WARNING: When using --enable-proc-opt you must include the
         output of ./configure along with any bug report.

tele mythtv # make
cd libs/ && /usr/bin/qmake libs.pro -unix QMAKE=/usr/bin/qmake -o Makefile
cd libs/ && make -f Makefile
make[1]: Entering directory `/var/tmp/portage/media-tv/mythtv-0.22_alpha21709/work/trunk/mythtv/libs'

[...]

distcc gcc -c -pipe -march=athlon-xp -fomit-frame-pointer -O3 -DNDEBUG -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -g -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -fno-math-errno -fno-signed-zeros -w -D_REENTRANT -DPIC -fPIC -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/share/qt4/mkspecs/linux-g++ -I. -I.. -I../.. -I. -o h264.o h264.c
cabac.h: In function 'get_cabac_noinline':
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h: In function 'decode_cabac_residual_dc':
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
x86/h264_i386.h:44: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'


[...]


cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
cabac.h:527: error: PIC register '%ebx' clobbered in 'asm'
distcc[8003] ERROR: compile h264.c on localhost failed
make[2]: *** [h264.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.22_alpha21709/work/trunk/mythtv/libs/libavcodec'
make[1]: *** [sub-libavcodec-make_default] Error 2
make[1]: Leaving directory `/var/tmp/portage/media-tv/mythtv-0.22_alpha21709/work/trunk/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2
tele mythtv #




After googling I've tried to disable PIC as explain in ticket #6859 with no success, disabling MMX don't work.
On some web pages on ffmpeg discussions, they talk about gcc bug...

I'm pretty sure it's a know problem, but I can't find a concise response to that (or a response in the right level for my skill).


So my question is : What have I to do to compile mythtv on my x86 platform.
Has an alternative : How can I have a backend only installation on X86 architecture ? Is the ffmpeg stuff use in the backend part of mythtv ?

Thanks for your help


Armel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-dev/attachments/20090914/daa85a45/attachment.htm>


More information about the mythtv-dev mailing list