When I try to emerge avidemux 2.0.10 I cant build it. I get the folowing output: [lots of build output removed] source='ADM_interlaced.cpp' object='ADM_interlaced.o' libtool=no \ depfile='.deps/ADM_interlaced.Po' tmpdepfile='.deps/ADM_interlaced.TPo' \ depmode=gcc3 /bin/sh ../../admin/depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -fno-exceptions -fno-check-new -O2 -c -o ADM_interlaced.o `test -f ADM_interlaced.cpp || echo './'`ADM_interlaced.cpp ADM_interlaced.cpp: In function `long unsigned int ADMVideo_interlaceCount(unsigned char*, long unsigned int, long unsigned int)': ADM_interlaced.cpp:112: warning: unused variable `long unsigned int x' ADM_interlaced.cpp:118: warning: unused variable `long unsigned int stride' ADM_interlaced.cpp: At top level: ADM_interlaced.cpp:81: warning: `mmx_t _added' defined but not used ADM_interlaced.cpp:82: warning: `mmx_t _l255' defined but not used ADM_interlaced.cpp:83: warning: `mmx_t _l0' defined but not used {standard input}: Assembler messages: {standard input}:133: Error: symbol `admlloopp' is already defined {standard input}:170: Error: symbol `admlloopp' is already defined make[3]: *** [ADM_interlaced.o] Error 1 Reproducible: Always Steps to Reproduce: 1.emerge avidemux Actual Results: avidemux not installed... Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://gentoo.linux.no/ ftp://gentoo.linux.no/pub/gentoo/ http://mirrors.sunsite.dk/gentoo/ ftp://sunsite.dk/mirrors/gentoo/ http://distro.ibiblio.org/gentoo " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline aalib nas bonobo svga ggi tcltk java guile X sdl gpm tcpd pam ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl -arts dga dvd evo fbcon flash gphoto2 gtk2 imap ldap mozilla samba sse tiff wmf xml kde" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 " CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 " ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache sandbox userpriv usersandbox"
Hi! I'll try to reproduce that when I return from work. In the meantime please try to reduce your CFLAGS a bit (just guessing). Thanks for the report, Marc.
avidemux-2.0.10-r1 is now in portage with lots of ebuild changes. Please test.
Yepp, works fine here. The thing is, I build it (as my whole system) with: CFLAGS="-march=athlon-xp -Os -pipe -mfpmath=sse -mmmx -msse -m3dnow" Maybe we could here a word from some of the excessive-cflags-users?
I still have the same problem (its my CFLAGS That are reported in the bugreport)
Stefan: When I use your CFLAGS I get the same error. It work with: CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=4" Just try to use these flags and post the results here.
It now works, using your CFLAGS CFLAGS="-O3 -march=athlon-xp -pipe -fomit-frame-pointer -falign-functions=4"
fixed
I got this problem again when the package was upgraded (I only temorary changed my CFLAGS) So I did a little investigation of what flag got me the problem My orginal flags lookad like CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -funroll-loops -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 " And -funroll-loops seems to cause me the problem, Since CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 " workd. I will remove this flag from my CFLAGS for all builds, but I don't know if this is something that can/should be blocked in the ebuild for this product to avoid this problem from other setup's.
see bug #26936