Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332357 - xine-lib: xmmx.c:80: Error: suffix or operands invalid for `movq'
Summary: xine-lib: xmmx.c:80: Error: suffix or operands invalid for `movq'
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 19:53 UTC by Johannes Hirte
Modified: 2010-08-13 13:53 UTC (History)
0 users

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 Johannes Hirte 2010-08-11 19:53:23 UTC
xine-lib doesn't compile with gcc-4.4.4. I've tested xine-lib-1.1.18.1 and xine-lib-1.1.19 and both fail with

libtool: compile:  i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../include -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -fvisibility=hidden -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O2 -march=pentium4 -mfpmath=sse -fomit-frame-pointer -fweb -ftracer -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -ftree-loop-distribution -ftree-loop-im -fvect-cost-model -pipe -frename-registers -ffunction-sections -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wstrict-aliasing=2 -Werror=implicit-function-declaration -DNDEBUG -c mmx.c  -fPIC -DPIC -o .libs/xineplug_post_goom_la-mmx.o
xmmx.c: Assembler messages:
xmmx.c:80: Error: suffix or operands invalid for `movq'
make[3]: *** [xineplug_post_goom_la-xmmx.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.18.1/work/xine-lib-1.1.18.1/src/post/goom'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.18.1/work/xine-lib-1.1.18.1/src/post'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/xine-lib-1.1.18.1/work/xine-lib-1.1.18.1/src'
make: *** [all-recursive] Error 1
 * ERROR: media-libs/xine-lib-1.1.18.1 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_compile
 *   environment, line 2675:  Called _eapi2_src_compile
 *     ebuild.sh, line  640:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =media-libs/xine-lib-1.1.18.1',
 * the complete build log and the output of 'emerge -pqv =media-libs/xine-lib-1.1.18.1'.
 * The complete build log is located at '/var/tmp/portage/media-libs/xine-lib-1.1.18.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/xine-lib-1.1.18.1/temp/environment'.
 * S: '/var/tmp/portage/media-libs/xine-lib-1.1.18.1/work/xine-lib-1.1.18.1'

gcc-4.5 works fine

Reproducible: Always




Portage 2.2_rc67 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.35 i686)
=================================================================
System uname: Linux-2.6.35-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 11 Aug 2010 12:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1, 4.5.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10 AdobeFlash-10.1 skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mfpmath=sse -fomit-frame-pointer -fweb -ftracer -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -ftree-loop-distribution -ftree-loop-im -fvect-cost-model -mstackrealign -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-O2 -march=pentium4 -mfpmath=sse -fomit-frame-pointer -fweb -ftracer -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -ftree-loop-distribution -ftree-loop-im -fvect-cost-model -mstackrealign -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests collision-protect distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-z,combreloc"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/x11 /usr/local/portage/layman/kde /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi addressbook alsa amr amrnb amrwb aspell audiofile ayatana berkdb bzip2 cairo calendar caps cdda cddb cdparanoia chm cleartype cli connectionstatus consolekit contactnotes cracklib crypt css cups cvs cxx dbus dirac djvu dri dts dv dvd dvdread encode exif exiv2 faac faad ffmpeg fftw flac fortran gallium gdbm gif gimp git glitz gmp gpm graphviz h323 hal hddtemp highlight history htmlhandbook http iconv id3tag idle imagemagick inotify ipv6 java java6 jpeg jpeg2k kde kdehiddenvisibility kdepi kipi lame lapack latex lcms ldap libnotify libsamplerate live lm_sensors lzma lzo mad mjpeg mmap mmx mng modules mp2 mp3 mp4 mpeg mtp mudflap musicbrainz ncurses nls nptl nptlonly nsplugin ogg openal opencore-amr openexr opengl openmp pam pcre pdf perl png pnm policykit pppd python python3 qt qt3support qt4 quicktime raw readline reflection samba samplerate schroedinger sdl semantic-desktop session sip sndfile sox speex spell spl sqlite sse sse2 ssl subversion svg sysfs taglib tcpd theora threads thumbnail tiff trayicon truetype unicode utf utf8 v4l v4l2 vorbis wav wmf x264 x86 xattr xcb xcomposite xhtml xml xmp xorg xpm xscreensaver xulrunner xv xvid yv12 zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r300 r600" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-08-13 13:53:19 UTC
(In reply to comment #0)
> xmmx.c:80: Error: suffix or operands invalid for `movq'

> CFLAGS="-O2 -march=pentium4 -mfpmath=sse -fomit-frame-pointer -fweb -ftracer
> -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize
> -ftree-loop-distribution -ftree-loop-im -fvect-cost-model -mstackrealign -pipe"
> CXXFLAGS="-O2 -march=pentium4 -mfpmath=sse -fomit-frame-pointer -fweb -ftracer
> -funswitch-loops -fpredictive-commoning -fgcse-after-reload -ftree-vectorize
> -ftree-loop-distribution -ftree-loop-im -fvect-cost-model -mstackrealign -pipe"
> LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-z,combreloc"

Try with sane *FLAGS, such as:

CFLAGS="-O2 -march=pentium4 -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1"