[mythtv-users] Official Gentoo Ebuild is broken

Cedar McKay cedar at aliandcedar.com
Mon Feb 2 19:33:44 EST 2004


   -march=athlon-xp -O3 -pipe -fomit-frame-pointer

>If I download the mtyhtv source fromt he website I can make it fine, but
>through the ebuild it failed.. and even if I go to the work dir and try to
>make it manually it still wont work.. I get the error below.
>
>something is up with the tar they are using for gentoo or something.
>
>Nick D
>
>cd libs && make -f Makefile
>make[1]: Entering directory
>`/var/tmp/portage/mythtv-0.14/work/mythtv-0.14/libs'
>cd libavcodec && make -f Makefile
>make[2]: Entering directory
>`/var/tmp/portage/mythtv-0.14/work/mythtv-0.14/libs/libavcodec'
>gcc -c -pipe -w -Wall -march=athlon-xp -O3 -fomit-frame-pointer -pipe
>-ffast-math -fprefetch-loop-arrays -funroll-loops -falign-labels=1
>-falign-jumps=16 -falign-loops=16 -falign-functions=64 -fforce-addr
>-mfpmath=sse,387 -maccumulate-outgoing-args -frerun-loop-opt
>-frerun-cse-after-loop -mmmx -msse -m3dnow -g -O3 -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\" -DMMX -DUSING_IVTV -DQT_NO_DEBUG
>-DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. -I../..
>-I/usr/qt/3/include -o dsputil_mmx.o i386/dsputil_mmx.c
>i386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
>i386/dsputil_mmx.c:614: can't find a register in class `GENERAL_REGS'
>while reloading `asm'
>make[2]: *** [dsputil_mmx.o] Error 1
>make[2]: Leaving directory
>`/var/tmp/portage/mythtv-0.14/work/mythtv-0.14/libs/libavcodec'
>make[1]: *** [sub-libavcodec] Error 2
>make[1]: Leaving directory
>`/var/tmp/portage/mythtv-0.14/work/mythtv-0.14/libs'
>make: *** [sub-libs] Error 2
>_______________________________________________
>  
>

Instead of your mess of probably counterproductive CFLAGS you have in 
your /etc/make.conf file, why don't you give something a little more 
simple a shot. Try this:

CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"

see:
http://www.freehackers.org/gentoo/gccflags/flag_gcc3.html

best,
Cedar





More information about the mythtv-users mailing list