Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38570 - Transcode-0.6.12 ebuild fails
Summary: Transcode-0.6.12 ebuild fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
: 41620 42004 42777 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-17 20:34 UTC by ElliottJohnson
Modified: 2004-02-28 07:52 UTC (History)
10 users (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 ElliottJohnson 2004-01-17 20:34:06 UTC
I emerge sync'd and did "emerge -U world".  Transcode-0.6.12 failed to compile.

Here is what I using with portage:

Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.1-love5)
=================================================================
System uname: 2.6.1-love5 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -fexpensive-optimizations"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow -mfpmath=sse -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -fexpensive-optimizations"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib alsa apm arts avi berkdb cdr cjk crypt cups dvd dvdr encode esd foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"

Here is the compilaton results:

if gcc -DHAVE_CONFIG_H -I../.. -I. -I../.. -I. -I../../    -O2 -g -Wall -ffast-math  -DARCH_X86 -DHAVE_MMX -DHAVE_AV_CONFIG_H -D_GNU_SOURCE --include=../../ffmpeg/av_config.h -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -march=athlon-xp -O3 -pipe -mmmx -msse -m3dnow -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4 -fexpensive-optimizations -DDCT_YUV_PRECISION=1 -MT dsputil_mmx.o -MD -MP -MF ".deps/dsputil_mmx.Tpo" \
  -c -o dsputil_mmx.o `test -f 'i386/dsputil_mmx.c' || echo './'`i386/dsputil_mmx.c; \
