Created attachment 372476 [details] build.log.tar.bz2 * Package: media-libs/mesa-9.2.5-r1 * Repository: gentoo * Maintainer: x11@gentoo.org * USE: arm classic egl elibc_glibc gallium gbm gles2 kernel_linux llvm nptl userland_GNU wayland * FEATURES: preserve-libs sandbox test userpriv usersandbox libtool: compile: armv5tel-softfloat-linux-gnueabi-gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"9.2.5\" "-DPACKAGE_STRING=\"Mesa 9.2.5\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -D PACKAGE=\"mesa\" -DVERSION=\"9.2.5\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT _POINTER=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -DHAVE_LIBEXPAT=1 -I. -I../../../../include -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -D_GNU_SOURCE -DHAVE_PTHREAD -DTEXTURE_FLOAT_ENABLED -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DGLX_INDIRECT_REN DERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0303 -I../../../../include -I../../../../src/gallium/drivers -I../../../../src/gallium/winsys -I../../../../src/gallium/include -I ../../../../src/gallium/auxiliary -I../../../../src/gallium/state_trackers/egl -I../../../../src/egl/main -D_EGL_MAIN=_eglMain -I/usr/include/libdrm -I/usr/include/libdrm -I/usr/include/libdrm -I../../../../src/mesa -DFEATURE_GL=1 -DFEATURE_ES2=1 -DGALLIUM_SOFTPIPE -DGALL IUM_RBUG -DGALLIUM_TRACE -DGALLIUM_LLVMPIPE -pthread -O2 -march=armv5te -pipe -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -c egl_st.c -fPIC -DPIC -o .libs/egl_st.o /bin/sh ../../../../libtool --tag=CXX --mode=link armv5tel-softfloat-linux-gnueabi-g++ -O2 -march=armv5te -pipe -Wall -fno-strict-aliasing -fno-builtin-memcmp -Wl,--no-undefined -Wl,--allow-multiple-definition -avoid-version -module -L/usr/lib -lz -lpthread -lffi -l dl -lm -Wl,-O1 -Wl,--as-needed -o egl_gallium.la -rpath /usr/lib/egl egl.lo egl_pipe.lo egl_st.lo ../../../../src/gallium/auxiliary/libgallium.la ../../../../src/gallium/drivers/identity/libidentity.la ../../../../src/gallium/drivers/trace/libtrace.la ../../../../src/gal lium/drivers/rbug/librbug.la ../../../../src/gallium/state_trackers/egl/libegl.la ../../../../src/egl/main/libEGL.la -ludev -ldl -lpthread -lm ../../../../src/gallium/winsys/sw/xlib/libws_xlib.la -lX11 -lXext -lXfixes -ldrm ../../../../src/gallium/winsys/sw/wayland/l ibws_wayland.la ../../../../src/egl/wayland/wayland-drm/libwayland-drm.la -ldrm -lwayland-client -lwayland-server ../../../../src/gbm/libgbm.la -ldrm ../../../../src/mesa/libmesagallium.la ../../../../src/mapi/shared-glapi/libglapi.la ../../../../src/gal lium/drivers/softpipe/libsoftpipe.la ../../../../src/gallium/drivers/llvmpipe/libllvmpipe.la -lLLVMMCJIT -lLLVMBitWriter -lLLVMARMDisassembler -lLLVMARMCodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMARMAsmParser -lLLVMMCParser -lLLVMARMDesc -lLLVMARMInfo -lLLVMARMAsmPr inter -lLLVMJIT -lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMObjCARCOpts -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport libtool: link: armv5tel-softfloat-linux-gnueabi-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.7.3/../../../crti.o /usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.7.3/crtbeginS.o .libs/egl.o .libs/egl_pipe.o .libs/egl_st.o -Wl,--whole -archive ../../../../src/gallium/auxiliary/.libs/libgallium.a ../../../../src/gallium/drivers/identity/.libs/libidentity.a ../../../../src/gallium/drivers/trace/.libs/libtrace.a ../../../../src/gallium/drivers/rbug/.libs/librbug.a ../../../../src/gallium/state_trackers/eg l/.libs/libegl.a ../../../../src/gallium/winsys/sw/xlib/.libs/libws_xlib.a ../../../../src/gallium/winsys/sw/wayland/.libs/libws_wayland.a ../../../../src/egl/wayland/wayland-drm/.libs/libwayland-drm.a ../../../../src/mesa/.libs/libmesagallium.a ../../../../src/gallium/dr ivers/softpipe/.libs/libsoftpipe.a ../../../../src/gallium/drivers/llvmpipe/.libs/libllvmpipe.a -Wl,--no-whole-archive -Wl,-rpath -Wl,/var/tmp/portage/media-libs/mesa-9.2.5-r1/work/Mesa-9.2.5-default/src/egl/main/.libs -Wl,-rpath -Wl,/var/tmp/portage/media-libs/mesa-9.2. 5-r1/work/Mesa-9.2.5-default/src/gbm/.libs -Wl,-rpath -Wl,/var/tmp/portage/media-libs/mesa-9.2.5-r1/work/Mesa-9.2.5-default/src/mapi/shared-glapi/.libs -L/var/tmp/portage/media-libs/mesa-9.2.5-r1/work/Mesa-9.2.5-default/src/gbm/.libs -L/var/tmp/portage/media-libs/mesa-9.2 .5-r1/work/Mesa-9.2.5-default/src/mapi/shared-glapi/.libs -L/usr/lib -Wl,--as-needed ../../../../src/egl/main/.libs/libEGL.so -lX11-xcb -lxcb-dri2 -lxcb-xfixes -lxcb-render -lxcb-shape -lxcb /var/tmp/portage/media-libs/mesa-9.2.5-r1/work/Mesa-9.2.5-default/src/gbm/.libs/l ibgbm.so -lX11 -lXext -lXfixes ../../../../src/gbm/.libs/libgbm.so -ludev -lwayland-client -lwayland-server /var/tmp/portage/media-libs/mesa-9.2.5-r1/work/Mesa-9.2.5-default/src/mapi/shared-glapi/.libs/libglapi.so -ldrm ../../../../src/mapi/shared-glapi/.libs/libglapi.so -lz -lpthread -lffi -ldl -lLLVMMCJIT -lLLVMBitWriter -lLLVMARMDisassembler -lLLVMARMCodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMARMAsmParser -lLLVMMCParser -lLLVMARMDesc -lLLVMARMInfo -lLLVMARMAsmPrinter -lLLVMJIT -lLLVMRuntimeDyld -lLLVMExecutionEngine -lLLVMCodeGe n -lLLVMObjCARCOpts -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMObject -lLLVMCore -lLLVMSupport -L/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.7.3 -L/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.7.3/../ ../../../armv5tel-softfloat-linux-gnueabi/lib -L/usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.7.3/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.7.3/crtendS.o /usr/lib/gcc/armv5tel-softfloat-linux-gnueabi/4.7.3/../../../crtn.o -O2 -ma rch=armv5te -Wl,--no-undefined -Wl,--allow-multiple-definition -Wl,-O1 -pthread -Wl,-soname -Wl,egl_gallium.so -o .libs/egl_gallium.so /usr/lib/libLLVMARMCodeGen.a(ARMTargetMachine.o): In function `llvm::ARMTargetMachine::~ARMTargetMachine()': (.text._ZN4llvm16ARMTargetMachineD2Ev[_ZN4llvm16ARMTargetMachineD5Ev]+0x40): undefined reference to `llvm::TargetFrameLowering::~TargetFrameLowering()' /usr/lib/libLLVMARMCodeGen.a(ARMTargetMachine.o): In function `llvm::ARMTargetMachine::~ARMTargetMachine()': (.text._ZN4llvm16ARMTargetMachineD2Ev[_ZN4llvm16ARMTargetMachineD5Ev]+0x60): undefined reference to `llvm::TargetLoweringBase::~TargetLoweringBase()' /usr/lib/libLLVMARMCodeGen.a(ARMTargetMachine.o): In function `llvm::ThumbTargetMachine::~ThumbTargetMachine()': (.text._ZN4llvm18ThumbTargetMachineD2Ev[_ZN4llvm18ThumbTargetMachineD5Ev]+0x60): undefined reference to `llvm::TargetLoweringBase::~TargetLoweringBase()' /usr/lib/libLLVMARMCodeGen.a(ARMTargetMachine.o): In function `llvm::ThumbTargetMachine::~ThumbTargetMachine()': (.text._ZN4llvm18ThumbTargetMachineD0Ev[_ZN4llvm18ThumbTargetMachineD0Ev]+0x60): undefined reference to `llvm::TargetLoweringBase::~TargetLoweringBase()' /usr/lib/libLLVMARMCodeGen.a(ARMTargetMachine.o): In function `llvm::ARMTargetMachine::~ARMTargetMachine()': (.text._ZN4llvm16ARMTargetMachineD0Ev[_ZN4llvm16ARMTargetMachineD0Ev]+0x40): undefined reference to `llvm::TargetFrameLowering::~TargetFrameLowering()' /usr/lib/libLLVMARMCodeGen.a(ARMTargetMachine.o): In function `llvm::ARMTargetMachine::~ARMTargetMachine()': ... collect2: error: ld returned 1 exit status gmake[3]: *** [egl_gallium.la] Error 1 gmake[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.2.5-r1/work/Mesa-9.2.5-default/src/gallium/targets/egl-static' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.2.5-r1/work/Mesa-9.2.5-default/src/gallium/targets' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.2.5-r1/work/Mesa-9.2.5-default/src' make: *** [all-recursive] Error 1 * ERROR: media-libs/mesa-9.2.5-r1::gentoo failed (compile phase): * emake failed Portage 2.2.8-r1 (default/linux/arm/13.0/armv5te/desktop, gcc-4.7.3, glibc-2.17, 3.10.25-gentoo armv5tel) ================================================================= System uname: Linux-3.10.25-gentoo-armv5tel-with-gentoo-2.2 KiB Mem: 513244 total, 12872 free KiB Swap: 614396 total, 597300 free Timestamp of tree: Sun, 09 Mar 2014 14:30:02 +0000 ld GNU ld (GNU Binutils) 2.23.2 distcc 3.1 armv5tel-softfloat-linux-gnueabi [disabled] ccache version 3.1.9 [disabled] app-shells/bash: 4.2_p45 dev-lang/python: 2.6.8-r3, 2.7.5-r3, 3.2.5-r3, 3.3.3 dev-util/ccache: 3.1.9-r3 dev-util/cmake: 2.8.11.2 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.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.6.3, 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo ACCEPT_KEYWORDS="arm" ACCEPT_LICENSE="* -@EULA" CBUILD="armv5tel-softfloat-linux-gnueabi" CFLAGS="-O2 -march=armv5te -pipe" CHOST="armv5tel-softfloat-linux-gnueabi" CONFIG_PROTECT="/etc /usr/lib/python2.7/site-packages/buildbot/status/web /usr/share/gnupg/qualified.txt /var/bind /var/vpopmail/etc" 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.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/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="-O2 -march=armv5te -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n --jobs=2 --keep-going --with-bdeps=y" FCFLAGS="-O2 -pipe -march=armv5te" FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe -march=armv5te" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" PKGDIR="/usr/portage/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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://192.168.1.168/gentoo-portage" USE="X a52 aac acl acpi alsa apache2 arm berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv jpeg kpathsea lcms ldap libnotify mad mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell ssl startup-notification svg tcpd test tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvid zlib" 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" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-2 php5-3 php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_6 python2_7 python3_2 python3_3" RUBY_TARGETS="ruby18 ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy v4l" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
I have never heard of llvmpipe working on ARM. Cc'ing vapier -- 27 Feb 2013; Mike Frysinger <vapier@gentoo.org> package.use.mask: Unmask USE=llvm for newer mesa.
(In reply to Matt Turner from comment #1) > I have never heard of llvmpipe working on ARM. Just tested on armv7, builds without issues.
(In reply to Markus Meier from comment #2) > (In reply to Matt Turner from comment #1) > > I have never heard of llvmpipe working on ARM. > > Just tested on armv7, builds without issues. Does it actually work?
(In reply to Matt Turner from comment #3) > (In reply to Markus Meier from comment #2) > > (In reply to Matt Turner from comment #1) > > > I have never heard of llvmpipe working on ARM. > > > > Just tested on armv7, builds without issues. > > Does it actually work? X.org seems to work without issues. mplayer and glxgears also work. But I guess we should fix this on armv5 (maybe v6 is also affected) anyway.
what about to have it unmasked only for armv7?
(In reply to Agostino Sarubbo from comment #5) > what about to have it unmasked only for armv7? If you mean to package.use.mask media-libs/mesa[llvm] and just unmask it on armv7, that would work for me - but please not package.mask it. @x11/vapier: Any objections to package.use.mask it on arm and unmask on armv7?
mesa-10.0.4[llvm] built fine on my Raspberry Pi (armv6).
(In reply to Markus Meier from comment #6) > @x11/vapier: Any objections to package.use.mask it on arm and unmask on > armv7? Seems fine to me. You should test newer versions of LLVM and Mesa as well.
(In reply to Markus Meier from comment #6) restricting to armv7 is fine. it's the only platform that can really perform.
Is there anything to be done here?