Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 313249 - media-video/ffmpeg-9999-r1 does not build with USE=pic
Summary: media-video/ffmpeg-9999-r1 does not build with USE=pic
Status: RESOLVED DUPLICATE of bug 290741
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-05 16:22 UTC by Rebecca Menessec
Modified: 2010-04-05 18:59 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 Rebecca Menessec 2010-04-05 16:22:57 UTC
May be x86-specific; unsure.

PIC:

In file included from libavcodec/x86/dsputil_mmx.c:1818:
libavcodec/x86/h264dsp_mmx.c: In function ‘put_h264_qpel8_h_lowpass_3dnow’:
libavcodec/x86/h264dsp_mmx.c:2079: error: can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
libavcodec/x86/h264dsp_mmx.c:2079: error: ‘asm’ operand has impossible constraints

Without:

host ~ # USE=-pic emerge -q ffmpeg
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-video/ffmpeg-9999-r1 from local-overlay
>>> Installing (1 of 1) media-video/ffmpeg-9999-r1
 * GNU info directory index is up-to-date.

Reproducible: Always

Steps to Reproduce:




Portage 2.2_rc67 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11-r1, 2.6.33.2 i686)
=================================================================
System uname: Linux-2.6.33.2-i686-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 05 Apr 2010 15:00:01 +0000
app-shells/bash:     4.1_p2-r1
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r1
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.8.1
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
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -fomit-frame-pointer -march=core2 -pipe -findirect-inlining -ftree-switch-conversion -mssse3 -mcx16 -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -fomit-frame-pointer -march=core2 -pipe -findirect-inlining -ftree-switch-conversion -mssse3 -mcx16 -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed,--hash-style=gnu"
LINGUAS="en en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9"
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/layman/gnome /usr/portage/local/layman/perl-experimental /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/sunrise /usr/portage/local/aloishammer"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 16bit-indices 64bit 7zip a52 aac acct ace acl acpi addbookmarks adns agg aim aio alias amazon animgif aoss aotuv apache2 ares asf asm aspnet2 async authdaemond authlib avahi bash-completion bdf berkdb bgpclassless binary-drivers binfilter bl bluetooth bonobo bookmarks boost branding bzip2 cardbus catalogs cdda cddb cdparanoia cdr cdrkit chardet chm chroot clamav cli colordiff connectionstatus console contactnotes corba courier cpudetection cracklib crypt css cups curl curlwrappers custom-cflags cxx daap dbus dbx deprecated depth32 device-mapper dga disk-partition divx dmi domain-aware dri dts dv dvd dvdr dvi emf enchant erandom exif extensions extraengine fam fat fftw firefox fix-connected-rt flac flash flexresp2 fluidsynth font-server fontconfig foomaticdb fpx freetts ftp fuse galago gcj gdbm geoip gif glade glib glibc-omitfp gmedia gmp gnokii gnome-print gnomecanvas gnomedb gnutls gpm gps groupwise gs hddtemp hdri hfs highlight history howl howl-compat hpn html ibam iconv icq icu idea idn ignore-case imagemagick imap injection inline innodb insecure-savers ipv6 irc jabber java java-external java5 javascript jbig jce jfs jikes jingle joystick jpeg jpeg2k jrtplib kdepim kdexdeltas keyring kipi lame lash libclamav libedit libffi libnl libnotify libsamplerate libsexy linuxthreads-tls live lm_sensors log4j logitech-mouse logrotate lzma lzo lzw mad madwifi magic maildir matroska mbrola mdnsresponder-compat meanwhile memlimit mfd-rewrites mikmod mime mjpeg mmap mmx mng mod modplug modules mozdom mp3 mp4 mpeg mplayer msn mtp mudflap musepack nautilus ncurses netcdf network network-cron new-reg-alloc nls no-old-linux nodrm nolvm1 nptl nptlonly nspr nss ntfs ntp obex offensive ofx ogg ole openal openexr openssl osc oscar pam pam_timestamp pango parse-clocks pch pci pcntl pcre pdf perl pic plugin png posix postfix ppds pppd pwdb pyste python q32 quicktime quotes rar readline reflection reiser4 reiserfs remix rle rpm rtc rtsp samba sametime session sharedmem shorten silc skins slang sms sndfile snmp sockets sound speex spell spl sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 startup-notification subtitles svg svgz symlink sysfs syslog sysvipc szip t1lib tagwriting texteffect theora threads tiff tntc tools tordns tpm tpmtok truetype type3 udev unicode urandom usb userlocales utempter vcd vorbis vorbis-psy wavpack webpresence win32codecs winpopup wma wmp x264 x86 xanim xattr xcb xcomposite xext xforms xfs xgetdefault xml xmlreader xmlrpc xmlwriter xorg xosd xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo zeroconf 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="alias auth_basic authz_default authz_host authn_default deflate dir env filter headers include log_config logio mime mime_magic negotiation proxy proxy_ajp proxy_connect proxy_http setenvif vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-04-05 18:59:57 UTC
USE="pic" is not recommended... the resulting ffmpeg will be extremely slow

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