then mv -f ".deps/dsputil_mmx.Tpo" ".deps/dsputil_mmx.Po"; \
else rm -f ".deps/dsputil_mmx.Tpo"; exit 1; \
fi
i386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
i386/dsputil_mmx.c:610: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
i386/dsputil_mmx.c: At top level:
i386/dsputil_mmx_rnd.h:362: warning: `avg_no_rnd_pixels8_l2_mmx' defined but not used
i386/dsputil_mmx_rnd.h:409: warning: `avg_no_rnd_pixels16_l2_mmx' defined but not used
i386/dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_3dnow' defined but not used
i386/dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_3dnow' defined but not used
i386/dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_mmx2' defined but not used
i386/dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_mmx2' defined but not used
make[4]: *** [dsputil_mmx.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12'
make: *** [all] Error 2

!!! ERROR: media-video/transcode-0.6.12 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! (no error message)



Reproducible: Always
Steps to Reproduce:
1.emerge transcode
2.
3.
Comment 1 Guy 2004-01-18 04:36:38 UTC
I'm also having errors on one machine in the same area.

In my case, it claims 'mm_flags' are undefined.

I'll provide more info later tonight.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-01-18 05:13:11 UTC
please drop down you CFLAGS
Comment 3 butters 2004-01-19 23:17:29 UTC
I'm getting the mm_flags thing too.  Here's what happens.

if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT extract_mp3.o -MD -MP -MF ".deps/extract_mp3.Tpo" \
  -c -o extract_mp3.o `test -f 'extract_mp3.c' || echo './'`extract_mp3.c; \
then mv -f ".deps/extract_mp3.Tpo" ".deps/extract_mp3.Po"; \
else rm -f ".deps/extract_mp3.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT scan_dv.o -MD -MP -MF ".deps/scan_dv.Tpo" \
  -c -o scan_dv.o `test -f 'scan_dv.c' || echo './'`scan_dv.c; \
then mv -f ".deps/scan_dv.Tpo" ".deps/scan_dv.Po"; \
else rm -f ".deps/scan_dv.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT aux_pes.o -MD -MP -MF ".deps/aux_pes.Tpo" \
  -c -o aux_pes.o `test -f 'aux_pes.c' || echo './'`aux_pes.c; \
then mv -f ".deps/aux_pes.Tpo" ".deps/aux_pes.Po"; \
else rm -f ".deps/aux_pes.Tpo"; exit 1; \
fi
aux_pes.c: In function `scr_rewrite':
aux_pes.c:456: warning: dereferencing type-punned pointer will break strict-aliasing rules
aux_pes.c: At top level:
aux_pes.c:39: warning: `cmp_32_bits' defined but not used
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT extract_ogm.o -MD -MP -MF ".deps/extract_ogm.Tpo" \
  -c -o extract_ogm.o `test -f 'extract_ogm.c' || echo './'`extract_ogm.c; \
then mv -f ".deps/extract_ogm.Tpo" ".deps/extract_ogm.Po"; \
else rm -f ".deps/extract_ogm.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT extract_lzo.o -MD -MP -MF ".deps/extract_lzo.Tpo" \
  -c -o extract_lzo.o `test -f 'extract_lzo.c' || echo './'`extract_lzo.c; \
then mv -f ".deps/extract_lzo.Tpo" ".deps/extract_lzo.Po"; \
else rm -f ".deps/extract_lzo.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT extract_mxf.o -MD -MP -MF ".deps/extract_mxf.Tpo" \
  -c -o extract_mxf.o `test -f 'extract_mxf.c' || echo './'`extract_mxf.c; \
then mv -f ".deps/extract_mxf.Tpo" ".deps/extract_mxf.Po"; \
else rm -f ".deps/extract_mxf.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link gcc  -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g   -o tcextract  tcextract.o extract_ac3.o extract_mpeg2.o extract_pcm.o fileinfo.o extract_yuv.o extract_rgb.o extract_dv.o ioaux.o extract_mp3.o scan_dv.o aux_pes.o extract_ogm.o extract_lzo.o extract_mxf.o -L../libac3 -lac3_tc -L../libmpeg2 -lmpeg2cvs -L../libvo -lvout -L../avilib -lavi -L/usr/lib -ldv -lpthread -ldl  -L/usr/lib -lglib -ldl -lm  -L/usr/lib -logg -lm -L/usr/lib -lvorbis -lm -lm -lpthread -ldl
gcc -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1 -g -o tcextract tcextract.o extract_ac3.o extract_mpeg2.o extract_pcm.o fileinfo.o extract_yuv.o extract_rgb.o extract_dv.o ioaux.o extract_mp3.o scan_dv.o aux_pes.o extract_ogm.o extract_lzo.o extract_mxf.o  -L/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/libac3 -lac3_tc -L/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/libmpeg2 -lmpeg2cvs -L/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/libvo -lvout -L/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/avilib -lavi -L/usr/lib /usr/lib/libdv.so /usr/lib/libglib.so /usr/lib/libvorbis.so /usr/lib/libogg.so -lm -lpthread -ldl
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT tcdecode.o -MD -MP -MF ".deps/tcdecode.Tpo" \
  -c -o tcdecode.o `test -f 'tcdecode.c' || echo './'`tcdecode.c; \
then mv -f ".deps/tcdecode.Tpo" ".deps/tcdecode.Po"; \
else rm -f ".deps/tcdecode.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT decode_ac3.o -MD -MP -MF ".deps/decode_ac3.Tpo" \
  -c -o decode_ac3.o `test -f 'decode_ac3.c' || echo './'`decode_ac3.c; \
then mv -f ".deps/decode_ac3.Tpo" ".deps/decode_ac3.Po"; \
else rm -f ".deps/decode_ac3.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT decode_mpeg2.o -MD -MP -MF ".deps/decode_mpeg2.Tpo" \
  -c -o decode_mpeg2.o `test -f 'decode_mpeg2.c' || echo './'`decode_mpeg2.c; \
then mv -f ".deps/decode_mpeg2.Tpo" ".deps/decode_mpeg2.Po"; \
else rm -f ".deps/decode_mpeg2.Tpo"; exit 1; \
fi
../libvo/video_out.h:71: warning: `vo_setup' defined but not used
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT decode_yuv.o -MD -MP -MF ".deps/decode_yuv.Tpo" \
  -c -o decode_yuv.o `test -f 'decode_yuv.c' || echo './'`decode_yuv.c; \
then mv -f ".deps/decode_yuv.Tpo" ".deps/decode_yuv.Po"; \
else rm -f ".deps/decode_yuv.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT decode_dv.o -MD -MP -MF ".deps/decode_dv.Tpo" \
  -c -o decode_dv.o `test -f 'decode_dv.c' || echo './'`decode_dv.c; \
then mv -f ".deps/decode_dv.Tpo" ".deps/decode_dv.Po"; \
else rm -f ".deps/decode_dv.Tpo"; exit 1; \
fi
decode_dv.c: In function `decode_dv':
decode_dv.c:256: warning: passing arg 5 of `dv_decode_full_frame' from incompatible pointer type
decode_dv.c:273: warning: passing arg 5 of `dv_decode_full_frame' from incompatible pointer type
decode_dv.c:298: warning: passing arg 5 of `dv_decode_full_frame' from incompatible pointer type
decode_dv.c:306: warning: passing arg 5 of `dv_decode_full_frame' from incompatible pointer type
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT decode_mp3.o -MD -MP -MF ".deps/decode_mp3.Tpo" \
  -c -o decode_mp3.o `test -f 'decode_mp3.c' || echo './'`decode_mp3.c; \
then mv -f ".deps/decode_mp3.Tpo" ".deps/decode_mp3.Po"; \
else rm -f ".deps/decode_mp3.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT mpg123.o -MD -MP -MF ".deps/mpg123.Tpo" \
  -c -o mpg123.o `test -f 'mpg123.c' || echo './'`mpg123.c; \
then mv -f ".deps/mpg123.Tpo" ".deps/mpg123.Po"; \
else rm -f ".deps/mpg123.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT decode_a52.o -MD -MP -MF ".deps/decode_a52.Tpo" \
  -c -o decode_a52.o `test -f 'decode_a52.c' || echo './'`decode_a52.c; \
then mv -f ".deps/decode_a52.Tpo" ".deps/decode_a52.Po"; \
else rm -f ".deps/decode_a52.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT decode_af6.o -MD -MP -MF ".deps/decode_af6.Tpo" \
  -c -o decode_af6.o `test -f 'decode_af6.c' || echo './'`decode_af6.c; \
then mv -f ".deps/decode_af6.Tpo" ".deps/decode_af6.Po"; \
else rm -f ".deps/decode_af6.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT decode_lavc.o -MD -MP -MF ".deps/decode_lavc.Tpo" \
  -c -o decode_lavc.o `test -f 'decode_lavc.c' || echo './'`decode_lavc.c; \
then mv -f ".deps/decode_lavc.Tpo" ".deps/decode_lavc.Po"; \
else rm -f ".deps/decode_lavc.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT decode_xvid.o -MD -MP -MF ".deps/decode_xvid.Tpo" \
  -c -o decode_xvid.o `test -f 'decode_xvid.c' || echo './'`decode_xvid.c; \
then mv -f ".deps/decode_xvid.Tpo" ".deps/decode_xvid.Po"; \
else rm -f ".deps/decode_xvid.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT decode_ogg.o -MD -MP -MF ".deps/decode_ogg.Tpo" \
  -c -o decode_ogg.o `test -f 'decode_ogg.c' || echo './'`decode_ogg.c; \
then mv -f ".deps/decode_ogg.Tpo" ".deps/decode_ogg.Po"; \
else rm -f ".deps/decode_ogg.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT decode_mov.o -MD -MP -MF ".deps/decode_mov.Tpo" \
  -c -o decode_mov.o `test -f 'decode_mov.c' || echo './'`decode_mov.c; \
then mv -f ".deps/decode_mov.Tpo" ".deps/decode_mov.Po"; \
else rm -f ".deps/decode_mov.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpeg2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2  -I/usr/include/libxml2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include    -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g -MT decode_lzo.o -MD -MP -MF ".deps/decode_lzo.Tpo" \
  -c -o decode_lzo.o `test -f 'decode_lzo.c' || echo './'`decode_lzo.c; \
then mv -f ".deps/decode_lzo.Tpo" ".deps/decode_lzo.Po"; \
else rm -f ".deps/decode_lzo.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link gcc  -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1   -g   -o tcdecode  tcdecode.o decode_ac3.o decode_mpeg2.o decode_yuv.o fileinfo.o ioaux.o decode_dv.o decode_mp3.o mpg123.o decode_a52.o decode_af6.o scan_dv.o decode_lavc.o decode_xvid.o decode_ogg.o decode_mov.o decode_lzo.o -L../ffmpeg/libavcodec -ltcavcodec -L/usr/lib -lmp3lame -lm -L../libac3 -lac3_tc -L../libmpeg2 -lmpeg2cvs -L../libvo -lvout -L/usr/lib -ldv -lpthread -ldl  -L/usr/lib -lglib -ldl -lm -lvorbisfile  -L/usr/lib -lvorbis -lm -L/usr/lib -logg -lm   -L/usr/lib -llzo -lpthread -ldl  -L/usr/lib -lglib -ldl -lm -lm -lpthread -ldl
gcc -D_REENTRANT -funroll-loops -ffast-math -Wall -DMOD_PATH=\"/usr/lib/transcode\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fomit-frame-pointer -O3 -O2 -march=athlon-xp -funroll-loops -pipe -fomit-frame-pointer -DDCT_YUV_PRECISION=1 -g -o tcdecode tcdecode.o decode_ac3.o decode_mpeg2.o decode_yuv.o fileinfo.o ioaux.o decode_dv.o decode_mp3.o mpg123.o decode_a52.o decode_af6.o scan_dv.o decode_lavc.o decode_xvid.o decode_ogg.o decode_mov.o decode_lzo.o  -L/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec -ltcavcodec -L/usr/lib /usr/lib/libmp3lame.so -L/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/libac3 -lac3_tc -L/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/libmpeg2 -lmpeg2cvs -L/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/libvo -lvout /usr/lib/libdv.so /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so /usr/lib/liblzo.so /usr/lib/libglib.so -lm -lpthread -ldl
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(utils.o)(.text+0xa5e): In function `avcodec_encode_video':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/utils.c:430: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(utils.o)(.text+0xaba): In function `avcodec_decode_video':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/utils.c:454: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(mpegvideo.o)(.text+0x745): In function `DCT_common_init':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/mpegvideo.c:216: undefined reference to `MPV_common_init_mmx'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(mpegvideo.o)(.text+0x3812): In function `MPV_frame_end':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/mpegvideo.c:1228: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(mpegvideo.o)(.text+0x501b): In function `select_input_picture':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/mpegvideo.c:1642: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(mpegvideo.o)(.text+0x6928): In function `ff_draw_horiz_band':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/mpegvideo.c:3069: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(mpegvideo.o)(.text+0x8864): In function `encode_picture':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/mpegvideo.c:3713: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(mpegvideo.o)(.text+0x8b2d):/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/mpegvideo.c:4249: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(mjpeg.o)(.text+0x2989):/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/mjpeg.c:773: more undefined references to `mm_flags' follow
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(dsputil.o)(.text+0x2ed19): In function `dsputil_init':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/dsputil.c:3125: undefined reference to `dsputil_init_mmx'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(mpeg12.o)(.text+0x8df6): In function `mpeg_decode_frame':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/mpeg12.c:2628: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(mpeg12.o)(.text+0x94a8): In function `decode_frame':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/mdec.c:217: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(ratecontrol.o)(.text+0xbc): In function `ff_rate_control_init':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/ratecontrol.c:51: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(ratecontrol.o)(.text+0x882): In function `ff_rate_control_uninit':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/ratecontrol.c:179: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(ratecontrol.o)(.text+0x1c2c): In function `ff_rate_estimate_qscale':
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/ratecontrol.c:573: undefined reference to `mm_flags'
/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/libtcavcodec.a(dv.o)(.text+0xbfd):/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec/dv.c:962: more undefined references to `mm_flags' follow
collect2: ld returned 1 exit status
make[3]: *** [tcdecode] Error 1
make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12'
make: *** [all] Error 2
 
!!! ERROR: media-video/transcode-0.6.12 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! (no error message)
 
butters@buttersbox / $

Comment 4 ElliottJohnson 2004-01-19 23:52:00 UTC
I'd try this on the command prompt:

CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" emerge transcode

Of course the cpu needs to be set correctly, but this fixed the ebuild for me.  I'll tweak a little more to find what transcode didn't like the first time.
Comment 5 Gregory Shimansky 2004-01-20 07:16:45 UTC
I have the same problem. After reading a recomendation to lower compiler args, I experimented a bit with the file that fails to compile and found the exact option that made compilation fail. My original CFLAGS were

CFLAGS="-O3 -pipe -fomit-frame-pointer -march=pentium4 -mmmx
-mfpmath=sse,387 -msse2 -ffast-math -fprefetch-loop-arrays
-fforce-addr -falign-functions=4 -maccumulate-outgoing-args"

The option that caused compile failure was "-fforce-addr". After I removed it from my CFLAGS transcode compiled without problems.
Comment 6 butters 2004-01-20 09:46:27 UTC
Dropping down CFLAGS did not work for me.
Comment 7 Gregg Casillo 2004-01-20 12:58:21 UTC
I'm pretty conservative with these CFLAGS:

-march=pentium4 -O2 -pipe -fomit-frame-pointer

and I can't get it to compile.
Comment 8 Tuan Van (RETIRED) gentoo-dev 2004-01-20 16:28:14 UTC
I got the same problem until I tried
USE="-mmx" emerge transcode
My CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
Comment 9 Gregg Casillo 2004-01-20 16:49:09 UTC
USE="-mmx" did not help. I'm still stuck on the "more undefined references to `mm_flags' follow" part.
Comment 10 Marc Hildebrand (RETIRED) gentoo-dev 2004-01-20 22:47:56 UTC
Just that you know it _is_ possible to emerge it at all.
I tred it on a machine (x86) and it worked right out of the box.
And I don't think CFLAGS have to do with it. Here are mine:

CFLAGS="-O2 -march=pentium3 -mmmx -msse -mfpmath=sse,387 -funroll-loops -fprefetch-loop-arrays -frerun-cse-after-loop -pipe"

Tonight I'll try on my ~x86 machine.
Comment 11 Ahmed Farid 2004-01-21 11:19:42 UTC
 g++ -DHAVE_CONFIG_H -I.. -I. -I.. -I. -Wall -I./ -I../src -I../avilib -I../libac3 -I./../libac3 -I../libmpeg2 -I./../libmpe
g2 -I../libvo -I./../src -I./../avilib -I./../libvo -I/usr/include -I/usr/local/include -I/usr/include -I/usr/include/glib-1
.2 -I/usr/lib/glib/include -I/usr/local/include -I/usr/include/libmpeg3 -I/usr/local/include/libmpeg3 -I/usr/include -I/usr/
local/include -I/usr/include/avifile-0.7 -I/usr/include/freetype2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/X11R6/include -
I/usr/X11R6/include/X11 -I/usr/include/libxml2 -I/usr/include/quicktime -I/usr/local/include/quicktime -I/usr/include/libxml
2 -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/include
 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/include -march=pentium4 -Os -ftracer -pipe -fomit-frame-pointe
r -fweb -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT af6_decore.lo -MD -MP -MF .deps/af6_decore.Tpo
-c af6_decore.cpp  -fPIC -DPIC -o .libs/af6_decore.o
In file included from /usr/include/avifile-0.7/StreamInfo.h:8,
                 from /usr/include/avifile-0.7/infotypes.h:4,
                 from /usr/include/avifile-0.7/videodecoder.h:4,
                 from /usr/include/avifile-0.7/avifile.h:4,
                 from af6_decore.cpp:38:
/usr/include/avifile-0.7/avm_stl.h:170: error: default arguments are only permitted for function parameters
In file included from /usr/include/avifile-0.7/videodecoder.h:4,
                 from /usr/include/avifile-0.7/avifile.h:4,
                 from af6_decore.cpp:38:
/usr/include/avifile-0.7/infotypes.h:194: error: no matching function for call to `avm::vector<avm::AttributeInfo>::vector()
'
/usr/include/avifile-0.7/avm_stl.h:172: note: candidates are: avm::vector<Type>::vector(const avm::vector<Type>&) [with Type
 = avm::AttributeInfo]
/usr/include/avifile-0.7/avm_stl.h:276: note:                 avm::vector<Type>::vector(int) [with Type = avm::AttributeInfo
]
/usr/include/avifile-0.7/infotypes.h:195: error: no matching function for call to `avm::vector<avm::AttributeInfo>::vector()
'
/usr/include/avifile-0.7/avm_stl.h:172: note: candidates are: avm::vector<Type>::vector(const avm::vector<Type>&) [with Type
 = avm::AttributeInfo]
/usr/include/avifile-0.7/avm_stl.h:276: note:                 avm::vector<Type>::vector(int) [with Type = avm::AttributeInfo
]
In file included from af6_decore.cpp:40:
/usr/include/avifile-0.7/aviplay.h:15: error: default arguments are only permitted for function parameters
/usr/include/avifile-0.7/aviplay.h:16: error: default arguments are only permitted for function parameters
make[3]: *** [af6_decore.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/import'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/import'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12'
make: *** [all] Error 2

!!! ERROR: media-video/transcode-0.6.12 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! (no error message)

gcc version 3.4.0 20040114 (experimental)
glibc-2.3.3_pre20040117
kernel 2.6.1-love6
CFLAGS="-march=pentium4 -Os -ftracer -pipe -fomit-frame-pointer -fweb" (also tried adding -fno-unit-at-a-time)
Comment 12 Gregg Casillo 2004-01-21 17:26:56 UTC
Sure enough I've got it installed on one of my PCs at home. I have "mmx" in my USE flags too. However, my boxes at work, the ones I can't get 0.6.12 installed on, already had "-mmx". I dunno what to make of this, and that's what I get for running ~x86. I'm going back to stable as I don't have time to file bug reports; I have stuff to get done.
Comment 13 Detro 2004-01-22 11:30:30 UTC
I have the same problem: 
/******************************************************/
i386/dsputil_mmx.c: In function `h263_h_loop_filter_mmx':
i386/dsputil_mmx.c:610: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
i386/dsputil_mmx.c: At top level:
i386/dsputil_mmx_rnd.h:362: warning: `avg_no_rnd_pixels8_l2_mmx' defined but not used
i386/dsputil_mmx_rnd.h:409: warning: `avg_no_rnd_pixels16_l2_mmx' defined but not used
i386/dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_3dnow' defined but not used
i386/dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_3dnow' defined but not used
i386/dsputil_mmx_avg.h:57: warning: `put_pixels8_l2_mmx2' defined but not used
i386/dsputil_mmx_avg.h:129: warning: `put_pixels16_l2_mmx2' defined but not used
make[4]: *** [dsputil_mmx.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg/libavcodec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12/ffmpeg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/transcode-0.6.12/work/transcode-0.6.12'
make: *** [all] Error 2

!!! ERROR: media-video/transcode-0.6.12 failed.
!!! Function src_compile, Line 120, Exitcode 2
!!! (no error message)
/******************************************************/

With this CFLAGS:
CFLAGS="-O2 -mcpu=pentium3 -march=pentium3 -mfpmath=sse -fomit-frame-pointer -falign-functions=32 -fforce-addr -pipe -mmmx -msse"
/*********************/

But I resolv the problem with:
CFLAGS="-O2 -march=pentium3 -mmmx -msse -mfpmath=sse,387 -funroll-loops -fprefetch-loop-arrays -frerun-cse-after-loop -pipe"
/*********************/

=> try:
CFLAGS="-O2 -march=pentium3 -mmmx -msse -mfpmath=sse,387 -funroll-loops -fprefetch-loop-arrays -frerun-cse-after-loop -pipe" emerge transcode

obviously, correct with your architecture!


Comment 14 Gregg Casillo 2004-01-23 12:36:44 UTC
Wish I knew what exactly I did to solve my problems, but I did some tweaking to my USE flags. IIRC, I removed some extra flags I had for xfree-drm, stuff like "-sis" and "-3dfx". I may have added some multimedia related flags as well. I'm not sure, but I would definitely say the solutoin lies in your USE flags if you're running into problems.
Comment 15 Andrea Cerrito 2004-01-23 13:17:55 UTC
I can confirm that removing "-fforce-addr" solves the "i386/dsputil_mmx.c:610: error: can't find a register in class `GENERAL_REGS' while reloading `asm'" problem.
Comment 16 René Marten 2004-01-24 02:27:23 UTC
>>> media-video/transcode-0.6.12 merged.

removing "-fforce-addr" solved it for me.
Comment 17 Gregg Casillo 2004-01-26 15:56:52 UTC
Yes, I had one box that had -fforce_addr in its CFLAGS and removing it allowed me to successfully emerge transcode-0.6.12.
Comment 18 Marc Hildebrand (RETIRED) gentoo-dev 2004-01-26 23:40:51 UTC
Ok, so let's filter out some CFLAGS...
1st one is -ffore-addr
2nd one is -momit-leaf-frame-pointer (had to remove it one my athlon)
More Suggestions?
Comment 19 Ulrich Plate (RETIRED) gentoo-dev 2004-01-28 02:56:45 UTC
Tried all of the above, and I've even completely dropped my CFLAGS in 
/etc/make.conf (in spite of their being conservative to begin with). With the
architecture default setting (CFLAGS="-O2 -mcpu=i686 -pipe") and the handful of
additional CFLAGS that seem to get pulled in via the Makefile, it still chokes 
on undefined references to mm_flags. 

I find it hard to believe that the answer lies in whether a certain compiler flag
is toggled on or off...
Comment 20 Jan Callewaert 2004-01-28 03:37:09 UTC
mine also fails with the mm_flags
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
Comment 21 Tobias Minich 2004-01-28 12:12:27 UTC
For me adding 'mmx' and '3dnow' to the use flags made it compile (had the mm_flags error before).
Comment 22 Ulrich Plate (RETIRED) gentoo-dev 2004-01-28 14:34:17 UTC
And that - 'USE="mmx 3dnow" emerge transcode' - was that... Compiled all the way through this time, without any changes to the CFLAGS. Thanks a lot!
Comment 23 butters 2004-01-29 20:26:30 UTC
That worked for me too.  I could have sworn using -march=athlon-xp implied mmx and 3dnow.....

Oh well, something new to add to my USE flags :P
Comment 24 Erik Swanson (RETIRED) gentoo-dev 2004-02-05 12:18:10 UTC
With the mmx and 3dnow use flags enabled, the following cflags produced the dsputil_mmx.c failure:
"-O0 -g -pipe"
"-O0 -g -pipe -march=athlon-tbird"

Bumping the optimization level to -O1 ("-O1 -g -pipe") caused the build to succeed.
Comment 25 Constantin Gruber 2004-02-05 13:17:34 UTC
For me a combination of USE and CFLAG changes finally did it:
USE="mmx 3dnow" CFLAGS=" " emerge transcode
:)
Comment 26 bugs 2004-02-07 07:13:58 UTC
Another vote for fforce-addr
Tried what seemed to be the most minimalistic solution on here.
Worked fine.
Comment 27 César Fernández 2004-02-08 16:04:16 UTC
Emerged with no problems using gcc-3.3.2-r7.

Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.2-gentoo)
=================================================================
System uname: 2.6.2-gentoo i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mmmx -m3dnow -msse -mfpmath=sse,387 -ffast-math -O2 -fomit-frame-pointer -frename-registers -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -mmmx -m3dnow -msse -mfpmath=sse,387 -ffast-math -O2 -fomit-frame-pointer -frename-registers -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apm avi berkdb cdr cjk crypt cscope cups dvd encode faad fbcon flac foomaticdb foreign-sysvinit gd gdbm gif gpm gtk2 gtkhtml hyriand imap imlib ipv6 java javascript jikes jpeg kde lcms libg++ libwww mad matroska mikmod mmx motif mozilla moznoirc moznomail mozsvg mpeg mpi ncurses nls oggvorbis opengl pam pdflib perl pic png ppds python qt quicktime readline sasl sdl slang snmp speex spell sse ssl svga tcltk tcpd tetex threads tiff truetype usagi vim-with-x wmf x86 xml xml2 xmms xv zlib"
Comment 28 bugs 2004-02-08 18:22:49 UTC
Hey, Cesar.
Looks like your setup is similar to mine, except you don't have the -fforce-addr.
So, I'd say another vote for that one by implication.
I reenabled my insane CFLAGS after emerging transcode.
Comment 29 César Fernández 2004-02-09 07:04:26 UTC
Yeah, with -fforce-addr it fails (h263_h_loop_filter_mmx). That's my USE flags I use with transcode:

