Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175975 - media-libs/mlt-0.2.2 fails to compile with USE=mmx on amd64
Summary: media-libs/mlt-0.2.2 fails to compile with USE=mmx on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-25 15:23 UTC by Federico Cuello
Modified: 2007-04-25 21:38 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 Federico Cuello 2007-04-25 15:23:48 UTC
cc -march=athlon64 -O2 -pipe -Wall -fPIC -DPIC    -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC    -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -Wall -fPIC -DPIC    -DUSE_MMX -g -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread `pkg-config gtk+-2.0 --cflags` `pkg-config gdk-pixbuf-2.0 --cflags` `pkg-config pangoft2 --cflags` -I../..   -c -o producer_pango.o producer_pango.c
cc -o have_mmx.o -c have_mmx.S
have_mmx.S: Assembler messages:
have_mmx.S:20: Error: suffix or operands invalid for `push'
have_mmx.S:24: Error: suffix or operands invalid for `pushf'
have_mmx.S:25: Error: suffix or operands invalid for `pop'
have_mmx.S:28: Error: suffix or operands invalid for `push'
have_mmx.S:29: Error: suffix or operands invalid for `popf'
have_mmx.S:30: Error: suffix or operands invalid for `pushf'
have_mmx.S:31: Error: suffix or operands invalid for `pop'
have_mmx.S:51: Error: suffix or operands invalid for `pop'
make[2]: *** [have_mmx.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/media-libs/mlt-0.2.2/work/mlt-0.2.2/src/modules/gtk2'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/mlt-0.2.2/work/mlt-0.2.2/src/modules'
make: *** [all] Error 1

!!! ERROR: media-libs/mlt-0.2.2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  mlt-0.2.2.ebuild, line 65:   Called die
Comment 1 Federico Cuello 2007-04-25 15:35:02 UTC
emerge --info

Portage 2.1.2.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 25 Apr 2007 12:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.61
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_AR.UTF-8"
LINGUAS="es es_AR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aim alsa amd64 apache2 apm arts artswrappersuid bash-completion berkdb bitmap-fonts bzip2 cairo cddb cdr cli cracklib crypt dbus dmi dri dts dv dvb dvd dvdr dvdread eds emboss emerald encode esd evo exif extensions fam ffmpeg fftw firefox flac fortran gd gdbm gif glitz gnome gpm graphviz gstreamer gtk gtk2 hal iconv icq imagemagick ipod ipv6 isdnlog jabber jpeg kde kdeenablefinal kdehiddenvisibility kerberos kqemu ldap libg++ lm_sensors mad maildir mailwrapper midi mikmod mmap mmx mmxext mp3 mpeg mplayer mpm-worker msn ncurses nforce2 nls nptl nptlonly nsplugin ntfs nvidia ogg opengl oss pam pcre pda pdf perl php pmu png pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection samba sasl sdl session sharedext smp sms snortsam spell spl sse sse2 ssl subtitles svg symlink tcpd theora threads threadsafe tiff truetype truetype-fonts type1-fonts unicode vhosts vorbis x264 xcomposite xml xorg xv xvmc yahoo zlib" ALSA_CARDS="ali545
 1 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es es_AR" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Alexis Ballier gentoo-dev 2007-04-25 16:26:46 UTC
mmx useflag needs to be masked for 2007.0 profiles on amd64, I've contacted upstream about that but no solution is available yet, and it will still fail with mlt 0.2.3 that I'll probably bump soon.
Comment 3 Alexis Ballier gentoo-dev 2007-04-25 21:38:29 UTC
mmx mask added to amd64/package.use.mask and amd64/2007.0/package.use.mask, thanks a lot to beandog for the help, I didn't want to mess with your profiles ;)