Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74032 - mythtv-0.16 fails to compile, dsputil_mmx.c: 634 error: can't find a register in class `GENERAL_REGS' while loading `asm'
Summary: mythtv-0.16 fails to compile, dsputil_mmx.c: 634 error: can't find a register...
Status: RESOLVED DUPLICATE of bug 67832
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-10 13:18 UTC by Gregg Casillo
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***