Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311389 - media-video/ffmpeg-0.5_p21602 compile error
Summary: media-video/ffmpeg-0.5_p21602 compile error
Status: RESOLVED DUPLICATE of bug 290741
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 06:09 UTC by Kevin Lyles
Modified: 2010-03-26 06:24 UTC (History)
0 users

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


Attachments
Build log (build.log,477.30 KB, text/plain)
2010-03-26 06:11 UTC, Kevin Lyles
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Lyles 2010-03-26 06:09:59 UTC
media-video/ffmpeg-0.5_p21602 fails to compile on my system.  I am running 32-bit on an AMD 64X2 processor.

Reproducible: Always

Steps to Reproduce:
1. Emerge ffmpeg with version 0.5_p21602 keyworded ~x86

Actual Results:  
Compilation aborted with the following error:

libavcodec/x86/h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2':
libavcodec/x86/dsputil_mmx.c:726: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
libavcodec/x86/dsputil_mmx.c:726: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
libavcodec/x86/dsputil_mmx.c:726: error: 'asm' operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:726: error: 'asm' operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:726: error: 'asm' operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:726: error: 'asm' operand has impossible constraints
libavcodec/x86/h264dsp_mmx.c:633: error: 'asm' operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:726: error: 'asm' operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:726: error: 'asm' operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:726: error: 'asm' operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:726: error: 'asm' operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:726: error: 'asm' operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:726: error: 'asm' operand has impossible constraints
libavcodec/x86/h264dsp_mmx.c:633: error: 'asm' operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:726: error: 'asm' operand has impossible constraints
libavcodec/x86/dsputil_mmx.c:726: error: 'asm' operand has impossible constraints
make: *** [libavcodec/x86/dsputil_mmx.o] Error 1


Expected Results:  
Successful compilation.

I will attach the full error log.

$ emerge --info
Portage 2.1.7.17 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r10-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-1.12.13
Timestamp of tree: Thu, 25 Mar 2010 22:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/share/hddtemp/hddtemp.db"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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="-march=native -O2 -pipe -ggdb -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j3"
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/portage/local/custom"
USE="3dnow 3dnowext 7zip X a52 aac acct acl acpi aim akode alsa amr animgif ao arts audiofile avahi bash-completion bluetooth boost branding bzip2 cairo calendar caps cdaudio cdda cddb cdparanoia cdr chardet chroot cjk cleartype cli consolekit contrib cracklib crypt cscope css cuda cups curl cvs cxx d dbus detex device-mapper dga disk-partition diskio divx doc dri dvd dvdr elf emboss encode evo exif expat fam fastcgi fat ffmpeg fftw firefox flac fmod font-server fontforge foomaticdb fortran fts3 gcj gd gdbm gif gimp git glibc-omitfp glitz glsa glut gmedia gmp gnutls gphoto2 gpm graphics gs gsm gstreamer gtk gtkhtml hal handbook hbci hddtemp iconv icq id3 idn imagemagick imlib iostats jabber jadetex java java5 java6 jpeg jpeg2k kde kpathsea kqemu lame laptop latex lcms libnotify libsamplerate lm_sensors logrotate lua lyrics lzo mad matroska md5sum md5sum-external mdnsresponder-compat mfd-rewrites mikmod mjpeg mmap mmx mmxext mng modules motif moznocompose moznoirc moznomail mp3 mp4 mpd mpeg msn mudflap multiuser music musicbrainz nano-syntax ncurses network network-cron nls nowin nptl nptlonly nsplugin ntfs nvidia objc ocaml offensive ofx ogg openal opengl openmp optimization optimized-qmake pam pcre pdf perl phonon pic pipe png policykit posix ppds prediction pulseaudio qt-static qt3 qt3support qt4 quicktime rdesktop readline realmedia reflection reiserfs restrict-javascript rtc scenarios schroedinger science screen sdl session slp smp snmp spell spl sqlite srt sse sse2 ssh ssl startup-notification stream stroke subtitles subversion svg symlink sysfs syslog sysvipc tcpd tex4ht theora threads thunar thunderbird tiff toolbar transcode truetype unicode usb userlocales utempter vcd vdpau videos vidix vim-syntax vim-with-x vnc voice vorbis win32codecs winbind wma wmf wmp x264 x86 xcb xcomposite xetex xine xinerama xml xorg xpm xprint xscreensaver xulrunner xv xvid xvmc yahoo zip zlib" ALSA_CARDS="emu10k1" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kevin Lyles 2010-03-26 06:11:39 UTC
Created attachment 225291 [details]
Build log
Comment 2 Doktor Notor 2010-03-26 06:13:46 UTC
Duplicate of Bug 290741; remove pic from your USE.
Comment 3 Kevin Lyles 2010-03-26 06:15:43 UTC
Wow, quick responses tonight.  I'll check that and close the bug if that fixes it.  Thanks!
Comment 4 Kevin Lyles 2010-03-26 06:24:51 UTC
Disabling the pic useflag for ffmepg works, closing as duplicate.

*** This bug has been marked as a duplicate of bug 290741 ***