[ebuild   R   ] media-video/transcode-0.6.12  +3dnow +X -altivec +avi +encode +mmx +mpeg +quicktime +sdl +sse
Comment 30 Dan Elder 2004-02-10 20:24:58 UTC
I'm still unable to emerge transcode with any of the aobve mentioned fixes.  I can't help but notice that everyone who has had success is using 3dnow.  That's great for people with Athlons but us folk with the Intel warning sticker don't have that option.  Has anyone with a non-AMD chip gotten this to work?
Comment 31 Ole Tange 2004-02-11 01:46:09 UTC
I have traced the mm_flags problem to USE=mmx

If you do not USE=mmx then you get the mm_flags error. This is also the
case for the original source, so it should probably be reported to the
transcode people.

Workaround:
Include 'mmx' in USE in /etc/make.conf.
Comment 32 Martin Holzer (RETIRED) gentoo-dev 2004-02-15 03:30:07 UTC
*** Bug 41620 has been marked as a duplicate of this bug. ***
Comment 33 Federico Fortini 2004-02-23 11:37:54 UTC
For me adding mmx to USE flags relsove all, for sure i use only
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
Config BEFORE adding mmx USE flags.
***************
Gentoo Base System version 1.4.3.8p1
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22-xfs)
=================================================================
System uname: 2.4.22-xfs i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -march=pentium4 -O3 -pipe -msse2 -mfpmath=sse -mpush-args -funroll-loops -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -fforce-mem -falign-functions -falign-labels -falign-loops -falign-jumps -foptimize-sibling-calls -fmerge-constants -fmove-all-movables"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -march=pentium4 -O3 -pipe -msse2 -mfpmath=sse -mpush-args -funroll-loops -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math  -fforce-mem -falign-functions -falign-labels -falign-loops -falign-jumps -foptimize-sibling-calls -fmerge-constants -fmove-all-movables"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/home/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt cups dvb dvd encode esd fbcon flac flash foomatic foomaticdb gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml guile icc imlib java jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd tiff truetype unicode usb wxwindows x86 xml2 xmms xv zlib"
********************
Comment 34 Ffer 2004-02-24 10:38:26 UTC
I just added USE="mmx" before my emerge command it and went.  

Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-rc3-gentoo)
=================================================================
System uname: 2.6.3-rc3-gentoo i686 AMD-K7(tm) Processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb canna cdr cjk crypt encode esd foomaticdb gdbm gif gpm gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 35 jan kuipers 2004-02-24 10:48:32 UTC
Same problem, same line in i386/dsputil_mmx.c

