emerge output: Checking cpu/system type CPU type : i686 checking for nasm... /usr/bin/nasm nasm found : /usr/bin/nasm MMX is ON checking for Altivec ... no cpu done checking Built in vectors... use_builtin GTK+ version : 2.6.1 Divx5.0.5 ? : yes *** DISABLED *** Xvid 0.9 Codec : no Xvid 1.0 Codec : yes Mad decoder : yes OSS : yes ALSA : yes SDL : yes Xvideo : yes Lame : yes Ogg Vorbis : yes Faad2(decoder) : yes Faac (encoder) : yes A52/AC3 : yes FFMPEG : yes ARTS : yes FreeType : yes XML2 : yes locale : Little endian cpu : yes MMX : yes AMD64 : no Altivec : no PPC : no MacOsX(Darwin) : no nasm : yes ( /usr/bin/nasm ) Cygwin : no Gcc supports vectors: yes configure: creating ./config.status config.status: creating Makefile config.status: creating adm_lavcodec/Makefile config.status: creating adm_lavcodec/i386/Makefile config.status: creating adm_lavcodec/libpostproc/Makefile config.status: creating adm_lavcodec/ppc/Makefile config.status: creating avidemux/Makefile config.status: creating avidemux/ADM_3gp/Makefile config.status: creating avidemux/ADM_audio/Makefile config.status: creating avidemux/ADM_audiocodec/Makefile config.status: creating avidemux/ADM_audiodevice/Makefile config.status: creating avidemux/ADM_audiofilter/Makefile config.status: creating avidemux/ADM_codecs/Makefile config.status: creating avidemux/ADM_colorspace/Makefile config.status: creating avidemux/ADM_dialog/Makefile config.status: creating avidemux/ADM_editor/Makefile config.status: creating avidemux/ADM_encoder/Makefile config.status: creating avidemux/ADM_filter/Makefile config.status: creating avidemux/ADM_gui/Makefile config.status: creating avidemux/ADM_gui2/Makefile config.status: creating avidemux/ADM_h263/Makefile config.status: creating avidemux/ADM_inpics/Makefile config.status: creating avidemux/ADM_lavformat/Makefile config.status: creating avidemux/ADM_library/Makefile config.status: creating avidemux/ADM_lvemux/Makefile config.status: creating avidemux/ADM_mpeg2dec/Makefile config.status: creating avidemux/ADM_mpegindexer/Makefile config.status: creating avidemux/ADM_nuv/Makefile config.status: creating avidemux/ADM_ogm/Makefile config.status: creating avidemux/ADM_openDML/Makefile config.status: creating avidemux/ADM_requant/Makefile config.status: creating avidemux/ADM_script/Makefile config.status: creating avidemux/ADM_toolkit/Makefile config.status: creating avidemux/ADM_video/Makefile config.status: creating avidemux/ADM_vp32/Makefile config.status: creating avidemux/ADM_vp32/include/Makefile config.status: creating avidemux/ADM_xvidratectl/Makefile config.status: creating avidemux/libMpeg2Dec/Makefile config.status: creating avidemux/libtoolame/Makefile config.status: creating avidemux/mpeg2enc/Makefile config.status: creating avidemux/oplug_avi/Makefile config.status: creating avidemux/oplug_mpeg/Makefile config.status: creating avidemux/oplug_mpegFF/Makefile config.status: creating avidemux/oplug_ogm/Makefile config.status: creating avidemux/xpm/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands make all-recursive make[1]: Entering directory `/var/tmp/portage/avidemux-2.0.36/work/avidemux-2.0.36' Making all in po make[2]: Entering directory `/var/tmp/portage/avidemux-2.0.36/work/avidemux-2.0.36/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.36/work/avidemux-2.0.36/po' Making all in m4 make[2]: Entering directory `/var/tmp/portage/avidemux-2.0.36/work/avidemux-2.0.36/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.36/work/avidemux-2.0.36/m4' Making all in adm_lavcodec make[2]: Entering directory `/var/tmp/portage/avidemux-2.0.36/work/avidemux-2.0.36/adm_lavcodec' Making all in libpostproc make[3]: Entering directory `/var/tmp/portage/avidemux-2.0.36/work/avidemux-2.0.36/adm_lavcodec/libpostproc' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -DHAVE_AV_CONFIG_H -I/usr/include/malloc -I/usr/include/libxml2 -I/usr/include/SDL -D_REENTRANT -O3 -pipe -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -fstack-protector -O2 -falign-loops=16 -MT postprocess.o -MD -MP -MF ".deps/postprocess.Tpo" -c -o postprocess.o postprocess.c; \ then mv -f ".deps/postprocess.Tpo" ".deps/postprocess.Po"; else rm -f ".deps/postprocess.Tpo"; exit 1; fi In file included from postprocess.c:629: postprocess_template.c:3374:1: warning: "REAL_SCALED_CPY" redefined In file included from postprocess.c:619: postprocess_template.c:3397:1: warning: this is the location of the previous definition In file included from postprocess.c:639: postprocess_template.c:53:1: warning: "REAL_PAVGB" redefined In file included from postprocess.c:629: postprocess_template.c:51:1: warning: this is the location of the previous definition In file included from postprocess.c:639: postprocess_template.c:1378:1: warning: "REAL_FIND_MIN_MAX" redefined In file included from postprocess.c:629: postprocess_template.c:1373:1: warning: this is the location of the previous definition In file included from postprocess.c:639: postprocess_template.c:3397:1: warning: "REAL_SCALED_CPY" redefined In file included from postprocess.c:629: postprocess_template.c:3374:1: warning: this is the location of the previous definition postprocess_template.c: In function `postProcess_MMX': postprocess_template.c:3070: warning: use of memory input without lvalue in asmoperand 4 is deprecated postprocess_template.c:3070: warning: use of memory input without lvalue in asmoperand 4 is deprecated postprocess_template.c:3367: error: can't find a register in class `GENERAL_REGS' while reloading `asm' postprocess_template.c:3452: error: can't find a register in class `GENERAL_REGS' while reloading `asm' postprocess_template.c:3367: error: can't find a register in class `GENERAL_REGS' while reloading `asm' postprocess_template.c:3452: error: can't find a register in class `GENERAL_REGS' while reloading `asm' postprocess_template.c: In function `postProcess_MMX2': postprocess_template.c:3650: warning: use of memory input without lvalue in asmoperand 4 is deprecated postprocess_template.c:3650: warning: use of memory input without lvalue in asmoperand 5 is deprecated postprocess_template.c:3796: warning: use of memory input without lvalue in asmoperand 4 is deprecated postprocess_template.c:3796: warning: use of memory input without lvalue in asmoperand 5 is deprecated make[3]: *** [postprocess.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.36/work/avidemux-2.0.36/adm_lavcodec/libpostproc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.36/work/avidemux-2.0.36/adm_lavcodec' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.36/work/avidemux-2.0.36' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. emerge -u avidemux Portage 2.0.51-r15 (default-linux/x86/2004.0, gcc-3.4.3, glibc-2.3.4.20041102- r0, 2.4.28-grsec-2.1.0 i686) ================================================================= System uname: 2.4.28-grsec-2.1.0 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.6.9 Python: dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Jun 5 2004, 19:04:08)] dev-lang/python: 2.2.3-r5, 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22, 2.4.19-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -fstack- protector" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/ 3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/ shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/ defaults/pref /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 /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow -fstack- protector" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages loadpolicy sandboxsfperms usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aac aalib aavm acpi acpi4linux alsa apache2 apm arts artswrappersuid audiofile avi bash-completion bdf bitmap-fonts bluetooth bonobo bzlib caps cddb cdf cdparanoia cdr chroot cjk codecs cpdflib crypt cscope cups curl curlwrappers dbase dbm dbx dga dio divx4linux doc dv dvb dvd dvdr dvdread encode erandom esd exif f2c f77 faac faad fam ffmpeg fftw flac font-server foomaticdb fortran gcj gd gif gimp gimpprint glut gnokii gnome gphoto2 gpm gps graphviz gs gtk gtk2 gtkhtml guile hardened hardenedphp hbci ieee1394 image imagekits imagemagick imap imlib imlib2 innodb ipv6 irda java javacomm javascript jikes jp2 jpeg kde lcms ldap libg++ libwww live lzo lzw lzw-tiff mad mailbox maildir mailwrapper makecheck mbox mcal md5sum memlimit mhash mikmod mime mmx mmx2 mng moneyplex monkey motif mozcalendar mozilla mp3 mpeg mpeg4 mpi mplayer msdav mule mysql mythtv native ncurses netcdf nis nls nvidia oav odbc offensive oggvorbis ooo-kdeopenal opengl oss pam pam-mysql pcre pda pdflib perl php physfs pic pie plotutils png pnp portaudio posix ppds python qt quicktime quotas readline rtc ruby samba sasl scanner sdl slang smime snmp sockets speedo speex spell spl sqlite sse ssl stencil-buffer svga tcltk tcpd tetex theora tidy tiff tokenizer transcode truetype truetype-fonts trusted type1 type1-fonts usb uudeview v4l videos wmf xemacs xfs xine xml xml2 xmms xosd xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Hi! Please try again with reduced CFLAGS. Thanks, Marc.
I've now tried all sorts of CFLAGS (and CXXFLAGS respectively) combinations, even not setting any flags at all, but to no avail. :( Any other ideas how I might tackle the problem?
Hmmm... I was not able to reproduce that bug. Fortunately ;) there's a new version: 2.0.38_rc1. Please try it out, maybe it will compile without errors. If not, we'll send this bug upstream. Please report here if it compiled or not. The new ebuild should hit your mirror in about half an hour. Thanks and cheers, Marc.
Thanks for your response Marc! I've tried to compile the 2.0.38_rc1 version. The results are similar to the lines posted above (see attachment). : ( It is interesting to note, that on a different Gentoo box I did not encounter any compiling problems at all. I'm still trying to figure out what the decisive difference between both boxes is (except one having an Athlon and the other one having an Intel PIV processor).
Created attachment 51773 [details] compile log avidemux-2.0.38_rc1
Created attachment 51774 [details] this time the complete log Darn, the last attachment did not contain the crucial stderr lines.
Tried downgrading from -march=athlon-xp to -march=athlon ? There was a warning about -march=athlon-xp generation invalid sse instructions some time ago.
Sure. I did it with the older version 2.0.36 as stated in comment #2 and just now confirmed it not working with version 2.0.38_rc1. Just to make sure: How can I make sure the compiler cache is definitely cleared and _not_ in use when re-emerging? Just removing ccache from the FEATURES section in make.conf does not seem to be the whole story. So I did a 'ccache -C', reemerged avidemux -- only to still fall flat over the exact same messages listed above...
BREG sounds like PIC related stuff. Considering you have a grsec kernel I wonder. Do you have hardened gcc as well? I ask because mmx and PIC do not work well together at all.
juliette reimann # gcc -v Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/specs > Considering you have a grsec kernel I wonder. Yes, that's right. > Do you have hardened gcc as well? I suppose. Here's the output of 'gcc -v': Configured with: /var/tmp/portage/gcc-3.4.3.20050110/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/include/g++-v3--host=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --disable-multilib --enable-java-awt=gtk --enable-languages=c,c++,f77,java Thread model: posix gcc version 3.4.3 20050110 (Gentoo Hardened Linux 3.4.3.20050110, ssp-3.4.3.20050110-0, pie-8.7.7) > I ask because mmx and PIC do not work well together at all. If there's any way I can help squashing this bug let me know. Should I report this issue upstream? Shall we change the assignment to the 'hardened' folks?
Ha! It seems I found the source of my troubles. (at least as far as this bug report is concerned :) Using gcc-config I switched back from i686-pc-linux-gnu-3.4.3 to i686-pc-linux-gnu-3.3.4 and avidemux compiled/emerged without any hickups! Here's my current compiler configuration: > gcc-config -l [1] i686-pc-linux-gnu-3.3.4 * [2] i686-pc-linux-gnu-3.4.3 [3] i686-pc-linux-gnu-3.4.3-hardened [4] i686-pc-linux-gnu-3.4.3-hardenednopie [5] i686-pc-linux-gnu-3.4.3-hardenednossp [6] i686-pc-linux-gnu-3.4.3-vanilla
Sure you didn't run the hardened one before? Just for fun, try: gcc-config 2 source /etc/profile emerge avidemux Cheers, Marc.
It doesn't really matter, have a look: ----------------------------------------------------- juliette linux # gcc-config -l [1] i686-pc-linux-gnu-3.3.4 [2] i686-pc-linux-gnu-3.4.3 * [3] i686-pc-linux-gnu-3.4.3-hardened [4] i686-pc-linux-gnu-3.4.3-hardenednopie [5] i686-pc-linux-gnu-3.4.3-hardenednossp [6] i686-pc-linux-gnu-3.4.3-vanilla ... !!! ERROR: media-video/avidemux-2.0.38_rc1 failed. !!! Function src_compile, Line 76, Exitcode 2 ----------------------------------------------------- juliette linux # gcc-config -l [1] i686-pc-linux-gnu-3.3.4 [2] i686-pc-linux-gnu-3.4.3 [3] i686-pc-linux-gnu-3.4.3-hardened * [4] i686-pc-linux-gnu-3.4.3-hardenednopie [5] i686-pc-linux-gnu-3.4.3-hardenednossp [6] i686-pc-linux-gnu-3.4.3-vanilla ... !!! ERROR: media-video/avidemux-2.0.38_rc1 failed. !!! Function src_compile, Line 76, Exitcode 2
Can you try with rc2-r1 ?
I dunno, maybe I'm out of luck with avidemux or something. At least I'm now getting a different error message for a change ;) The automatic configure run also returns a different setup (no mmx, no nasm -- though I don't know why, these flags do show up in 'emerge info' but seem to be ignored) ----------------------------- gcc-config -l [1] i686-pc-linux-gnu-3.3.5 * ----------------------------- GTK+ version : 2.6.4 Divx5.0.5 ? : yes *** DISABLED *** Xvid 0.9 Codec : no Xvid 1.0 Codec : yes x264 encoder c : no Mad decoder : yes OSS : yes ALSA : yes SDL : yes Xvideo : yes Lame : yes Ogg Vorbis : yes Faad2(decoder) : yes Faac (encoder) : yes a52dec/AC3 : yes FFMPEG : yes aRTs : yes FreeType : yes locale : Little endian cpu : yes MMX : no AMD64 : no Altivec : no PPC : no MacOsX(Darwin) : no nasm : no ( as ) Cygwin : no Gcc supports vectors: yes ----------------------------- make[3]: Entering directory `/var/tmp/portage/avidemux-2.0.38_rc2-r1/work/avidemux-2.0.38rc2b/adm_lavcodec' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DHAVE_AV_CONFIG_H -O3 -Iamr_float -I/usr/include/malloc -O2 -pipe -march=athlon-xp -msse -mmmx -m3dnow -fstack-protector -O2 -falign-loops=16 -c msmpeg4.c msmpeg4.c: In function `msmpeg4_pred_dc': msmpeg4.c:720: error: can't find a register in class `BREG' while reloading `asm' make[3]: *** [msmpeg4.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.38_rc2-r1/work/avidemux-2.0.38rc2b/adm_lavcodec' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.38_rc2-r1/work/avidemux-2.0.38rc2b/adm_lavcodec' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.38_rc2-r1/work/avidemux-2.0.38rc2b' make: *** [all] Error 2
Problem with rc2-r1 should be fixed. Please retry this and tell if the problem persists, else, resolve the bug as fixed.
Another day, another bug message. This time mmx / nasm are both recognized correctly, the compile, however, fails again in directory: adm_lavcodec/libpostproc Thank you for your patience anyway, I'm glad you haven't given up on me just yet. : ) --------------------------------------------------------------------- Checking cpu/system type CPU type : i686 checking for nasm... /usr/bin/nasm nasm found : /usr/bin/nasm MMX is ON checking for Altivec ... no cpu done checking Built in vectors... use_builtin GTK+ version : 2.6.4 Divx5.0.5 ? : yes *** DISABLED *** Xvid 0.9 Codec : no Xvid 1.0 Codec : yes x264 encoder c : no Mad decoder : yes OSS : yes ALSA : yes SDL : yes Xvideo : yes Lame : yes Ogg Vorbis : yes Faad2(decoder) : yes Faac (encoder) : yes a52dec/AC3 : yes FFMPEG : yes aRTs : yes FreeType : yes locale : Little endian cpu : yes MMX : yes AMD64 : no Altivec : no PPC : no MacOsX(Darwin) : no nasm : yes ( /usr/bin/nasm ) Cygwin : no Gcc supports vectors: yes --------------------------------------------------------------------- Making all in adm_lavcodec make[2]: Entering directory `/var/tmp/portage/avidemux-2.0.38_rc2-r1/work/avidemux-2.0.38rc2b/adm_lavcodec' Making all in libpostproc make[3]: Entering directory `/var/tmp/portage/avidemux-2.0.38_rc2-r1/work/avidemux-2.0.38rc2b/adm_lavcodec/libpostproc' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -DHAVE_AV_CONFIG_H -I/usr/include/malloc -O2 -pipe -march=athlon-xp -msse -mmmx -m3dnow -fstack-protector -O2 -falign-loops=16 -c postprocess.c postprocess.c:110:1: warning: "memalign" redefined postprocess.c:100:1: warning: this is the location of the previous definition In file included from postprocess.c:640: postprocess_template.c:3374:1: warning: "REAL_SCALED_CPY" redefined In file included from postprocess.c:630: postprocess_template.c:3397:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c:53:1: warning: "REAL_PAVGB" redefined In file included from postprocess.c:640: postprocess_template.c:51:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c:1378:1: warning: "REAL_FIND_MIN_MAX" redefined In file included from postprocess.c:640: postprocess_template.c:1373:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c:3397:1: warning: "REAL_SCALED_CPY" redefined In file included from postprocess.c:640: postprocess_template.c:3374:1: warning: this is the location of the previous definition In file included from postprocess.c:630: postprocess_template.c: In function `postProcess_MMX': postprocess_template.c:3070: warning: use of memory input without lvalue in asm operand 4 is deprecated postprocess_template.c:3070: warning: use of memory input without lvalue in asm operand 4 is deprecated postprocess_template.c:3367: error: can't find a register in class `GENERAL_REGS' while reloading `asm' postprocess_template.c:3452: error: can't find a register in class `GENERAL_REGS' while reloading `asm' postprocess_template.c:3367: error: can't find a register in class `GENERAL_REGS' while reloading `asm' postprocess_template.c:3452: error: can't find a register in class `GENERAL_REGS' while reloading `asm' In file included from postprocess.c:640: postprocess_template.c: In function `postProcess_MMX2': postprocess_template.c:3650: warning: use of memory input without lvalue in asm operand 4 is deprecated postprocess_template.c:3650: warning: use of memory input without lvalue in asm operand 5 is deprecated postprocess_template.c:3796: warning: use of memory input without lvalue in asm operand 4 is deprecated postprocess_template.c:3796: warning: use of memory input without lvalue in asm operand 5 is deprecated postprocess_template.c: In function `do_a_deblock_MMX': postprocess_template.c:3070: warning: use of memory input without lvalue in asm operand 4 is deprecated postprocess_template.c: In function `do_a_deblock_MMX2': postprocess_template.c:3070: warning: use of memory input without lvalue in asm operand 4 is deprecated postprocess_template.c: In function `do_a_deblock_3DNow': postprocess_template.c:3070: warning: use of memory input without lvalue in asm operand 4 is deprecated make[3]: *** [postprocess.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.38_rc2-r1/work/avidemux-2.0.38rc2b/adm_lavcodec/libpostproc' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.38_rc2-r1/work/avidemux-2.0.38rc2b/adm_lavcodec'
Downsizing the CFLAGS to just "-O2 -pipe" brings up the original error again: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DHAVE_AV_CONFIG_H -O3 -Iamr_float -I/usr/include/malloc -O2 -pipe -O2 -falign-loops=16 -c msmpeg4.c msmpeg4.c: In function `msmpeg4_pred_dc': msmpeg4.c:720: error: can't find a register in class `BREG' while reloading `asm' Whenever I try to merge the ebuild I'm getting tons of m4 warnings. Is this normal or maybe crucial to solve the build problem? The warnings look like (just showing the first few of a gazillion lines): *** Creating aclocal.m4 /usr/share/aclocal/wxwin.m4:36: warning: underquoted definition of AM_OPTIONS_WXCONFIG run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /usr/share/aclocal/wxwin.m4:59: warning: underquoted definition of AM_PATH_WXCONFIG /usr/share/aclocal/smpeg.m4:13: warning: underquoted definition of AM_PATH_SMPEG /usr/share/aclocal/sigc++.m4:8: warning: underquoted definition of AM_PATH_SIGC /usr/share/aclocal/pth.m4:43: warning: underquoted definition of _AC_PTH_ERROR /usr/share/aclocal/pth.m4:54: warning: underquoted definition of _AC_PTH_VERBOSE /usr/share/aclocal/pth.m4:60: warning: underquoted definition of AC_CHECK_PTH /usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES /usr/share/aclocal/pilot-link.m4:1: warning: underquoted definition of AC_PILOT_LINK_HOOK /usr/share/aclocal/oaf.m4:4: warning: underquoted definition of AM_PATH_OAF /usr/share/aclocal/movtar.m4:14: warning: underquoted definition of MOVTAR_TEST_VERSION
Try adding -fomit-frame-pointer to your cflags.
Here's what I get now: make[3]: Entering directory `/var/tmp/portage/avidemux-2.0.38/work/avidemux-2.0.38/ adm_lavcodec' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DHAVE_AV_CONFIG_H -O3 - Iamr_float -I/usr/include/malloc -O2 -pipe -fomit-frame-pointer -O2 -falign- loops=16 -c -o cputest.o `test -f 'i386/cputest.c' || echo './'`i386/cputest.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DHAVE_AV_CONFIG_H -O3 - Iamr_float -I/usr/include/malloc -O2 -pipe -fomit-frame-pointer -O2 -falign- loops=16 -c -o mpegvideo_mmx.o `test -f 'i386/mpegvideo_mmx.c' || echo './'`i386/ mpegvideo_mmx.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DHAVE_AV_CONFIG_H -O3 - Iamr_float -I/usr/include/malloc -O2 -pipe -fomit-frame-pointer -O2 -falign- loops=16 -c -o vp3dsp_mmx.o `test -f 'i386/vp3dsp_mmx.c' || echo './'`i386/ vp3dsp_mmx.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DHAVE_AV_CONFIG_H -O3 - Iamr_float -I/usr/include/malloc -O2 -pipe -fomit-frame-pointer -O2 -falign- loops=16 -c -o dsputil_mmx.o `test -f 'i386/dsputil_mmx.c' || echo './'`i386/ dsputil_mmx.c In file included from i386/dsputil_mmx.c:137: i386/dsputil_mmx_rnd.h: In function `put_no_rnd_pixels8_l2_mmx': i386/dsputil_mmx_rnd.h:61: error: can't find a register in class `BREG' while reloading `asm' i386/dsputil_mmx.c: In function `dsputil_init_mmx': i386/dsputil_mmx.c:3076: warning: assignment from incompatible pointer type i386/dsputil_mmx.c:3077: warning: assignment from incompatible pointer type make[3]: *** [dsputil_mmx.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.38/work/avidemux-2.0.38/ adm_lavcodec' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.38/work/avidemux-2.0.38/ adm_lavcodec' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.38/work/avidemux-2.0.38' This also happens when I remove the 'mmx' and 'mmx2' use flags from the /etc/make.conf file.
Waitaminute, this bug really seems to be a compiler issue. I got a bit further emerging avidemux using the vanilla gcc-3.4.3: > gcc-config -l [1] i686-pc-linux-gnu-3.3.5-20050130 [2] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie [3] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp [4] i686-pc-linux-gnu-3.3.5-20050130-vanilla [5] i686-pc-linux-gnu-3.4.3 [6] i686-pc-linux-gnu-3.4.3-hardened [7] i686-pc-linux-gnu-3.4.3-hardenednopie [8] i686-pc-linux-gnu-3.4.3-hardenednossp [9] i686-pc-linux-gnu-3.4.3-vanilla * The lines that failed beforehand now read: ... make[3]: Entering directory `/var/tmp/portage/avidemux-2.0.38/work/avidemux-2.0.38/ adm_lavcodec/libpostproc' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -DHAVE_AV_CONFIG_H -I/usr/include/malloc -O2 -pipe -fomit-frame-pointer -O2 -falign-loops=16 -c postprocess.c postprocess.c:110:1: warning: "memalign" redefined postprocess.c:100:1: warning: this is the location of the previous definition In file included from postprocess.c:640: postprocess_template.c:3375:1: warning: "REAL_SCALED_CPY" redefined In file included from postprocess.c:630: postprocess_template.c:3398:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c:53:1: warning: "REAL_PAVGB" redefined In file included from postprocess.c:640: postprocess_template.c:51:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c:1378:1: warning: "REAL_FIND_MIN_MAX" redefined In file included from postprocess.c:640: postprocess_template.c:1373:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c:3398:1: warning: "REAL_SCALED_CPY" redefined In file included from postprocess.c:640: postprocess_template.c:3375:1: warning: this is the location of the previous definition postprocess_template.c: In function `postProcess_MMX2': postprocess_template.c:3656: warning: use of memory input without lvalue in asm operand 4 is deprecated postprocess_template.c:3656: warning: use of memory input without lvalue in asm operand 5 is deprecated postprocess_template.c:3802: warning: use of memory input without lvalue in asm operand 4 is deprecated postprocess_template.c:3802: warning: use of memory input without lvalue in asm operand 5 is deprecated rm -f libpostproc.a ar cru libpostproc.a postprocess.o i686-pc-linux-gnu-ranlib libpostproc.a make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.38/work/avidemux-2.0.38/ adm_lavcodec/libpostproc' Making all in i386 make[3]: Entering directory `/var/tmp/portage/avidemux-2.0.38/work/avidemux-2.0.38/ adm_lavcodec/i386' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.38/work/avidemux-2.0.38/ adm_lavcodec/i386' Making all in ppc make[3]: Entering directory `/var/tmp/portage/avidemux-2.0.38/work/avidemux-2.0.38/ adm_lavcodec/ppc' make[3]: Nothing to be done for `all'. ... Sadly, the emerge process is now stuck in another component: Making all in ADM_audiocodec make[3]: Entering directory `/var/tmp/portage/avidemux-2.0.38/work/avidemux-2.0.38/ avidemux/ADM_audiocodec' i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - falign-loops=16 -c -o ADM_codecwma.o ADM_codecwma.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - falign-loops=16 -c -o ADM_ffwma.o ADM_ffwma.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - falign-loops=16 -c -o mad.o mad.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - falign-loops=16 -c -o audiocodec_ogg.o audiocodec_ogg.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - falign-loops=16 -c -o ADM_codecwav.o ADM_codecwav.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - falign-loops=16 -c -o ADM_codecmp3.o ADM_codecmp3.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - falign-loops=16 -c -o ADM_codecac3.o ADM_codecac3.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - falign-loops=16 -c -o ADM_audiocodec.o ADM_audiocodec.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - falign-loops=16 -c -o ADM_AC3.o ADM_AC3.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - falign-loops=16 -c -o ADM_lpcm.o ADM_lpcm.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - falign-loops=16 -c -o ADM_8bits.o ADM_8bits.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - falign-loops=16 -c -o ADM_codecfaad.o ADM_codecfaad.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/malloc -I.. -IADM_library -I../ADM_library -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 - falign-loops=16 -c -o ADM_codeculaw.o ADM_codeculaw.cpp ADM_codecfaad.cpp: In constructor `ADM_faad::ADM_faad(uint32_t, WAVHeader*, uint32_t, uint8_t*)': ADM_codecfaad.cpp:52: error: invalid conversion from `long unsigned int*' to `uint32_t*' ADM_codecfaad.cpp:52: error: initializing argument 4 of `int8_t faacDecInit2(void*, uint8_t*, uint32_t, uint32_t*, uint8_t*)' ADM_codecfaad.cpp: In member function `virtual uint8_t ADM_faad::run(uint8_t*, uint32_t, uint8_t*, uint32_t*)': ADM_codecfaad.cpp:103: error: invalid conversion from `long unsigned int*' to `uint32_t*' ADM_codecfaad.cpp:103: error: initializing argument 4 of `long int faacDecInit(void*, uint8_t*, uint32_t, uint32_t*, uint8_t*)' make[3]: *** [ADM_codecfaad.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.38/work/avidemux-2.0.38/ avidemux/ADM_audiocodec' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.38/work/avidemux-2.0.38/ avidemux' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.38/work/avidemux-2.0.38' make: *** [all] Error 2
Hmm the faad problem should be fixed with latest versions of avidemux and faad2, it's a bit of a problem with the interface on 64-bit systems, but should be fixed. Please try latest version (2.0.38-r1) and see if it still fails. If it still fails with BREG-related problems, please try adding -fomit-frame-pointer to your CFLAGS and see if that helps.
I had the same problem and modified /var/tmp/portage/avidemux-2.0.38-r1/work/avidemux-2.0.38/avidemux/ADM_audiocodec/ADM_codecfaad.cpp (while compiling) with this patch: 36c36,37 < unsigned long int srate; --- > //unsigned long int srate; > uint32_t srate; 92c93,94 < unsigned long int srate=0; --- > //unsigned long int srate=0; > uint32_t srate=0; ... it compiles and avidemux is running.
I can confirm Lars Gregori's comment (Comment #23). So, to summarize, it seems crucial to (a) take a recent compiler ( >= gcc-3.4), and (b) fix ADM_codecfaad.cpp to get avidemux running on x86-32 . Thank you guys!
*** Bug 94316 has been marked as a duplicate of this bug. ***
Is this still an issue with latest versions? please report. Try adding -fomit-frame-pointer to cflags and see if that helps.
I tried with -fomit-frame-pointer but it still doesn't work. Now I get this error: mobile ~ # emerge avidemux -av These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] media-video/avidemux-2.0.40-r1 +a52 +aac +alsa (-altivec) -arts -debug +encode +mad +nls -oss +sdl +truetype +vorbis +xv +xvid 0 kB [...] make all-recursive make[1]: Entering directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40' Making all in po make[2]: Entering directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/po' Making all in m4 make[2]: Entering directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/m4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/m4' Making all in adm_lavcodec make[2]: Entering directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/adm_lavcodec' Making all in libpostproc make[3]: Entering directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/adm_lavcodec/libpostproc' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -DHAVE_AV_CONFIG_H -I/usr/include/malloc -O3 -mtune=pentium-m -march=pentium-m -pipe -fomit-frame-pointer -O2 -falign-loops=16 -c postprocess.c postprocess.c:110:1: warning: "memalign" redefined postprocess.c:100:1: warning: this is the location of the previous definition In file included from postprocess.c:640: postprocess_template.c:3375:1: warning: "REAL_SCALED_CPY" redefined In file included from postprocess.c:630: postprocess_template.c:3398:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c:53:1: warning: "REAL_PAVGB" redefined In file included from postprocess.c:640: postprocess_template.c:51:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c:1378:1: warning: "REAL_FIND_MIN_MAX" redefined In file included from postprocess.c:640: postprocess_template.c:1373:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c:3398:1: warning: "REAL_SCALED_CPY" redefined In file included from postprocess.c:640: postprocess_template.c:3375:1: warning: this is the location of the previous definition postprocess_template.c: In function `postProcess_MMX2': postprocess_template.c:3656: warning: use of memory input without lvalue in asm operand 4 is deprecated postprocess_template.c:3656: warning: use of memory input without lvalue in asm operand 5 is deprecated postprocess_template.c:3802: warning: use of memory input without lvalue in asm operand 4 is deprecated postprocess_template.c:3802: warning: use of memory input without lvalue in asm operand 5 is deprecated rm -f libpostproc.a ar cru libpostproc.a postprocess.o i686-pc-linux-gnu-ranlib libpostproc.a make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/adm_lavcodec/libpostproc' Making all in i386 make[3]: Entering directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/adm_lavcodec/i386' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/adm_lavcodec/i386' Making all in ppc make[3]: Entering directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/adm_lavcodec/ppc' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/adm_lavcodec/ppc' make[3]: Entering directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/adm_lavcodec' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DHAVE_AV_CONFIG_H -O3 -Iamr_float -I/usr/include/malloc -O3 -mtune=pentium-m -march=pentium-m -pipe -fomit-frame-pointer -O2 -falign-loops=16 -c -o cputest.o `test -f 'i 386/cputest.c' || echo './'`i386/cputest.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DHAVE_AV_CONFIG_H -O3 -Iamr_float -I/usr/include/malloc -O3 -mtune=pentium-m -march=pentium-m -pipe -fomit-frame-pointer -O2 -falign-loops=16 -c -o mpegvideo_mmx.o `test -f 'i386/mpegvideo_mmx.c' || echo './'`i386/mpegvideo_mmx.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DHAVE_AV_CONFIG_H -O3 -Iamr_float -I/usr/include/malloc -O3 -mtune=pentium-m -march=pentium-m -pipe -fomit-frame-pointer -O2 -falign-loops=16 -c -o vp3dsp_mmx.o `test -f 'i386/vp3dsp_mmx.c' || echo './'`i386/vp3dsp_mmx.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DHAVE_AV_CONFIG_H -O3 -Iamr_float -I/usr/include/malloc -O3 -mtune=pentium-m -march=pentium-m -pipe -fomit-frame-pointer -O2 -falign-loops=16 -c -o dsputil_mmx.o `test - f 'i386/dsputil_mmx.c' || echo './'`i386/dsputil_mmx.c i386/dsputil_mmx.c: In function `dsputil_init_mmx': i386/dsputil_mmx.c:3076: warning: assignment from incompatible pointer type i386/dsputil_mmx.c:3077: warning: assignment from incompatible pointer type i386/dsputil_mmx_avg.h: In function `put_pixels4_l2_3dnow': i386/dsputil_mmx_avg.h:58: error: can't find a register in class `BREG' while reloading `asm' make[3]: *** [dsputil_mmx.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/adm_lavcodec' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40/adm_lavcodec' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.40-r1/work/avidemux-2.0.40' make: *** [all] Error 2 !!! ERROR: media-video/avidemux-2.0.40-r1 failed. !!! Function src_compile, Line 85, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. mobile ~ # emerge --info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11.6-sw2.1.8.2 i686) ================================================================= System uname: 2.6.11.6-sw2.1.8.2 i686 Intel(R) Pentium(R) M processor 1400MHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16-r1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -mtune=pentium-m -march=pentium-m -funroll-loops -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -mtune=pentium-m -march=pentium-m -funroll-loops -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo http://distfiles.gentoo.org/distfiles/" LANG="en_US.utf8" LC_ALL="en_US.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d a52 aac aalib accessibility acl acpi alsa apache2 atlas audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bluetooth bmp bonobo bzlib calendar caps cdparanoia cdr cjk cpdflib cracklib crypt cscope ctype cups curl curlwrappers dbase dbx dedicated dga dio directfb divx4linux doc dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode ethereal evo examples exif expat fam fastcgi fbcon ffmpeg fftw flac flash foomaticdb fortran freewnn ftp gb gcj gd gdbm geoip ggi gif ginac glut gmp gnome gnutls gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hardened howl iconv ieee1394 imagemagick imap imlib innodb ipv6 jabber java jikes joystick jpeg jpeg2k kerberos krb4 ladcca lcms ldap leim lesstif libcaca libedit libgda libwww lm_sensors m17n-lib mad maildir matroska mbox mcal memlimit mhash mikmod mime mmap mmx mmx2 mmxext mng motif mozilla mp3 mpeg mpi mule mysql ncurses neXt netcdf nhc98 nis nls nntp nptl odbc ofx ogg oggvorbis openal opengl pam pcmcia pcntl pcre pdflib perl php pic pie plotutils png pnp portaudio posix ppds python qt quicktime readline ruby samba sasl scanner sdl session sharedext sharedmem shorten simplexml skey slang slp smartcard smtp sndfile snmp soap sockets socks5 source sox speex spell spl sse sse2 ssl svg svga sysfs sysvipc szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb utf8 v4l v4l2 vanilla vcd videos vidix vorbis wddx wifi win32codecs wmf wxwindows xface xfs xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid xvmc yaz zeo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Can you test with the patch in bug #96395 ?
*** Bug 100845 has been marked as a duplicate of this bug. ***
It should be fixed.
I'm getting the same nasty bug. I've got the logs here... http://pastebin.com/482808 -- emerge output http://pastebin.com/482823 -- emerge info The same error, occurred with all three versions of avidemux using hardened GCC. Switching to the "vanilla" GCC, fixed the problem. So something in the hardened GCC patches is breaking avidemux.
FWIW, i'm pretty sure this is a hardened problem. does 2.1_pre1 improve things at all?
Well, since posting this bug (almost to years ago, so: Happy Birthday! :) ) I upgraded to gcc 4.x. With gcc 4.x avidemux fails to compile out of the box due to "extra qualification" errors: ADM_edit.cpp:1209:2: warning: #warning FIXME, does not work if audio track is shorter ../ADM_inpics/ADM_pics.h:47: error: extra qualification 'picHeader::' on member 'read32' ../ADM_inpics/ADM_pics.h:48: error: extra qualification 'picHeader::' on member 'read16' ../ADM_inpics/ADM_pics.h:49: error: extra qualification 'picHeader::' on member 'read8' ../ADM_mpegdemuxer/dmx_io.h:67: error: extra qualification 'fileParser::' on member 'read32i' ../ADM_mpegdemuxer/dmx_io.h:87: error: extra qualification 'fileParser::' on member 'read16i' ../ADM_mpegdemuxer/dmx_io.h:107: error: extra qualification 'fileParser::' on member 'read8i' ../ADM_mpegdemuxer/dmx_demuxerPS.h:98: error: extra qualification 'dmx_demuxerPS::' on member 'read16i' ../ADM_mpegdemuxer/dmx_demuxerPS.h:115: error: extra qualification 'dmx_demuxerPS::' on member 'read32i' ../ADM_mpegdemuxer/dmx_demuxerTS.h:111: error: extra qualification 'dmx_demuxerTS::' on member 'read16i' ../ADM_mpegdemuxer/dmx_demuxerTS.h:128: error: extra qualification 'dmx_demuxerTS::' on member 'read32i' ... ... Once I removed all those extra qualifiers, I could merge this package just fine. I kept the working directory, so I could generate some sort of patch file -- if only I'd know how. Any suggestions welcome... :)
removed from tree, file a new bug if an issue with 2.3.0