Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mesa-17.1.0: no matching function ‘llvm::RTDyldMemory$
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Wallsandfences
Guru
Guru


Joined: 29 Mar 2010
Posts: 378

PostPosted: Thu Dec 07, 2017 7:13 pm    Post subject: mesa-17.1.0: no matching function ‘llvm::RTDyldMemory$ Reply with quote

[Moderator note: changed thread title from mesa does not build to be useful. -Hu]

here is the error:
Code:
17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/'`vl/vl_bicubic_filter.c
make[4]: *** [Makefile:2337: gallivm/lp_bld_misc.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" "-DPACKAGE_STRING=\"Mesa 17.1.10\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"17.1.10\" -D_FILE_OFFSET_BITS=64 -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___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1 -DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1 -DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1 -DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1 -DHAVE_FUNC_ATTRIBUTE_ALIAS=1 -DMAJOR_IN_SYSMACROS=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -I. -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/loader -I../../../src/compiler/nir -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/util -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/include -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/include -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_STRTOD_L -DHAVE_DLOPEN -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_DRI3 -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0500 -DMESA_LLVM_VERSION_PATCH=0 -fvisibility=hidden -Werror=pointer-arith -Werror=vla -I/usr/include/libdrm -I/usr/lib64/llvm/5/include -DLLVM_BUILD_GLOBAL_ISEL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -march=native -pipe -fomit-frame-pointer -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-math-errno -fno-trapping-math -c /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/gallivm/lp_bld_type.c  -fPIC -DPIC -o gallivm/.libs/lp_bld_type.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" "-DPACKAGE_STRING=\"Mesa 17.1.10\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"17.1.10\" -D_FILE_OFFSET_BITS=64 -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___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1 -DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1 -DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1 -DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1 -DHAVE_FUNC_ATTRIBUTE_ALIAS=1 -DMAJOR_IN_SYSMACROS=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -I. -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/loader -I../../../src/compiler/nir -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/util -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/include -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/include -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_STRTOD_L -DHAVE_DLOPEN -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_DRI3 -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0500 -DMESA_LLVM_VERSION_PATCH=0 -fvisibility=hidden -Werror=pointer-arith -Werror=vla -I/usr/include/libdrm -I/usr/lib64/llvm/5/include -DLLVM_BUILD_GLOBAL_ISEL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -march=native -pipe -fomit-frame-pointer -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-math-errno -fno-trapping-math -c /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/vl/vl_stubs.c  -fPIC -DPIC -o vl/.libs/vl_stubs.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" "-DPACKAGE_STRING=\"Mesa 17.1.10\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"17.1.10\" -D_FILE_OFFSET_BITS=64 -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___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1 -DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1 -DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1 -DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1 -DHAVE_FUNC_ATTRIBUTE_ALIAS=1 -DMAJOR_IN_SYSMACROS=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -I. -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/loader -I../../../src/compiler/nir -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/util -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/include -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/include -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_STRTOD_L -DHAVE_DLOPEN -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_DRI3 -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0500 -DMESA_LLVM_VERSION_PATCH=0 -fvisibility=hidden -Werror=pointer-arith -Werror=vla -I/usr/include/libdrm -I/usr/lib64/llvm/5/include -DLLVM_BUILD_GLOBAL_ISEL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/usr/include/libdrm -O2 -march=native -pipe -fomit-frame-pointer -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-math-errno -fno-trapping-math -c /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/vl/vl_bicubic_filter.c  -fPIC -DPIC -o vl/.libs/libgalliumvl_la-vl_bicubic_filter.o
make[4]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src/gallium/auxiliary'
make[3]: *** [Makefile:598: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src/gallium'
make[2]: *** [Makefile:851: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src'
make[1]: *** [Makefile:642: all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src'
make: *** [Makefile:643: all-recursive] Error 1
 * ERROR: media-libs/mesa-17.1.10::gentoo failed (compile phase):
 *   emake failed


emerge --info
Code:
emerge --info
Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-AMD_Athlon-tm-_II_X4_630_Processor-with-gentoo-2.4.1
KiB Mem:    12302036 total,   4932116 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Thu, 07 Dec 2017 16:25:07 +0000
Head commit of repository gentoo: ed69b6f688c1947dcdcf13464b3fe2909d6cb49b

Head commit of repository brother-overlay: b14dc2de8ad85aa12744eaf5af012a31e98acbb4

Head commit of repository steam-overlay: 699d267a7358ca340ee684e68e5366419f8e0ded

sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-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.10::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.13.4-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.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

brother-overlay
    location: /usr/local/overlay/brother-overlay
    sync-type: git
    sync-uri: git://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo

eva
    location: /var/lib/layman/eva
    masters: gentoo
    priority: 50

mrueg
    location: /var/lib/layman/mrueg
    masters: gentoo
    priority: 50

palemoon
    location: /var/lib/layman/palemoon
    masters: gentoo
    priority: 50

steam-overlay
    location: /usr/local/portage/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
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/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/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=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="(-selinux) 3dnow 3dnowext 3dnowprefetch X a52 aac abm acl acpi alsa amd64 apache2 apic berkdb bluetooth branding bzip2 cairo cdda cdr clflush cli cmov cmp_legacy colord constant_tsc cr8_legacy cracklib crypt cups cx16 cx8 cxx dbus de dri dts dvd dvdr eds egl emboss encode evo exif extapic extd_apicid fam ffh264vdpau ffmpeg firefox flac fortran fpu fxsr fxsr_opt gdbm gif glamor gles gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 ht hw_pstate ibs iconv icu introspection ipv6 jpeg lahf_lm lbrv lcms libnotify libsamplerate libsecret lm lm_sensors mad mca mce minizip misalignsse mmx mmxext mng modules monitor mono mp3 mp4 mpeg msr mtrr multilib mysql nautilus ncurses nls nonstop_tsc nopl npt nptl nrip_save nx ogg opengl openmp osvw pae pam pango pat pcre pdf pdpe1gb pge php pipe png policykit popcnt ppds pse pse36 pulseaudio python qt3support qt5 rdtscp readline rep_good sdl seccomp sep session skinit spell sse sse2 sse3 sse4a ssl startup-notification svg svm svm_lock syscall systemd tcpd telepathy threads thunderbird tiff tracker truetype tsc udev udisks unicode upower usb vaapi vala vdpau vme vmmcall vorbis wayland wdt weston winbind wxwidgets x264 xattr xcb xml xv xvid xvmc zlib" ABI_X86="64 32" ALSA_CARDS="rme96" 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="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" 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="evdev wacom" KERNEL="linux" L10N="de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="i386" QEMU_USER_TARGETS="i386" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Thu Dec 07, 2017 7:48 pm    Post subject: Reply with quote

It seems you cut out the actual error message from the output. It should be somewhere before the following line:
Code:
make[4]: *** [Makefile:2337: gallivm/lp_bld_misc.lo] Error 1
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Dec 07, 2017 8:21 pm    Post subject: Reply with quote

For troubleshooting one should use MAKEOPTS=-j1.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Wallsandfences
Guru
Guru


Joined: 29 Mar 2010
Posts: 378

PostPosted: Thu Dec 07, 2017 8:22 pm    Post subject: Reply with quote

wgetpaste seems to be down,

Code:
 wgetpaste /var/log/portage/media-libs:mesa-17.1.10:20171207-190034.log
Apparently nothing was received. Perhaps the connection failed. Enable --verbose or
--debug to get the output from wget that can help diagnose it correctly.


i looked up the log again:

Code:
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" "-DPACKAGE_STRING=\"Mesa 17.1.10\"" "-DPACK$
/bin/sh ../../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" -DPACKAGE_$
/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp: In member function ‘virtual void DelegatingJITMemoryManager::dereg$
/var/tmp/portage/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::RTDyldMemory$
          mgr()->deregisterEHFrames(Addr, LoadAddr, Size);
                                                        ^
In file included from /usr/lib64/llvm/5/include/llvm/ExecutionEngine/SectionMemoryManager.h:20:0,
                 from /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp:64:
/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
/bin/sh ../../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" -DPACKAGE_$
/bin/sh ../../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" -DPACKAGE_$
/bin/sh ../../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" -DPACKAGE_$
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" "-DPACKAGE_STRING=\"Mesa 17.1.10\"" "-DPACK$
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" "-DPACKAGE_STRING=\"Mesa 17.1.10\"" "-DPACK$
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" "-DPACKAGE_STRING=\"Mesa 17.1.10\"" "-DPACK$
/bin/sh ../../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" -DPACKAGE_$
/bin/sh ../../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" -DPACKAGE_$
make[4]: *** [Makefile:2337: gallivm/lp_bld_misc.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" "-DPACKAGE_STRING=\"Mesa 17.1.10\"" "-DPACK$
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" "-DPACKAGE_STRING=\"Mesa 17.1.10\"" "-DPACK$
libtool: compile:  x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" "-DPACKAGE_STRING=\"Mesa 17.1.10\"" "-DPACK$
make[4]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src/gallium/auxiliary'
make[3]: *** [Makefile:598: all-recursive] Error 1
Back to top
View user's profile Send private message
Wallsandfences
Guru
Guru


Joined: 29 Mar 2010
Posts: 378

PostPosted: Thu Dec 07, 2017 9:04 pm    Post subject: Reply with quote

Well, at least, makeopts=j1 altered the error message:
Code:
ST_VDPAU -DHAVE_LLVM=0x0500 -DMESA_LLVM_VERSION_PATCH=0 -I/usr/lib64/llvm/5/include  -std=c++11  -DLLVM_BUILD_GLOBAL_ISEL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -march=native -pipe -fomit-frame-pointer -Wall -fno-math-errno -fno-trapping-math  -c -o gallivm/lp_bld_misc.lo /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
libtool: compile:  x86_64-pc-linux-gnu-g++ -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"17.1.10\" "-DPACKAGE_STRING=\"Mesa 17.1.10\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"17.1.10\" -D_FILE_OFFSET_BITS=64 -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___BUILTIN_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_CLZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -DHAVE___BUILTIN_FFSLL=1 -DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL=1 -DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1 -DHAVE_FUNC_ATTRIBUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DHAVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL=1 -DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1 -DHAVE_FUNC_ATTRIBUTE_ALIAS=1 -DMAJOR_IN_SYSMACROS=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD_PRIO_INHERIT=1 -DHAVE_PTHREAD=1 -I. -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary -fvisibility=hidden -Werror=pointer-arith -Werror=vla -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/include -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/include -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_STRTOD_L -DHAVE_DLOPEN -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_DRI3 -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0500 -DMESA_LLVM_VERSION_PATCH=0 -I/usr/lib64/llvm/5/include -std=c++11 -DLLVM_BUILD_GLOBAL_ISEL -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -march=native -pipe -fomit-frame-pointer -Wall -fno-math-errno -fno-trapping-math -c /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp  -fPIC -DPIC -o gallivm/.libs/lp_bld_misc.o
/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp: In member function ‘virtual void DelegatingJITMemoryManager::deregisterEHFrames(uint8_t*, uint64_t, size_t)’:
/var/tmp/portage/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&)’
          mgr()->deregisterEHFrames(Addr, LoadAddr, Size);
                                                        ^
In file included from /usr/lib64/llvm/5/include/llvm/ExecutionEngine/SectionMemoryManager.h:20:0,
                 from /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp:64:
/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
make[4]: *** [Makefile:2337: gallivm/lp_bld_misc.lo] Error 1
make[4]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src/gallium/auxiliary'
make[3]: *** [Makefile:598: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src/gallium'
make[2]: *** [Makefile:851: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src'
make[1]: *** [Makefile:642: all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src'
make: *** [Makefile:643: all-recursive] Error 1
 * ERROR: media-libs/mesa-17.1.10::gentoo failed (compile phase):
 *   emake failed
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Thu Dec 07, 2017 9:53 pm    Post subject: Reply with quote

What version of llvm you installed?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Wallsandfences
Guru
Guru


Joined: 29 Mar 2010
Posts: 378

PostPosted: Thu Dec 07, 2017 10:02 pm    Post subject: Reply with quote

5.0.0
Back to top
View user's profile Send private message
danwald10
n00b
n00b


Joined: 08 Dec 2017
Posts: 8
Location: Planet Express, Earth

PostPosted: Fri Dec 08, 2017 1:49 am    Post subject: Reply with quote

I had the same problem with the same versions. Removing the llvm flag fixed it for me.
_________________
(V) (; , , ; ) (V)


Last edited by danwald10 on Fri Dec 08, 2017 2:12 am; edited 1 time in total
Back to top
View user's profile Send private message
lockie
n00b
n00b


Joined: 10 Mar 2016
Posts: 16

PostPosted: Fri Dec 08, 2017 3:51 pm    Post subject: Mesa fails to build Reply with quote

Hello.
Ever since switching to 17.0 profile couple of days ago, Mesa fails to build with the following error:
Code:

/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp: In member function ‘virtual void DelegatingJITMemoryManager::deregisterEHFrames(uint8_t*, uint64_t, size_t)’:
/var/tmp/portage/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&)’
          mgr()->deregisterEHFrames(Addr, LoadAddr, Size);
                                                        ^
In file included from /usr/lib64/llvm/5/include/llvm/ExecutionEngine/SectionMemoryManager.h:20:0,
                 from /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp:64:
/usr/lib64/llvm/5/include/llvm/ExecutionEngine/RTDyldMemoryManager.h:73:8: note: candidate: virtual void llvm::RTDyldMemoryManager::deregisterEHFrames()
   void deregisterEHFrames() override;


I'm building it with the following USE flags:
Code:

[ebuild     U  ] media-libs/mesa-17.1.10::gentoo [17.0.6::gentoo] USE="classic dri3 egl gallium gbm gles2 llvm nptl valgrind vdpau -bindist -d3d9 -debug -gles1 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -unwind% -vaapi -vulkan -wayland -xa -xvmc" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="(-freedreno) -i915 -i965 (-imx) -intel -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) (-vivante) -vmware" 0 KiB


Help?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Fri Dec 08, 2017 5:17 pm    Post subject: Reply with quote

Same problem here
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
doc1623
Tux's lil' helper
Tux's lil' helper


Joined: 22 May 2017
Posts: 90

PostPosted: Fri Dec 15, 2017 6:01 pm    Post subject: Worked for me Reply with quote

danwald10 wrote:
I had the same problem with the same versions. Removing the llvm flag fixed it for me.



Thank YOU this worked for me!

If anybody wants more let me know, I keep install logs

Code:

/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp: In member function ‘virtual void DelegatingJITMemoryManager::deregisterEHFrames(uint8_t*, uint64_t, size_t)’:
/var/tmp/portage/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&)’
          mgr()->deregisterEHFrames(Addr, LoadAddr, Size);
                                                        ^
/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp:346:56: note: candidate is:
In file included from /usr/lib64/llvm/5/include/llvm/ExecutionEngine/SectionMemoryManager.h:20:0,
                 from /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp:64:
/usr/lib64/llvm/5/include/llvm/ExecutionEngine/RTDyldMemoryManager.h:73:8: note: 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
make[4]: *** [Makefile:2337: gallivm/lp_bld_misc.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30837
Location: here

PostPosted: Sat Dec 16, 2017 8:49 am    Post subject: Reply with quote

See this bug and relative patch
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
dewhite
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2003
Posts: 106
Location: Houston, Texas, USA

PostPosted: Fri Dec 22, 2017 10:57 pm    Post subject: Reply with quote

fedeliallalinea wrote:
See this bug and relative patch


Thanks for that link.

I did follow the instructions referenced in comment 19 of that bug:

Code:

gentoo-victoria usr # cd lib32
gentoo-victoria lib32 # lld libE
lrwxrwxrwx 1 root root   15 Jun 10  2017 libEGL.so -> libEGL.so.1.0.0
lrwxrwxrwx 1 root root   15 Jun 10  2017 libEGL.so.1 -> libEGL.so.1.0.0
-rwxr-xr-x 1 root root 232K Jun 10  2017 libEGL.so.1.0.0
gentoo-victoria lib32 # mkdir tt
gentoo-victoria lib32 # mv libEGL.so* tt
renamed 'libEGL.so' -> 'tt/libEGL.so'
renamed 'libEGL.so.1' -> 'tt/libEGL.so.1'
renamed 'libEGL.so.1.0.0' -> 'tt/libEGL.so.1.0.0'
gentoo-victoria lib32 # cd ..
gentoo-victoria usr # cd lib64
gentoo-victoria lib64 # cd lib65
bash: cd: lib65: No such file or directory
gentoo-victoria lib64 # mkdir tt
gentoo-victoria lib64 # mv libEGL.so* tt
renamed 'libEGL.so' -> 'tt/libEGL.so'
renamed 'libEGL.so.1' -> 'tt/libEGL.so.1'
renamed 'libEGL.so.1.0.0' -> 'tt/libEGL.so.1.0.0'
gentoo-victoria lib64 # pwd
/usr/lib64
gentoo-victoria lib64 #
emerging mesa failed but I manually copied the new libs into place:
# cd /var/tmp/portage/media-libs/mesa-17.1.10/work/
# cd mesa-17.1.10-abi_x86_64.amd64/
# cd lib64/
# cp libEGL.so* libgbm.so* /usr/lib64/
# cd ../../mesa-17.1.10-abi_x86_32.x86/lib32/
# cp -v libEGL.so* libgbm.so* /usr/lib32/


Actually my execution looked a little different:

Code:

dan /usr/lib64 # cd /usr/lib32
dan /usr/lib32 # ls -l *EGL*
lrwxrwxrwx 1 portage portage     15 Dec 22 14:11 libEGL.so -> libEGL.so.1.0.0
lrwxrwxrwx 1 portage portage     15 Dec 22 14:11 libEGL.so.1 -> libEGL.so.1.0.0
-rwxr-xr-x 1 portage portage 282668 Dec 22 14:11 libEGL.so.1.0.0
dan /usr/lib32 # mv libEGL* tt
dan /usr/lib32 # cp -a /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/lib32/libEGL.so* /usr/lib32/
dan /usr/lib32 # ls -l *EGL*
lrwxrwxrwx 1 portage portage     15 Dec 22 16:19 libEGL.so -> libEGL.so.1.0.0
lrwxrwxrwx 1 portage portage     15 Dec 22 16:19 libEGL.so.1 -> libEGL.so.1.0.0
-rwxr-xr-x 1 portage portage 282668 Dec 22 16:19 libEGL.so.1.0.0
dan /usr/lib32 # cd ../lib64/
dan /usr/lib64 # mv libEGL.so* tt
dan /usr/lib64 # cp -av /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_64.amd64/lib64/libEGL.so* /usr/lib64/
'/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_64.amd64/lib64/libEGL.so' -> '/usr/lib64/libEGL.so'
'/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_64.amd64/lib64/libEGL.so.1' -> '/usr/lib64/libEGL.so.1'
'/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_64.amd64/lib64/libEGL.so.1.0.0' -> '/usr/lib64/libEGL.so.1.0.0'
dan /usr/lib64 # ls -l *EGL*
lrwxrwxrwx 1 portage portage     15 Dec 22 16:21 libEGL.so -> libEGL.so.1.0.0
lrwxrwxrwx 1 portage portage     15 Dec 22 16:21 libEGL.so.1 -> libEGL.so.1.0.0
-rwxr-xr-x 1 portage portage 259112 Dec 22 16:21 libEGL.so.1.0.0


But emerge -av1 mesa now fails with:

Code:

make[5]: Entering directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src/egl'
 /bin/mkdir -p '/var/tmp/portage/media-libs/mesa-17.1.10/image//usr/lib32'
 /bin/mkdir -p '/var/tmp/portage/media-libs/mesa-17.1.10/image//usr/include/EGL'
 /bin/mkdir -p '/var/tmp/portage/media-libs/mesa-17.1.10/image//usr/lib32/pkgconfig'
 /bin/sh ../../libtool   --mode=install /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c   libEGL.la '/var/tmp/portage/media-libs/mesa-17.1.10/image//usr/lib32'
 /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/include/EGL/eglext.h /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/include/EGL/egl.h /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/include/EGL/eglextchromium.h /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/include/EGL/eglmesaext.h /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/include/EGL/eglplatform.h '/var/tmp/portage/media-libs/mesa-17.1.10/image//usr/include/EGL'
 /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c -m 644 main/egl.pc '/var/tmp/portage/media-libs/mesa-17.1.10/image//usr/lib32/pkgconfig'
libtool: warning: relinking 'libEGL.la'
libtool: install: (cd /var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src/egl; /bin/sh "/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/libtool"  --tag CC --mode=relink x86_64-pc-linux-gnu-gcc -m32 -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/include -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/egl/main -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gbm/main -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_STRTOD_L -DHAVE_DLOPEN -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DHAVE_SURFACELESS_PLATFORM -DHAVE_WAYLAND_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_DRI3 -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_LLVM=0x0400 -DMESA_LLVM_VERSION_PATCH=1 -fvisibility=hidden -I/usr/include/libdrm -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_X11 -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/loader -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/egl/drivers/dri2 -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/gbm/backends/dri -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/egl/wayland/wayland-egl -I../../src/egl/wayland/wayland-drm -I/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10/src/egl/wayland/wayland-drm -DDEFAULT_DRIVER_DIR=\"/usr/lib32/dri\" -D_EGL_BUILT_IN_DRIVER_DRI2 -march=core-avx2 -O2 -pipe -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-math-errno -fno-trapping-math -no-undefined -version-number 1:0 -Wl,-Bsymbolic -Wl,--gc-sections -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed -o libEGL.la -rpath /usr/lib32 libEGL_common.la -inst-prefix-dir /var/tmp/portage/media-libs/mesa-17.1.10/image/)
libtool: relink: x86_64-pc-linux-gnu-gcc -m32 -shared  -fPIC -DPIC  -Wl,--whole-archive ./.libs/libEGL_common.a -Wl,--no-whole-archive  -lpthread -L/usr/lib32 -lxcb-dri2 -lX11-xcb -lX11 -lxcb -lxcb-dri3 -lxcb-xfixes -lxcb-present -lxcb-sync -lxshmfence -L/var/tmp/portage/media-libs/mesa-17.1.10/image//usr/lib32 -lgbm -lwayland-client -lwayland-server -lexpat -lm -ldl -ldrm  -m32 -march=core-avx2 -O2 -Wl,-Bsymbolic -Wl,--gc-sections -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed   -pthread -Wl,-soname -Wl,libEGL.so.1 -o .libs/libEGL.so.1.0.0
./.libs/libEGL_common.a(platform_drm.o): In function `get_back_bo':
platform_drm.c:(.text+0x1dd): undefined reference to `gbm_bo_create_with_modifiers'
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libEGL.la' with the above command before installing it
make[5]: *** [Makefile:959: install-libLTLIBRARIES] Error 1
make[5]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src/egl'
make[4]: *** [Makefile:1459: install-am] Error 2
make[4]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src/egl'
make[3]: *** [Makefile:1453: install] Error 2
make[3]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src/egl'
make[2]: *** [Makefile:851: install-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src'
make[1]: *** [Makefile:1008: install] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src'
make: *** [Makefile:643: install-recursive] Error 1
 * ERROR: media-libs/mesa-17.1.10::gentoo failed (install phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/mesa-17.1.10::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-17.1.10::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-17.1.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-17.1.10/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10'


It seems that manually copying those files isn't going to help if they aren't being properly linked at build? I feel like I'm missing something obvious here...

[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
_________________
Work FS: R7-5700g | 2x16Gb DDR4 | 500Gb NVMe LUKS root | 2x 8TB RAID1
Home FS: R7-1700x | 2x8Gb DDR4 | 275Gb M.2 SATA LUKS root | 2x 14TB RAID1
Back to top
View user's profile Send private message
Wallsandfences
Guru
Guru


Joined: 29 Mar 2010
Posts: 378

PostPosted: Fri Dec 22, 2017 11:09 pm    Post subject: Reply with quote

Todays sync gave me mesa-17.2-something and it compiled errorless
Back to top
View user's profile Send private message
dewhite
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2003
Posts: 106
Location: Houston, Texas, USA

PostPosted: Fri Dec 22, 2017 11:34 pm    Post subject: Reply with quote

Wallsandfences wrote:
Todays sync gave me mesa-17.2-something and it compiled errorless


Indeed:

Code:
[ebuild     U  ] media-libs/mesa-17.2.7::gentoo [17.0.6::gentoo]


Builds without issue. Thanks for suggesting something I should have tried first...
_________________
Work FS: R7-5700g | 2x16Gb DDR4 | 500Gb NVMe LUKS root | 2x 8TB RAID1
Home FS: R7-1700x | 2x8Gb DDR4 | 275Gb M.2 SATA LUKS root | 2x 14TB RAID1
Back to top
View user's profile Send private message
dylanmc
Apprentice
Apprentice


Joined: 18 Apr 2014
Posts: 157
Location: Modena, Italy

PostPosted: Tue Dec 26, 2017 10:36 am    Post subject: Reply with quote

I still have issues with mesa 17.2.7

Code:
-I/usr/include/libdrm -I/usr/lib64/llvm/4/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -march=znver1 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-math-errno -fno-trapping-math -c /var/tmp/portage/portage/media-libs/mesa-17.2.7/work/mesa-17.2.7/src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c  -fPIC -DPIC -o gallivm/.libs/lp_bld_sample_soa.o
make[4]: Leaving directory '/var/tmp/portage/portage/media-libs/mesa-17.2.7/work/mesa-17.2.7-abi_x86_32.x86/src/gallium/auxiliary'
make[3]: *** [Makefile:602: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/portage/media-libs/mesa-17.2.7/work/mesa-17.2.7-abi_x86_32.x86/src/gallium'
make[2]: *** [Makefile:854: all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/portage/media-libs/mesa-17.2.7/work/mesa-17.2.7-abi_x86_32.x86/src'
make[1]: *** [Makefile:645: all] Error 2
make[1]: Leaving directory '/var/tmp/portage/portage/media-libs/mesa-17.2.7/work/mesa-17.2.7-abi_x86_32.x86/src'
make: *** [Makefile:651: all-recursive] Error 1
 * ERROR: media-libs/mesa-17.2.7::gentoo failed (compile phase):
 *   emake failed
 *


llvm llvm-4.0.1-r1
Back to top
View user's profile Send private message
dylanmc
Apprentice
Apprentice


Joined: 18 Apr 2014
Posts: 157
Location: Modena, Italy

PostPosted: Tue Dec 26, 2017 11:36 am    Post subject: Reply with quote

Got compiled with MAKEOPTS="-j1" instead of "-j6"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum