Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504058 - media-libs/mesa ABI_X86="32" - fails with egl.c:71: error: undefined reference to '_eglLog'
Summary: media-libs/mesa ABI_X86="32" - fails with egl.c:71: error: undefined referenc...
Status: RESOLVED DUPLICATE of bug 501328
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
Depends on:
Reported: 2014-03-10 09:41 UTC by Justin Lecher (RETIRED)
Modified: 2014-03-10 10:41 UTC (History)
0 users

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

mesa-10.1.0:20140310-093030.log.xz (mesa-10.1.0:20140310-093030.log.xz,58.28 KB, text/plain)
2014-03-10 09:42 UTC, Justin Lecher (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2014-03-10 09:41:26 UTC
gcc/x86_64-pc-linux-gnu/4.8.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/32/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../lib32/crtn.o  -m32 -O2 -march=native -Wl,--no-undefined -Wl,--allow-multiple-definition -Wl,-O1 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--version-script=../../../../src/gallium/targets/egl-static/   -pthread -Wl,-soname -Wl, -o .libs/
egl.c:71: error: undefined reference to '_eglLog'
egl.c:71: error: undefined reference to '_eglLog'
egl.c:73: error: undefined reference to '_eglLog'
egl.c:99: error: undefined reference to '_eglLog'
common/egl_g3d_api.c:820: error: undefined reference to '_eglError'
common/egl_g3d_api.c:810: error: undefined reference to '_eglError'
common/egl_g3d_api.c:812: error: undefined reference to '_eglError'
common/egl_g3d_api.c:808: error: undefined reference to '_eglError'
common/egl_g3d_api.c:641: error: undefined reference to '_eglGetCurrentContext'
common/egl_g3d_api.c:357: error: undefined reference to '_eglInitSurface'
common/egl_g3d_api.c:696: error: undefined reference to '_eglGetAPIContext'
common/egl_g3d_api.c:125: error: undefined reference to '_eglParseConfigAttribList'
common/egl_g3d_api.c:139: error: undefined reference to '_eglFilterConfigArray'
common/egl_g3d_api.c:102: error: undefined reference to '_eglCompareConfigs'
common/egl_g3d_api.c:116: error: undefined reference to '_eglMatchConfig'
common/egl_g3d_api.c:557: error: undefined reference to '_eglGetCurrentContext'
common/egl_g3d_api.c:676: error: undefined reference to '_eglGetCurrentContext'
common/egl_g3d_api.c:254: error: undefined reference to '_eglInitSurface'
common/egl_g3d_api.c:763: error: undefined reference to '_eglGetAPIContext'
../../../../src/egl/main/eglcontext.h:99: error: undefined reference to '_eglPutResource'
common/egl_g3d_api.c:160: error: undefined reference to '_eglInitContext'
../../../../src/egl/main/eglsurface.h:120: error: undefined reference to '_eglPutResource'
common/egl_g3d_api.c:497: error: undefined reference to '_eglBindContext'
../../../../src/egl/main/eglcontext.h:99: error: undefined reference to '_eglPutResource'
../../../../src/egl/main/eglsurface.h:120: error: undefined reference to '_eglPutResource'
common/egl_g3d_api.c:535: error: undefined reference to '_eglBindContext'
common/egl_g3d_api.c:893: error: undefined reference to '_eglInitDriverFallbacks'
common/egl_g3d.c:489: error: undefined reference to '_eglReleaseDisplayResources'
common/egl_g3d.c:492: error: undefined reference to '_eglDestroyArray'
common/egl_g3d.c:496: error: undefined reference to '_eglDestroyArray'
common/egl_g3d.c:500: error: undefined reference to '_eglCleanupDisplay'
common/egl_g3d.c:195: error: undefined reference to '_eglInitScreen'
common/egl_g3d.c:212: error: undefined reference to '_eglLinkScreen'
common/egl_g3d.c:448: error: undefined reference to '_eglInitConfig'
common/egl_g3d.c:324: error: undefined reference to '_eglValidateConfig'
common/egl_g3d.c:457: error: undefined reference to '_eglLinkConfig'
common/egl_g3d_image.c:238: error: undefined reference to '_eglInitImage'
common/egl_g3d_image.c:144: error: undefined reference to '_eglParseImageAttribList'
common/egl_g3d_image.c:321: error: undefined reference to '_eglInitImage'
common/egl_g3d_image.c:76: error: undefined reference to '_eglParseImageAttribList'
../../../../src/egl/main/eglimage.h:145: error: undefined reference to '_eglCheckResource'
common/egl_g3d_sync.c:154: error: undefined reference to '_eglGetCurrentContext'
common/egl_g3d_sync.c:169: error: undefined reference to '_eglInitSync'
../../../../src/egl/main/eglsync.h:68: error: undefined reference to '_eglGetResource'
collect2: error: ld returned 1 exit status
libtool: install: error: relink `' with the above command before installing it
Makefile:879: recipe for target 'install-eglLTLIBRARIES' failed
gmake[4]: *** [install-eglLTLIBRARIES] Error 1
gmake[4]: Leaving directory '/var/tmp/portage/media-libs/mesa-10.1.0/work/Mesa-10.1.0-x86/src/gallium/targets/egl-static'

$ einfo mesa
Portage 2.2.8-r1 (default/linux/amd64/13.0, gcc-4.8.2-asneeded, glibc-2.18-r1, 3.13.5-lh x86_64)
                         System Settings
System uname: Linux-3.13.5-lh-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16467852 total,    541536 free
KiB Swap:    4194300 total,   4182284 free
Timestamp of tree: Mon, 10 Mar 2014 06:30:01 +0000
ld GNU gold (GNU Binutils 2.24) 1.11
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.4
dev-util/ccache:          3.1.9-r3
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.1.2, 4.7.3-r1, 4.8.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo sunrise bicatali betagarden dummy Neurogeek science last-hope
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g -Wimplicit-function-declaration"
CONFIG_PROTECT="/etc /usr/share/eselect/ /usr/share/gnupg/qualified.txt /usr/share/nano/ /var/lib/hsqldb /var/spool/munin-async/.ssh /var/spool/torque"
CONFIG_PROTECT_MASK="/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="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g -Wenum-compare"
EMERGE_DEFAULT_OPTS=" -vt --keep-going --autounmask-write --autounmask --quiet-build=n"
FCFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g"
FEATURES="assume-digests binpkg-logs buildsyspkg ccache cgroup collision-protect compressdebug distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -ftracer   -march=native -frecord-gcc-switches -g"
GENTOO_MIRRORS=" /mnt/tmpfs/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
MAKEOPTS="-j8 -l3"
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"
PORTDIR_OVERLAY="/local/overlays/sunrise-reviewed /local/overlays/bicatali /local/overlays/betagarden /local/overlays/dummy /local/overlays/neurogeek /local/overlays/sci /local/overlays/lh-overlay"
USE="X acl alsa amd64 avx bash-completion berkdb branding bzip2 cairo caps cli cracklib crypt cups cxx dbus dri fortran gdbm gif gmp gstreamer gtk gtk3 iconv icu ipv6 jpeg jpeg2k ldap logrotate mmx mmxext modules multilib ncurses network-cron nls nptl nsplugin numa opengl openmp pam pcre pgo png pulseaudio qt3support readline session smp sse sse2 sse2_4way sse2check sse3 sse4 sse41 sse4_1 sse4a sse5 ssl ssse3 startup-notification tcpd threads tiff truetype unicode vaapi vdpau xattr xinerama zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" 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" GRUB_PLATFORMS="efi-32 efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport scripting-javascript wiki-publisher nlpsolver" LINGUAS="en" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi stub_status" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64 arm armeb" QEMU_USER_TARGETS="i386 x86_64 arm armeb" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"

                        Package Settings

media-libs/mesa-9.2.5-r1 was built with the following:
USE="classic egl gallium gles2 llvm nptl openvg vdpau -bindist -debug -gbm -gles1 -llvm-shared-libs -opencl -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -wayland -xa -xorg -xvmc" ABI_X86="64 -32 -x32" VIDEO_CARDS="-freedreno -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware"
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2014-03-10 09:42:08 UTC
Created attachment 372266 [details]

Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2014-03-10 10:31:50 UTC
could be a duplicate of bug 501328
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2014-03-10 10:41:53 UTC
Although I could emerge the older version fine, I think it is a duplicate, as using xorg-x11 as opengl provider fixes the issue.

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