Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324427 - media-libs/libvpx-0.9.0_p20100612 emerge failed - cannot reference symbol `CONFIG_PIC'
Summary: media-libs/libvpx-0.9.0_p20100612 emerge failed - cannot reference symbol `CO...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 04:45 UTC by progserega
Modified: 2011-10-27 05:42 UTC (History)
0 users

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


Attachments
build.log (build.log,15.50 KB, text/plain)
2010-06-17 04:46 UTC, progserega
Details

Note You need to log in before you can comment on or make changes to this bug.
Description progserega 2010-06-17 04:45:15 UTC
Emerge media-libs/libvpx-0.9.0_p20100612 failed with error:
    [CC] vp8/decoder/threading.c.o
    [CC] vp8/decoder/x86/x86_dsystemdependent.c.o
    [CC] vpx_config.c.o
    [AS] vp8/common/x86/idctllm_mmx.asm.o
vpx_ports/x86_abi_support.asm:112: cannot reference symbol `CONFIG_PIC' in preprocessor
make[1]: *** [vp8/common/x86/idctllm_mmx.asm.o Error 1


Reproducible: Always
Comment 1 progserega 2010-06-17 04:46:49 UTC
Created attachment 235679 [details]
build.log
Comment 2 progserega 2010-06-17 04:47:25 UTC
 emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.2, glibc-2.6.1-r0, 2.6.27-r10-pipe i686)
=================================================================
System uname: Linux-2.6.27-r10-pipe-i686-Intel-R-_Core-TM-2_CPU_6400_@_2.13GHz-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 16 Jun 2010 16:00:01 +0000
distcc[2365] (dcc_trace_version) distcc 3.1 i686-pc-linux-gnu; built Oct 26 2009 13:41:54 [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.6, 2.5.4-r2, 2.6.4-r1
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.61-r2
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.18-r3
sys-devel/gcc:       4.1.2, 4.3.2-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distcc distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/  ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://de-mirror.org/distro/gentoo/  http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://ftp.jaist.ac.jp/pub/Linux/Gentoo/ ftp://ftp.cs.pu.edu.tw/Linux/Gentoo/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
MAKEOPTS="-j17"
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"
SYNC="rsync://jabber.rs.int/gentoo-portage"
USE="7zip Dirac X aac acpi alsa apache2 bash-completion bcmath berkdb bzip2 cgi clamav cli cpudetection cracklib crypt ctype cxx dedicated dirac djvu dri enca encode expat ffmpeg flac fortran gd gdbm gif gnutls gpm graphviz iconv imagemagick jabber jpeg jpeg2k ldap logrotate mbox mmx mod_irc mod_muc mod_pubsub modules mp3 mudflap musepack ncurses nls nptl nptlonly ntpl ntplonly odbc ogg openal opengl openmp pam pcre perl plugins png pop3d pppd python readline reflection rtc samba sasl sdl search-screen session sidebar snmp speex spl srt sse sse2 ssl ssse3 svg swat sysfs syslog tcpd theora threads tiff tordns truetype unicode utf8 vorbis vpx web webinterface win32codecs winbind x264 x86 xml xorg xvid 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 progserega 2010-06-17 04:47:54 UTC
emerge with command:

LC_ALL=C FEATURES="-distcc" emerge -av =media-libs/libvpx-0.9.0_p20100612
Comment 4 patrick.f.mooney 2010-11-30 02:45:52 UTC
(In reply to comment #3)
> emerge with command:
> 
> LC_ALL=C FEATURES="-distcc" emerge -av =media-libs/libvpx-0.9.0_p20100612
>

Apparently <yasm-8.0 has issues building libvpx:
http://code.google.com/p/webm/issues/detail?id=145

I was experiencing this issue and upgrading yasm cleared it right up.
Comment 5 Tim Yamin 2011-04-03 12:36:42 UTC
I've hit the same bug and confirm that upgrading yasm (to 1.1.0-r1) fixed it. Can we please add an updated yasm dep to libvpx?
Comment 6 progserega 2011-10-27 05:42:15 UTC
emerged dev-lang/yasm-1.1.0-r1
and media-libs/libvpx-0.9.6 success emerged.

Thank you!