Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 74032

Summary: mythtv-0.16 fails to compile, dsputil_mmx.c: 634 error: can't find a register in class `GENERAL_REGS' while loading `asm'
Product: Gentoo Linux Reporter: Gregg Casillo <gregg.casillo>
Component: Current packagesAssignee: Television related Applications in Gentoo's Portage <media-tv>
Status: RESOLVED DUPLICATE    
Severity: normal CC: hakan
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gregg Casillo 2004-12-10 13:18:17 UTC
I cannot get mythtv to compile. Here's the error I get:

gcc -c -pipe -w -march=pentium4 -O3 -pipe -fomit-frame-pointer -DPIC -fPIC -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OPENGL_VSYNC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I../.. -I/usr/qt/3/include -o fft_sse.o i386/fft_sse.c
gcc -c -pipe -w -march=pentium4 -O3 -pipe -fomit-frame-pointer -DPIC -fPIC -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OPENGL_VSYNC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I../.. -I/usr/qt/3/include -o vp3dsp_mmx.o i386/vp3dsp_mmx.c
gcc -c -pipe -w -march=pentium4 -O3 -pipe -fomit-frame-pointer -DPIC -fPIC -fomit-frame-pointer -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OPENGL_VSYNC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I../.. -I/usr/qt/3/include -o vp3dsp_sse2.o i386/vp3dsp_sse2.c
i386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
i386/dsputil_mmx.c:634: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
make: *** [dsputil_mmx.o] Error 1
make: Leaving directory `/var/tmp/portage/mythtv-0.16/work/mythtv-0.16/libs/libavcodec'

I have tried with USE="-mmx", USE="pic", and have tried recompiling ffmpeg (for libavcodec) to get by, but I've had no luck. I've seen similar ASM problems in bugzilla and in the forums, but I don't know enough about it to correc this problem.

Reproducible: Always
Steps to Reproduce:
1. emerge mythtv
2. compile fails on vp3dsp_sse2.c with an ASM/MMX error
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2004-12-16 01:30:58 UTC
It's an issue with your CFLAGS. Please post emerge info here.http://www.neowin.net/
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2004-12-16 01:35:06 UTC

*** This bug has been marked as a duplicate of 67832 ***