Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443934 - x11-libs/libva-intel-driver-1.0.19 - In function `hsw_veb_iecp_pro_amp_table': gen75_vpp_vebox.c:(.text+0x6f1): undefined reference to `cos'
Summary: x11-libs/libva-intel-driver-1.0.19 - In function `hsw_veb_iecp_pro_amp_table'...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: underlinking
  Show dependency tree
 
Reported: 2012-11-19 17:06 UTC by gringo
Modified: 2012-12-08 15:27 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,10.06 KB, text/plain)
2012-11-19 17:08 UTC, gringo
Details
verbose build.log (build.log,26.99 KB, text/plain)
2012-11-22 09:31 UTC, gringo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gringo 2012-11-19 17:06:14 UTC
when trying to emerge libva-intel-driver i get following error :

  CC     i965_drv_video_la-intel_driver.lo
intel_batchbuffer_dump.c:155:1: warning: ‘dump_avc_bsd_slice_state’ defined but not used [-Wunused-function]
  CC     i965_drv_video_la-intel_memman.lo
  CC     i965_drv_video_la-object_heap.lo
  CC     i965_drv_video_la-i965_output_dri.lo
  CCLD   i965_drv_video.la
.libs/i965_drv_video_la-gen75_vpp_vebox.o: In function `hsw_veb_iecp_pro_amp_table':
gen75_vpp_vebox.c:(.text+0x6f1): undefined reference to `cos'
gen75_vpp_vebox.c:(.text+0x77b): undefined reference to `sin'
collect2: error: ld returned 1 exit status
make[3]: *** [i965_drv_video.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
emake failed

emerge --info 

Portage 2.2.0_alpha142 (default/linux/amd64/10.0/desktop/gnome, gcc-4.7.2, glibc-2.16.0, 3.7.0-rc6 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.7.0-rc6-x86_64-Intel-R-_Core-TM-_i5_CPU_M_520_@_2.40GHz-with-gentoo-2.2
Timestamp of tree: Mon, 19 Nov 2012 14:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p39
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.10.1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.2::x-overlay
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r5::gnome
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo gnome x-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -mtune=corei7 -mcx16 -msahf -maes -msse4.2 -msse4.1 -mno-movbe -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -mtune=corei7 -mcx16 -msahf -maes -msse4.2 -msse4.1 -mno-movbe -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx -mno-avx2 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=3072 -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going -q --jobs=3 --quiet-unmerge-warn --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks fixlafiles merge-sync news nodoc noinfo noman parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="es es_ES"
MAKEOPTS="-j6 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--delete-excluded --exclude ChangeLog --exclude=metadata/cache/*"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gnome /usr/local/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 archive bash-completion bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dga dri dts dvd dvdr eds emboss encode evo exif faac ffmpeg firefox flac fortran gif gnome gnome-keyring gphoto2 gpm gstreamer gtk iconv java jpeg lcms libnotify mad mmx modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf pic png policykit ppds pppd pulseaudio qt3support readline samba sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vorbis vpx x264 xcb xml xv xvid zlib" 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es es_ES" PHP_TARGETS="php5-3" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64 ppc ppc64 arm" QEMU_USER_TARGETS="i386 x86_64 ppc ppc64 arm" RUBY_TARGETS="ruby19" SANE_BACKENDS="plustek plustek_pp" USERLAND="GNU" VIDEO_CARDS="intel" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

[ebuild     U ] x11-libs/libva-intel-driver-1.0.19 [1.0.18-r1] USE="X%* -wayland%" 

thanks !
Comment 1 gringo 2012-11-19 17:08:33 UTC
Created attachment 329964 [details]
build.log
Comment 2 Alexis Ballier gentoo-dev 2012-11-21 18:24:37 UTC
cannot reproduce it but i dont know why...
could you please reattach a build log after syncing your portage tree ? I've changed the ebuild to disable silent rules, we should be able to better understand it like that.
Comment 3 gringo 2012-11-22 09:31:31 UTC
Created attachment 330226 [details]
verbose build.log

attached new build.log, im not able to see anything different apart from more noise in the build/ link phase.

thanks for your time !
Comment 4 gringo 2012-11-30 15:40:43 UTC
just for the record : this system has been completely rebuilt in the last few days and the same problem remains with libva-intel-driver-1.0.19.

In case you want me to test something pls. just let me know, the live ebuild in  portage tree _did_ build just fine BTW. I built it twice : once 2 days ago and again today morning without any problems. I made a few tests and the software is apparently working fine.

I searched in the upstraem bugtracker but havent been able to find anything somehow related. Do you want me to open a bug there ?

thanks !
Comment 5 Alexis Ballier gentoo-dev 2012-11-30 17:48:19 UTC
(In reply to comment #4)
> just for the record : this system has been completely rebuilt in the last
> few days and the same problem remains with libva-intel-driver-1.0.19.
> 
> In case you want me to test something pls. just let me know, the live ebuild
> in  portage tree _did_ build just fine BTW. I built it twice : once 2 days
> ago and again today morning without any problems. I made a few tests and the
> software is apparently working fine.

good information, i'll need to backport this patch when i'll get back home:

http://cgit.freedesktop.org/vaapi/intel-driver/commit/?id=eb39abb70886d9277cf7d5114125cb7b22e7c362

this will fix your issue

> I searched in the upstraem bugtracker but havent been able to find anything
> somehow related. Do you want me to open a bug there ?

no need since this is fixed upstream
Comment 6 gringo 2012-12-01 09:25:14 UTC
> http://cgit.freedesktop.org/vaapi/intel-driver/commit/
> ?id=eb39abb70886d9277cf7d5114125cb7b22e7c362

thanks, patch worked for me !
Comment 7 Alexis Ballier gentoo-dev 2012-12-08 15:27:02 UTC
(In reply to comment #6)
> > http://cgit.freedesktop.org/vaapi/intel-driver/commit/
> > ?id=eb39abb70886d9277cf7d5114125cb7b22e7c362
> 
> thanks, patch worked for me !

applied then