Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260348 - media-video/avidemux-2.4.4 [hardened] - avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/dsputil_mmx.c:645: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
Summary: media-video/avidemux-2.4.4 [hardened] - avidemux_2.4.4/avidemux/ADM_libraries...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tom Wijsman (TomWij) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-26 08:36 UTC by Juergen Rose
Modified: 2014-04-25 12:06 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2009-02-26 08:36:56 UTC
'emerge avidemux' fails with:
...
[ 62%] Building C object avidemux/ADM_libraries/ADM_lavcodec/CMakeFiles/ADM_lavcodec.dir/i386/simple_idct_mmx.o
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2':
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/dsputil_mmx.c:645: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/dsputil_mmx.c:645: error: 'asm' operand has impossible constraints
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/dsputil_mmx.c:645: error: 'asm' operand has impossible constraints
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/dsputil_mmx.c:645: error: 'asm' operand has impossible constraints
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/dsputil_mmx.c:645: error: 'asm' operand has impossible constraints
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/h264dsp_mmx.c:387: error: 'asm' operand has impossible constraints
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/dsputil_mmx.c:645: error: 'asm' operand has impossible constraints
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/dsputil_mmx.c:645: error: 'asm' operand has impossible constraints
[ 62%] Building C object avidemux/ADM_libraries/ADM_lavcodec/CMakeFiles/ADM_lavcodec.dir/i386/fft_sse.o
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/fft_sse.c: Assembler messages:
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/fft_sse.c:172: Warning: missing operand; zero assumed
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/fft_sse.c:173: Warning: missing operand; zero assumed
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/fft_sse.c:176: Warning: missing operand; zero assumed
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/fft_sse.c:177: Warning: missing operand; zero assumed
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/fft_sse.c:224: Warning: missing operand; zero assumed
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/fft_sse.c:226: Warning: missing operand; zero assumed
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/fft_sse.c:230: Warning: missing operand; zero assumed
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_lavcodec/i386/fft_sse.c:250: Warning: missing operand; zero assumed
[ 62%] Building C object avidemux/ADM_libraries/ADM_lavcodec/CMakeFiles/ADM_lavcodec.dir/i386/vp3dsp_sse2.o
make[2]: *** [avidemux/ADM_libraries/ADM_lavcodec/CMakeFiles/ADM_lavcodec.dir/i386/dsputil_mmx.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [avidemux/ADM_libraries/ADM_lavcodec/CMakeFiles/ADM_lavcodec.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Scanning dependencies of target ADM_libMpeg2Dec
[ 62%] [ 62%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/cpu_state.o
Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/alloc.o
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_libMpeg2Dec/alloc.c: In function 'mpeg2_malloc_hooks':
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_libMpeg2Dec/alloc.c:49: warning: assignment from incompatible pointer type
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_libMpeg2Dec/alloc.c:50: warning: assignment from incompatible pointer type
[ 63%] [ 63%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/header.o
Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/idct_altivec.o
[ 63%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/idct_mlib.o
[ 63%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/motion_comp_alpha.o
[ 63%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/motion_comp.o
[ 63%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/motion_comp_mmx.o
[ 63%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/cpu_accel.o
[ 63%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/decode.o
[ 64%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/idct_alpha.o
[ 64%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/idct.o
[ 64%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/idct_mmx.o
[ 64%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/motion_comp_altivec.o
[ 64%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/motion_comp_mlib.o
[ 64%] Building C object avidemux/ADM_libraries/ADM_libMpeg2Dec/CMakeFiles/ADM_libMpeg2Dec.dir/slice.o
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_libMpeg2Dec/slice.c: In function 'updateQscale':
/var/tmp/portage/media-video/avidemux-2.4.4/work/avidemux_2.4.4/avidemux/ADM_libraries/ADM_libMpeg2Dec/slice.c:157: warning: incompatible implicit declaration of built-in function 'printf'
Linking C static library libADM_libMpeg2Dec.a
[ 64%] Built target ADM_libMpeg2Dec
make: *** [all] Error 2


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-02-27 20:45:14 UTC
Please post your `emerge --info' too.
Comment 2 Juergen Rose 2009-02-28 11:25:59 UTC
root@tarantel:/root(4)# emerge --info
Portage 2.1.6.7 (hardened/linux/x86, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-rc3 i686)
=================================================================
System uname: Linux-2.6.29-rc3-i686-AMD_Athlon-tm-_Processor-with-glibc2.1.3
Timestamp of tree: Sat, 28 Feb 2009 00:05:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r15, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
FFLAGS="-O2 -march=athlon -fomit-frame-pointer"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp.fi.muni.cz/pub/linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo rsync://gd.tuwien.ac.at/opsys/linux/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://gentoo.oregonstate.edu http://212.219.247.17/sites/www.ibiblio.org/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://www.gigaload.org/gentoo.org/"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/zugaina /usr/local/portage/layman/java-overlay /usr/local/portage/layman/science /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X Xaw3d a52 aac acl acpi administrator afs aiglx alsa amrr ao aotuv apache2 asf atlas auctex audacious audiofile automount bash-completion beagle berkdb bjam blas bluetooth bonobo boo boost bzip2 c++ cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli corba cracklib cran crypt curl cxx daap dbus device-mapper dga dia divx djvu dlloader dmi doc dri ds3490 dv dvb dvd dvdr dvi dxr3 dynagraph eds effects elf emacs emboss encode epiphany esd evo examples exif expat extra fam fame ffmpeg fftw firefox fits flac fltk foomaticdb fpx galago gd gdal geos gif gimp gimpprint ginac glade glib glitz gml gmp gnokii gnome gnuplot gnutls gphoto2 graphics graphviz gs gsl gsm gstreamer gtk guile hal hardened harness hddtemp hdf hdf5 hlapi http iconv icq icu id3 ide imagemagick imap innodb irda irmc isdnlog ithreads jabber java jbig john jpeg jpeg2k kde4 kerberos kexi keyring ladspa lame lapack latex lcms ldap libffi libgda libsamplerate lirc lm_sensors lua lzo lzw mad maildir mailwrapper math matroska midi mmx mmxext mng mod mono motif mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networkmanager nfs nntp nptl nptlonly nsplugin ntfs numarray numeric obex ocaml octave odbc ogdi ogg ole opengl openmp pam pcre pda pdf perl pic plotutils plugins png posix postgres postscript pppd preview-latex proj projectx pstricks python qhull quicktime readline reflection reiserfs rhythmbox rle rpc rrdcgi rrdtool samba sasl science sdl session slang slp sndfile snmp soup sox speex spell spl sqlite ssl stlport subtitles subversion suexec svg sysfs t1lib tcl tcpd tex theora threads thunderbird tidy tiff tk truetype unicode urandom userlocales utempter v4l2 vorbis webkit win32codecs wmf wxwindows x86 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse                " KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="ide websvccommon nb harness apisupport groovy gsf j2ee java xml" USERLAND="GNU" VIDEO_CARDS="ati vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Juergen Rose 2009-05-09 07:47:41 UTC
Any news?
Comment 4 Juergen Rose 2009-05-09 08:27:12 UTC
As a workaround I can emerge avidemux-2.4.4 when I switch to i686-pc-linux-gnu-4.3.3-vanilla.
Comment 5 Ben de Groot (RETIRED) gentoo-dev 2009-05-09 10:17:52 UTC
As this is a problem with hardened, you won't get anything on this from me. You'll need to wait for the hardened team to get around to this, or just use non-hardened.
Comment 6 poletti.marco 2013-01-21 09:43:41 UTC
This bug is for a very old version of avidemux that is no longer in tree.
I guess it can be closed now.
Comment 7 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-04-25 12:06:17 UTC
(In reply to poletti.marco from comment #6)
> This bug is for a very old version of avidemux that is no longer in tree.
> I guess it can be closed now.

Yes, a lot has changed in the last 5 years; if it is still reproducible on a recent version, please reopen (as the reporter) or file a new bug.