Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544976 - media-libs/mesa-10.3.7-r1 build failed with abi_x86_32
Summary: media-libs/mesa-10.3.7-r1 build failed with abi_x86_32
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on: 501328
Blocks:
  Show dependency tree
 
Reported: 2015-03-29 16:37 UTC by Dmitry
Modified: 2016-04-07 10:02 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.gz,162.06 KB, application/gzip)
2015-03-29 16:37 UTC, Dmitry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry 2015-03-29 16:37:24 UTC
Created attachment 400054 [details]
build.log

media-libs/mesa-10.3.7-r1 build failed with abi_x86_32+abi_x86_64 on amd64 with nvidia-drivers.

Yes, I'm using "eselect opengl set xorg-x11 ; emerge -1 mesa"
No, it does not help anymore (abi_x86_32).

Can be related to https://bugs.gentoo.org/show_bug.cgi?id=501328

mesa USE flags: "classic dri3 egl gallium gbm gles2 llvm nptl opencl openvg osmesa udev vdpau xvmc"
VIDEO_CARDS="nouveau"

Last part of build output:
===...lots of other undefined reference errors here...===
native_dri2.c:(.text+0xca4): undefined reference to `_eglLog'
native_dri2.c:(.text+0xdae): undefined reference to `_eglLog'
../../../../src/gallium/state_trackers/egl/.libs/libegl.a(native_x11.o): In function `native_create_display':
native_x11.c:(.text+0x62): undefined reference to `_eglLog'
../../../../src/gallium/state_trackers/egl/.libs/libegl.a(x11_screen.o):x11_screen.c:(.text+0x557): more undefined references to `_eglLog' follow
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'egl_gallium.la' with the above command before installing it
Makefile:857: recipe for target 'install-eglLTLIBRARIES' failed
--------------------------------

emerge --info

Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.20-r2, 3.18.9-gentoo x86_64)
=================================================================
System uname: Linux-3.18.9-gentoo-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-2.2
KiB Mem:     8048772 total,   1999020 free
KiB Swap:   10485756 total,  10408708 free
Timestamp of tree: Sun, 29 Mar 2015 00:45:02 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.6
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r2
Repositories: gentoo haskell gamerlay mozilla x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x google-talkplugin NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.5/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=amdfam10 -O2 -pipe"
DISTDIR="/home/ftp/gentoo/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/home/ftp/gentoo/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/fast-cache/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/haskell /var/lib/layman/gamerlay /var/lib/layman/mozilla /var/lib/layman/tox-overlay /usr/local/portage"
USE="3dnow 3dnowext 64bit X a52 aac acl acpi aio alsa amd64 android apache2 bash-completion berkdb bluetooth branding bzip2 cairo caja cdda cdr chm cli cmake consolekit cracklib crypt cups cxx dbus device-mapper djvu dri dts dvd dvdr eclipse emacs emboss encode exif fam fat ffmpeg firefox flac fontconfig fortran g3dvl gd gdbm ghcbootstrap gif glamor gmp gpm gstreamer gtk gtk3 iconv icu iproute2 ipv6 jpeg jpeg2k kde lame lcms ldap libass libnotify lm_sensors logrotate lto mad mate mdadm mmx mmxext mng modules mozilla mp3 mp4 mpeg mplayer multilib mysql mysqli ncurses nls nptl ntfs nvidia ogg openal opencl opengl openmp openrc openvg opus osmesa pam pango pcre pdf png policykit ppds pulseaudio python qt3support qt4 readline reiser4 reiserfs samba sdl semantic-desktop session sftp silc spell sqlite sse sse2 sse4a ssh ssl startup-notification svg system-jpeg tcpd theora threads tiff truetype udev udisks unicode upower usb vaapi vdpau vnc vorbis vpx wxwidgets x264 xattr xcb xcomposite xinerama xml xnest xorg xv xvid xvmc zip zlib" ABI_X86="64" 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" APACHE2_MODULES="access auth auth_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so filter unique_id authz_host auth_basic" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 3dnowext 3dnow sse4a" DRACUT_MODULES="biosdevname lvm mdraid multipath syslog crypt" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev wacom joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ja" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau vesa vga" 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"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2015-03-30 20:44:08 UTC

*** This bug has been marked as a duplicate of bug 505646 ***
Comment 2 Alex Efros 2015-03-30 21:03:05 UTC
I'm not sure it's a duplicate, because workaround with switching opengl doesn't work with abi_x86_32.
Comment 3 Dmitry 2015-03-30 21:19:12 UTC
I agree, this is another problem. Old workaround does not work for that.
Obviously, I'm not only person facing that bug.
And due to big ABI migration, many of other people can run into that problem.
Please confirm that report.
Comment 4 Andrew Savchenko gentoo-dev 2015-04-02 11:34:15 UTC
Looks like bug is the same as bug 501328, but workaround doesn't work for this environment, so I'm depending this bug on 501328.
Comment 5 Christoph Löhr 2015-04-03 14:26:13 UTC
I there any workaround ? I'm stuck.
Comment 6 Matt Turner gentoo-dev 2015-04-03 17:27:52 UTC
I'd try an unstable version. I believe 10.5.2 has removed the extra _egl* symbols.
Comment 7 Dmitry 2015-04-06 18:10:11 UTC
I can confirm media-libs/mesa-10.4.4 and media-libs/mesa-10.5.2 can be compiled and installed without any "eselect opengl" actions with ABI_X86="32 64".
I tested media-libs/mesa-10.5.2 for a while and it work stable without problems.
Comment 8 Dmitry 2016-04-07 10:02:46 UTC
Fixed in modern stable version (11.0.6).