USE="3dnow amd apache2 artswrappersuid autofs cscope curl dga doc ethereal \
     faad ffmpeg foreign-sysvinit gd ginac glut gmtfull gmthigh gmtsuppl \
     gmttria imap ipv6 jabber java javascript jikes junit md5sum memlimit \
     mmx moznocompose moznoirc moznomail mpi msn nocstrike nodod \
     nojoystick noqmax notfc nvidia nviz objc offensive openssh oscar \
     parse-clocks passfile pcap pcmcia pda php physfs pic plotutils qhull \
     samba sasl sdk skey slp snmp tiff usb v4l vim-with-x wmf X509 \
     xchatnogtk xinerama xml xosd xvid zeo zvbi -gnome -mikmod -nls \
     -gtkhtml -nas -bonobo -svga -guile -gpm -esd"
CFLAGS="-march=athlon-tbird -O3 -pipe -mmmx -m3dnow -fomit-frame-pointer -ffast-math -funroll-loops -fforce-addr -falign-functions=4 -maccumulate-outgoing-args"


Removing -fforce-addr from CFLAGS fixed the compile for me.
Comment 36 Martin Holzer (RETIRED) gentoo-dev 2004-02-24 11:22:37 UTC
*** Bug 42004 has been marked as a duplicate of this bug. ***
Comment 37 Martin Holzer (RETIRED) gentoo-dev 2004-02-24 11:22:48 UTC
*** Bug 42777 has been marked as a duplicate of this bug. ***
Comment 38 Tuan Van (RETIRED) gentoo-dev 2004-02-25 09:32:40 UTC
Another vote to filter -fforce-addr CFLAGS


Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r2)
CFLAGS="-march=pentium4 -mcpu=pentium4 -O3 -pipe -fomit-frame-pointer -falign-functions=4 -ffast-math -fforce-addr -funroll-loops"
USE="X aalib acpi alsa apache2 apm avi berkdb bonobo cdr cjk composite crypt cups directfb dv dvd dvdr encode esd fbcon foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imlib ipv6 java javascript jpeg kde libg++ libwww mad md5sum mikmod mmx motif mozcalendar mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png prelude python qt quicktime readline samba sdl slang spell sse sse2 ssl svga tcltk tcpd truetype usb x86 xml2 xmms xv xvid zlib"
Comment 39 Matthew 2004-02-26 16:28:36 UTC
Adding the mmx USE flag worked for me.
Comment 40 Fabian 2004-02-27 02:33:30 UTC
transcode also fails when using the -momit-leaf-frame-pointer cflag, it should be filtered too.
Comment 41 Marc Hildebrand (RETIRED) gentoo-dev 2004-02-28 05:30:23 UTC
Ok, the two flags are filtered now.
I also removed the mmx-Use-Flag because if you have a mmx-capable system it will be autodetected properly and won't build if you forcibly disable it.
The effect on non-mmx archs must be tested (comments welcome). As far as I know, it (or lack of) should be autodetected, too.
Cheers,
Marc.