Summary: | media-video/mplayer-1.0_rc2_p26753 compile fails with assembler-error | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | qeldroma <qeldroma> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED WORKSFORME | ||
Severity: | major | CC: | demo, jb.krohn |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
qeldroma
2008-05-23 11:50:59 UTC
need emerge -pv mplayer (In reply to comment #1) > need emerge -pv mplayer > ..will do it on monday, is my pc on work ;) (In reply to comment #1) > need emerge -pv mplayer > # emerge -pv mplayer These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-video/mplayer-1.0_rc2_p26753 [1.0_rc2_p24929-r1] USE="3dnow 3dnowext X a52* aac aalib alsa arts cddb cdparanoia cpudetection dga doc* dv dvd encode gif gtk iconv jpeg mad* mmx mmxext mp2 mp3 opengl oss png pnm quicktime rar real rtc samba sse tga truetype unicode win32codecs x264 xinerama xscreensaver%* xv xvid xvmc (-altivec) -amrnb -amrwb -bidi -bindist -bl -cdio -custom-cflags -debug -directfb -dts -dvb -enca -esd -fbcon -ftp -ggi -ipv6 -jack -joystick -ladspa -libcaca -lirc -live -lzo -md5sum -musepack -nas -nemesi -openal -pulseaudio -radio -sdl -speex -srt -sse2* -ssse3* -svga -teletext -theora* -v4l -v4l2 -vidix -vorbis -xanim -zoran (-livecd%) (-tivo%)" VIDEO_CARDS="vesa -mga -s3virge -tdfx" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB try it w/o cpudetection use flag (In reply to comment #4) > try it w/o cpudetection use flag Have same error. Using USE="-cpudetection" can't help. I try to USE="-cpudetection -mmx -mmxext" can't help too... [ebuild U ] media-video/mplayer-1.0_rc2_p26753 [1.0_rc1_p20070622-r4] USE="3dnow 3dnowext X a52 aac aalib alsa arts bidi bindist bl cddb cdparanoia dga directfb doc dts dv dvb dvd enca encode esd fbcon ftp ggi gif gtk iconv ipv6 jack joystick jpeg libcaca lirc live lzo mad md5sum mp2 mp3 musepack nas openal opengl oss png pnm quicktime radio rar real rtc samba sdl speex srt sse sse2 tga theora truetype unicode v4l v4l2 vorbis x264 xanim xinerama xscreensaver%* xv xvid xvmc (-altivec) -amrnb -amrwb -cdio% -cpudetection* -custom-cflags -debug% -ladspa% -mmx* -mmxext* -nemesi% -pulseaudio% -ssse3 (-svga) -teletext% (-vidix) (-win32codecs) -zoran (-dvdnav%*) (-ivtv%) (-livecd%) (-tivo%*)" VIDEO_CARDS="vesa -mga -s3virge -tdfx" x86_64-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/directfb -I/usr/X11R6/include -I/usr/include/ -I/usr/include/SDL -D_REENTRANT -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c In file included from i386/dsputil_mmx.c:31: i386/mmx.h:24:2: warning: #warning Everything in this header is deprecated, use plain asm()! New code using this header will be rejected. {standard input}: Assembler messages: {standard input}:3568: Error: no such instruction: `pabsw %mm3,%mm3' {standard input}:3569: Error: no such instruction: `pabsw %mm4,%mm4' {standard input}:3570: Error: no such instruction: `pabsw %mm5,%mm5' {standard input}:18514: Error: no such instruction: `palignr $6,%xmm0,%xmm5' ... {standard input}:99178: Error: no such instruction: `pmaddubsw %xmm7,%xmm2' make[1]: *** [i386/dsputil_mmx.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/mplayer-1.0_rc2_p26753/work/mplayer-1.0_rc2_p26753/libavcodec' make: *** [libavcodec/libavcodec.a] Ошибка 2 * * ERROR: media-video/mplayer-1.0_rc2_p26753 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2610: Called die * The specific snippet of code: * emake || die "Failed to build MPlayer!"; * The die message: * Failed to build MPlayer! # emerge --info Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-gentoo-r7 x86_64) ================================================================= System uname: 2.6.20-gentoo-r7 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Timestamp of tree: Mon, 16 Jun 2008 06:00:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 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.1 sys-devel/binutils: 2.16.1, 2.16.1-r3, 2.17, 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" 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/lib64/mozilla/defaults/pref /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LINGUAS="ru en" MAKEOPTS="-j2" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="/ 3dnow 3dnowext 7zip X X500 X509 Xaw3d a52 aac aalib aap accessibility acl acpi akode alsa amd64 amr aotuv arts asf asterisk async audiofile automount avahi bash-completion bcp berkdb bidi big-tables bindist bjam bl bluetooth bookmarks bzip bzip2 cairo calcomp caps cdda cddb cdparanoia chroot cjk cli compiz corba cpudetection cracklib cript crypt cscope css cups curl daap dbus dg dga directfb djvu dlloader dmi dmx doc double-precision dri dts dv dvb dvd dvdnav dvdr dvdread dvdrw dxr3 edl elf enca encode esd examples exif expat exscalibar extensions fam fbcon ffmpeg firefox flac fortran ftp gd gdbm ggi gif glep glib glibc glibc-omitfp glitz glut gnokii gnutls gphoto2 gpm gstreamer gtk gtkhtml gui hal howl-compat hpn httpd ical iconv ide ieee1394 ifp imagemagick immqt ipv6 irda isdnlog jack jack-tmpfs java javascript joystick jpeg jpeg2k kde kerberos kig-scripting krb4 lame lcms ldap legacyssl libcaca libg++ libvisual lirc live lm_sensors lua lzo mach64 mad matroska matrox mbrola md5sum mfd-rewrites midi mikmod mmx mmxext mng mod modplug mono motif mozilla mp2 mp3 mp4 mpeg mplayer mudflap multislot multitarget musepack musicbrainz mysql nas ncurses netjack nis nls nptl nptlonly nsplugin nvidia oav odbc offensive ogg openal openexr opengl openmp oss pam pam_chroot pam_timestamp pcre pda pdf perl pg-intdatetime png pnm portaudio postgres povray pppd pwdb pyste python qsa qt3 qt3support qt4 quicktime radio rar rdesktop readline reflection rpm rrdcgi rtc rtsp ruby samba sametime scanner scenarios sdl sensord serial server session sftplogging shout skey skins slp smartcard smp sms smux sndfile snmp socks5 speex spell spl sqlite srt sse sse2 ssl stream svg swat sysfs syslog tcl tcltk tcpd tetex tga theora threads tidy tiff timidity tivo tk toolbar trayicon truetype unicode usb userlocales utempter v4l v4l2 vcd vdr videos vim-pager vim-with-x visualization vlm vorbis winbind wmf wxwindows x264 xanim xcb xcomposite xface xine xinerama xinetd xml xorg xosd xscreensaver xv xvid xvmc zeroconf zlib zvbi" ALSA_CARDS="ali5451 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" APACHE2_MODULES="access auth auth_dbm auth_anon auth_digest alias file-cache filter echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="avermedia devinput" USERLAND="GNU" VIDEO_CARDS="chips nvidia dummy fbdev glint nv tga v4l vesa vga via vmware" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS It compiles ok for me with USE="-mmx -cpudetection -sse -sse2" All the flags used : USE="X a52 aac aalib alsa cddb cdparanoia dga directfb doc dts dv dvb dvd encode esd fbcon ftp ggi gif iconv ipv6 jack joystick jpeg libcaca lirc mad md5sum mp3 musepack nas openal opengl oss png pulseaudio quicktime real samba sdl speex theora truetype unicode v4l vorbis x264 xinerama xscreensaver xv xvid -3dnow -3dnowext (-altivec) -amrnb -amrwb -arts -bidi -bindist -bl -cdio -cpudetection -custom-cflags -debug -enca -gtk -ladspa -live -lzo -mmx -mmxext -mp2 -nemesi -pnm -radio -rar -rtc -srt -sse -sse2 -ssse3 (-svga) -teletext -tga -v4l2 (-vidix) (-win32codecs) -xanim -xvmc -zoran" VIDEO_CARDS="vesa -mga -s3virge -tdfx" Hi, Just wanted to add that I had a similar problem, and I found a solution: My solution was: disable cpudetection (-cpudetection) and to re-emerge ffmpeg to version 0.4.9_p20070616-r3. The version of mplayer that was failing to emerge was media-video/mplayer-1.0_rc2_p27725-r1 My compile errors are here: ---------------------------------- x86_64-pc-linux-gnu-gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=x86-64 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I. -I/usr/X11R6/include -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -c -o i386/mpegvideo_mmx.o i386/mpegvideo_mmx.c {standard input}: Assembler messages: {standard input}:2025: Error: no such instruction: `pabsw %xmm0,%xmm0' {standard input}:2029: Error: no such instruction: `psignw %xmm1,%xmm0' {standard input}:2081: Error: no such instruction: `pabsw %xmm0,%xmm0' {standard input}:2087: Error: no such instruction: `psignw %xmm1,%xmm0' make[1]: *** [i386/mpegvideo_mmx.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from i386/dsputil_mmx.c:31: i386/mmx.h:24:2: warning: #warning Everything in this header is deprecated, use plain asm()! New code using this header will be rejected. {standard input}: Assembler messages: {standard input}:3570: Error: no such instruction: `pabsw %mm3,%mm3' {standard input}:3571: Error: no such instruction: `pabsw %mm4,%mm4' {standard input}:3572: Error: no such instruction: `pabsw %mm5,%mm5' (In reply to comment #7) > My solution was: disable cpudetection (-cpudetection) and to re-emerge ffmpeg > to version 0.4.9_p20070616-r3. The version of mplayer that was failing to > emerge was media-video/mplayer-1.0_rc2_p27725-r1 FFmpeg has no influence whatsoever on mplayer compilation. (In reply to comment #8) > (In reply to comment #7) > > My solution was: disable cpudetection (-cpudetection) and to re-emerge ffmpeg > > to version 0.4.9_p20070616-r3. The version of mplayer that was failing to > > emerge was media-video/mplayer-1.0_rc2_p27725-r1 > > FFmpeg has no influence whatsoever on mplayer compilation. > I agree with you , FFmpeg is not involved. I had the same issue: ... {standard input}:39351: Error: no such instruction: `palignr $4,%xmm7,%xmm6' make[1]: *** [i386/dsputil_mmx.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-video/mplayer-1.0_rc2_p27725-r1/work/mplayer-1.0_rc2_p27725/libavcodec' make: *** [libavcodec/libavcodec.a] Error 2 * * ERROR: media-video/mplayer-1.0_rc2_p27725-r1 failed. ... Fixed with USE="-bindist" emerge -va media-video/mplayer By I had the same problem, but upgrading my binutils to 2.18-r3 fixed it. (In reply to comment #10) > I had the same problem, but upgrading my binutils to 2.18-r3 fixed it. > Thanks. binutils-2.18-r3.ebuild:KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 sh sparc x86" And it's stable for all arch's. Closing. Solution: Upgrade binutils. |