Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 427004

Summary: media-video/ffmpeg-0.10.3 ABI=x32 - libavfilter/libmpcodecs/vf_ilpack.c:116: Error: operand type mismatch for `push'
Product: Gentoo Linux Reporter: devsk <funtoos>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bertrand, vapier
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://ffmpeg.org/trac/ffmpeg/ticket/1565
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 393673    
Attachments: build.log

Description devsk 2012-07-17 14:47:39 UTC
CC      libavfilter/libmpcodecs/vf_phase.o
libavfilter/libmpcodecs/vf_ilpack.c: Assembler messages:
libavfilter/libmpcodecs/vf_ilpack.c:116: Error: operand type mismatch for `push'
libavfilter/libmpcodecs/vf_ilpack.c:195: Error: operand type mismatch for `pop'
libavfilter/libmpcodecs/vf_ilpack.c:224: Error: operand type mismatch for `push'
libavfilter/libmpcodecs/vf_ilpack.c:307: Error: operand type mismatch for `pop'
make: *** [libavfilter/libmpcodecs/vf_ilpack.o] Error 1
make: *** Waiting for unfinished jobs....
CC      libavfilter/libmpcodecs/vf_pp7.o
libavfilter/libmpcodecs/vf_mcdeint.c: In function 'config':
libavfilter/libmpcodecs/vf_mcdeint.c:199:13: warning: 'avcodec_alloc_context' is deprecated (declared at ./libavcodec/avcodec.h:4025) [-Wdeprecated-declarations]
libavfilter/libmpcodecs/vf_mcdeint.c:227:13: warning: 'avcodec_open' is deprecated (declared at ./libavcodec/avcodec.h:4155) [-Wdeprecated-declarations]
 * ERROR: media-video/ffmpeg-0.10.3 failed (compile phase):
 *   emake failed

Reproducible: Always




# emerge --info
Portage 2.2.0_alpha116 (default/linux/amd64/10.0/x32, gcc-4.7.1, glibc-2.16.0, 3.4.4 x86_64)
=================================================================
System uname: Linux-3.4.4-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.1
Timestamp of tree: Wed, 11 Jul 2012 02:15:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.7.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo mylocal vmware mozilla lcd-filtering
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA skype-4.0.0.7-copyright Broadcom PUEL dlj-1.1 skype-eula AdobeFlash-10 AdobeFlash-10.1 google-talkplugin Oracle-BCLA-JavaSE google-chrome AdobeFlash-10.3"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fforce-addr -fomit-frame-pointer -pipe -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/hibernate /etc/udev/rules.d /etc/vmware /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/hddtemp /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -fforce-addr -fomit-frame-pointer -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --keep-going --jobs=12 --load-average=12 --accept-properties=-interactive --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache collision-protect config-protect-if-modified distlocks fixlafiles multilib-strict news nodoc parallel-fetch parallel-install parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.llarian.net/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.llarian.net/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.mirrors.pair.com/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-O1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="en"
MAKEOPTS="-j12 -l12"
PKGDIR="/mnt/portage/bin-packages/x64"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/lost+found"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/private/portage/overlay /var/lib/layman/vmware /var/lib/layman/mozilla /var/lib/layman/lcd-filtering"
SYNC="rsync://gentoo.llarian.net/gentoo-portage"
USE="X a52 aac acl acpi aim aio alsa amd64 audiofile avahi bash-completion binary-drivers bittorrent bluray bzip2 cairo cdda cdparanoia cdr chm cli composite cracklib crypt cscope css cups curl cvs cxx dar64 dbus device-mapper dga dhclient directfb divx djbfft djvu dlna dmraid dri dts dv dvd dvdnav dvdr dvdread ebook emerald encode erandom evo exif expat faac faad fam fame fbcon fbsplash ffmpeg flac freetype fuse gb gd gif gimp gimpprint glitz glut gmail gmplayer gnome gnutls gphoto2gtk gpm graphite gtk+ gtk2 gtk3 hddtemp history hpn iconv id3tag ieee1394 imagemagick imap imlib inotify ipod ipv6 jack javascript jikes jingle jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kqemu kvm lame lcdfilter lcms ldap libcaca libmms libnotify libsamplerate lightning lirc live lm_sensors logitech-mouse logrotate lto lvm lzma lzo lzw lzw-tiff mad matroska md md5sum mdnsresponder-compat mikmod mjpeg mmap mmx mmx2 mmxext mng mod modules moznopango mozsvg mp2 mp3 mp4 mpeg mplayer msn mudflap multilib musicbrainz nautilus ncurses nepomuk nfs nocd nodot nodrm nomalloccheck nptl nptlonly nsplugin ntfs nut nvidia ogg ogm openexr opengl openmp oss pam parted pcre pda pdf phyp pic plotutils png policykit pop ppds pppd pulseaudio pvr pwdb python3 qt qt4 quicktime radeon radio rar rdesktop readline realmedia rplay rtc samba sasl sdl semantic-desktop sensord server session slp smp sna sndfile sqlite srt sse sse2 sse3 ssl startup-notification stencil-buffer strokesvg svg swat sysfs syslog tcl tcpd theora threads tiff tk truetype twolame udev urandom usb userlocales v41 v4l v4l2 vde vdpau vim vnc vorbis vpx wma wmf wmp x264 xanim xattr xcb xcomposite xft xine xml2 xmms xorg xpm xprint xrandr xulrunner xv xvid xvmc yv12 zeroconf zlib" ALSA_CARDS="hda-intel intel8x0 intel8x0m ens1371 emu10k1x" 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon panasonic kodak minolta konica" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="btrfs crypt dmraid gensplash mdraid dmsquash-live" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" LIRC_DEVICES="hauppauge" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel nvidia nv fbdev vesa vga nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 1 devsk 2012-07-17 14:49:25 UTC
Created attachment 318464 [details]
build.log
Comment 2 Alexis Ballier gentoo-dev 2012-07-19 15:34:19 UTC
really, this is something you should fix upstream or ask x32 profiles maintainers to mask offending simd useflags.
Comment 5 Priit Laes (IRC: plaes) 2013-02-28 09:47:08 UTC
media-video/ffmpeg-1.x also needs --disable-asm for x32
Comment 7 Bertrand Jacquin 2014-05-15 23:16:26 UTC
Now working fine for media-video/ffmpeg-2.2.2
Comment 8 SpanKY gentoo-dev 2014-10-21 15:13:30 UTC
we'll take the matter of reenabling the optimizations upstream