Summary: | media-libs/mesa-17.1.10 - .../work/mesa-17.1.10/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp:346:56: error: no matching function for call to ‘llvm::RTDyldMemoryManager::deregisterEHFrames(uint8_t*&, uint64_t&, size_t&)’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | rhogenson |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexander, ansla80, awkravchuk, poncho |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log.xz
gallivm: Fix build against LLVM SVN >= r302589 |
Description
rhogenson
2017-12-11 05:13:10 UTC
$ emerge --info '=media-libs/mesa-17.1.10::gentoo' Portage 2.3.17 (python 3.5.4-final-0, default/linux/amd64/17.0, gcc-7.2.0, glibc-2.25-r9, 4.12.12-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i7-5600U_CPU_@_2.60GHz-with-gentoo-2.4.1 KiB Mem: 8072420 total, 2624824 free KiB Swap: 15793472 total, 15793472 free Timestamp of repository gentoo: Mon, 11 Dec 2017 00:08:25 +0000 Head commit of repository gentoo: 123bdf51bb75b76685d2e4c57f207c580eb48912 Timestamp of repository haskell: Sun, 10 Dec 2017 07:34:51 +0000 Head commit of repository haskell: 9671846a11ced9b0a93754098410bf2340e00429 Timestamp of repository steam-overlay: Wed, 06 Dec 2017 14:01:17 +0000 Head commit of repository steam-overlay: d6cd876a37a63befd664c18c9851284689a1714f sh bash 4.3_p48-r1 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 app-shells/bash: 4.3_p48-r1::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo dev-util/cmake: 3.8.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.15.1-r1::gentoo sys-devel/binutils: 2.29.1-r1::gentoo sys-devel/gcc: 7.2.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r9::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo priority: -1000 haskell location: /var/db/repos/haskell sync-type: git sync-uri: https://github.com/gentoo-mirror/haskell.git masters: gentoo localrepo location: /usr/local/portage masters: gentoo steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" 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 /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" EMERGE_DEFAULT_OPTS="--quiet-build" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://mirrors.rit.edu/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://cosmos.illinois.edu/pub/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl acpi alsa amd64 berkdb bzip2 cli cracklib crypt cups cxx dbus dri fortran gdbm iconv ipv6 jpeg modules multilib ncurses networkmanager nls nptl openmp pam pcre png readline seccomp session ssl tcpd unicode xattr 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="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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" 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-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS $ emerge -pqv '=media-libs/mesa-17.1.10::gentoo' [ebuild UD] media-libs/mesa-17.1.10 [17.3.0] USE="classic dri3 egl gallium gbm llvm nptl -bindist -d3d9 -debug -gles1 -gles2 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -unwind -vaapi -valgrind -vdpau -vulkan -wayland -xa -xvmc" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="i965 intel (-freedreno) -i915 (-imx) -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) (-vivante) -vmware (-virgl%)" Link to build.log since it is too large to upload here: https://s3.amazonaws.com/rays-misc-files/build.log It's better to compress the log file instead of posting a link. Anyway, from the error message it looks like you are building mesa against llvm 5, which is indeed too new for that version of mesa. /usr/lib64/llvm/5/include/llvm/ExecutionEngine/RTDyldMemoryManager.h:73:8: note: candidate: virtual void llvm::RTDyldMemoryManager::deregisterEHFrames() void deregisterEHFrames() override; ^~~~~~~~~~~~~~~~~~ /usr/lib64/llvm/5/include/llvm/ExecutionEngine/RTDyldMemoryManager.h:73:8: note: candidate expects 0 arguments, 3 provided Created attachment 509590 [details] build.log.xz (In reply to rhogenson from comment #3) > Link to build.log since it is too large to upload here: > https://s3.amazonaws.com/rays-misc-files/build.log That's 56 kilobytes compressed with xz. Created attachment 509592 [details, diff] gallivm: Fix build against LLVM SVN >= r302589 I think I've got the same failure. The Patch from https://patchwork.freedesktop.org/patch/155245/ dropped into /etc/portage/patches/media-libs/mesa fixed the build for me. Patch worked for me, too. Fails with LLVM 5.0.1 as well. (In reply to Guilherme Amadio from comment #8) > Fails with LLVM 5.0.1 as well. This is a bug #618546 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53123145d790b74aad2a4a8bb3cbfb7c64c1040f commit 53123145d790b74aad2a4a8bb3cbfb7c64c1040f Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2017-12-27 19:34:29 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2017-12-27 19:37:25 +0000 media-libs/mesa: Bind LLVM deps to <4 (= slot 0) in 17.1.10 Closes: https://bugs.gentoo.org/640650 Closes: https://bugs.gentoo.org/641908 media-libs/mesa/mesa-17.1.10.ebuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) |