Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355315 - libvpx-0.9.5 (and -r1) does not emerge
Summary: libvpx-0.9.5 (and -r1) does not emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High critical
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 10:57 UTC by Jean-Noël Rivasseau (RETIRED)
Modified: 2011-07-07 02: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 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2011-02-17 10:57:52 UTC
This was already spotted in 345559, but since it was a security stabilization bug they stabilized it anyway...

I get:

    [STRIP] libvpx.a < libvpx_g.a
vp8/common/x86/vp8_asm_stubs.c.o: In function `vp8_sixtap_predict8x4_sse2':
vp8_asm_stubs.c:(.text+0x43): undefined reference to `vp8_six_tap_mmx'
vp8_asm_stubs.c:(.text+0xab): undefined reference to `vp8_six_tap_mmx'
vp8_asm_stubs.c:(.text+0xce): undefined reference to `vp8_six_tap_mmx'
vp8_asm_stubs.c:(.text+0x130): undefined reference to `vp8_six_tap_mmx'
vp8/common/x86/vp8_asm_stubs.c.o: In function `vp8_sixtap_predict8x8_sse2':
vp8_asm_stubs.c:(.text+0x1b3): undefined reference to `vp8_six_tap_mmx'
vp8/common/x86/vp8_asm_stubs.c.o:vp8_asm_stubs.c:(.text+0x21b): more undefined references to `vp8_six_tap_mmx' follow
vp8/encoder/x86/variance_sse2.c.o: In function `vp8_sub_pixel_variance4x4_wmt':
variance_sse2.c:(.text+0xb39): undefined reference to `vp8_vp7_bilinear_filters_mmx'
variance_sse2.c:(.text+0xb7e): undefined reference to `vp8_filter_block2d_bil4x4_var_mmx'
vp8/encoder/x86/variance_sse2.c.o: In function `vp8_variance4x4_wmt':
variance_sse2.c:(.text+0xc8d): undefined reference to `vp8_get4x4var_mmx'
vp8/common/x86/subpixel_sse2.asm.o: In function `no symbol':
vp8/common/x86/subpixel_sse2.asm:(.text+0x76f): undefined reference to `vp8_bilinear_filters_mmx'
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/bin/ld: vp8/common/x86/subpixel_sse2.asm.o: relocation R_386_GOTOFF against undefined symbol `vp8_bilinear_filters_mmx' can not be used when making a shared object
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/bin/ld: final link failed: Bad value

with USE="doc sse sse2 threads (-altivec) -debug -mmx -postproc -sse3 -ssse3"

As this is a stable package not compiling, it should be considered pretty hight priority.
Comment 1 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2011-02-17 10:58:39 UTC
Total emerge --info

Portage 2.1.9.25 (default/linux/x86/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r3, 2.6.37 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.37-i686-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-1.12.14
Timestamp of tree: Wed, 16 Feb 2011 15:30:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
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-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 dlj-1.1 PUEL skype-eula sun-bcla-java-vm"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /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"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en fr ru es"
MAKEOPTS="-j9"
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="/var/lib/layman/sunrise /var/lib/layman/java-overlay /var/lib/layman/shoopz-overlay /var/lib/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 apm bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cvs cxx dbus doc dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fortran ftp gdbm gdu gif gpm gtk hal iconv ieee1394 imagemagick imap innodb ipv6 java javascript joystick jpeg jpeg2k kde lcms ldap libnotify mad matroska mikmod mime mmap mng modules mozilla mp3 mp4 mpeg mplayer mudflap mysql mysqli ncurses networkmanager nls nptl nptlonly ogg openal opengl openmp pam pango pcre pdf perl php png policykit posix ppds pppd python qt3support qt4 readline ruby sdk sdl session spell sql sse sse2 ssl startup-notification subversion svg sysfs tcpd theora tiff truetype udev unicode usb vdpau videos vorbis win32codecs x264 x86 xcb xine xinerama xml xorg xsl xulrunner xv 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr ru es" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nouveau nvidia vesa" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Tolga Dalman 2011-02-18 08:45:45 UTC
(In reply to comment #0)
> This was already spotted in 345559, but since it was a security stabilization
> bug they stabilized it anyway...
[...]
> with USE="doc sse sse2 threads (-altivec) -debug -mmx -postproc -sse3 -ssse3"
> 
> As this is a stable package not compiling, it should be considered pretty hight
> priority.

I must say, I don't agree with you at all. This is (a) a known bug. libvpx will currently not work on x86 with -mmx and sse flags; (b) setting this to high
priority is not appropriate. libvpx is not system relevant (though required for
chromium).

Sorry, but in my opinion this bug report is not helpful.
Comment 3 Jean-Noël Rivasseau (RETIRED) gentoo-dev 2011-02-18 09:18:07 UTC
If it does not work with -mmx and sse flags, then the ebuild should be fixed to disallow this combination.
Comment 4 Aaron Lewis 2011-03-23 00:43:58 UTC
Well , i've figured out the problem.

It's because some #define constants in vpx_config.h was generated twice.

a quick solution is to modify src_configure() and add such things:

sort vpx_config.h | uniq > temp_vpx_config.h
mv temp_vpx_config.h vpx_config.h
Comment 5 Aaron Lewis 2011-03-23 00:47:13 UTC
Please ignore last comment i posted , it's for http://bugs.gentoo.org/show_bug.cgi?id=357487 , my browser stuck and i put it in the wrong place
Comment 6 Alexis Ballier gentoo-dev 2011-07-07 02:53:43 UTC
should be fixed as in 0.9.6 afaik