How could I go beyond this point?

====================================================/var/tmp/portage/media-
libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/state_track
ers/clover/llvm/invocation.cpp:212:75: error: no matching function for call to
‘
clang::CompilerInvocation::setLangDefaults(clang::LangOptions&,
clang::InputKind
, llvm::Triple, clang::LangStandard::Kind)’
====================================================
Extract from compile log attached.

I am running sys-devel/clang-runtime-3.9.1 like so:

     Installed versions:  3.9.1(21:25:30 07/02/17)(openmp -libcxx ABI_MIPS="-
n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")

--
Regards,
Mick
libtool: compile:  x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TAR
NAME=\"mesa\" -DPACKAGE_VERSION=\"12.0.1\" "-DPACKAGE_STRING=\"Mesa 12.0.1\"" "-
DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"";
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"12.0.1\" -DSTDC_HEADERS=1 -DHA
VE_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_UNIST
D_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE___BUILTI
N_BSWAP32=1 -DHAVE___BUILTIN_BSWAP64=1 -DHAVE___BUILTIN_CLZ=1 -DHAVE___BUILTIN_C
LZLL=1 -DHAVE___BUILTIN_CTZ=1 -DHAVE___BUILTIN_EXPECT=1 -DHAVE___BUILTIN_FFS=1 -
DHAVE___BUILTIN_FFSLL=1 -DHAVE___BUILTIN_POPCOUNT=1 -DHAVE___BUILTIN_POPCOUNTLL1 -DHAVE___BUILTIN_UNREACHABLE=1 -DHAVE_FUNC_ATTRIBUTE_CONST=1 -DHAVE_FUNC_ATTRI
BUTE_FLATTEN=1 -DHAVE_FUNC_ATTRIBUTE_FORMAT=1 -DHAVE_FUNC_ATTRIBUTE_MALLOC=1 -DH
AVE_FUNC_ATTRIBUTE_PACKED=1 -DHAVE_FUNC_ATTRIBUTE_PURE=1 -DHAVE_FUNC_ATTRIBUTE_R
ETURNS_NONNULL=1 -DHAVE_FUNC_ATTRIBUTE_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_WARN_UNUSE
D_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1 -DHAVE_DLADDR=1 -DHAVE_CLOCK_GETTIME=1 -
DHAVE_PTHREAD=1 -DHAVE_SHA1_IN_LIBNETTLE=1 -I. -I/var/tmp/portage/media-libs/mes
a-12.0.1/work/mesa-12.0.1/src/gallium/state_trackers/clover -I/var/tmp/portage/m
edia-libs/mesa-12.0.1/work/mesa-12.0.1/include -I/var/tmp/portage/media-libs/mes
a-12.0.1/work/mesa-12.0.1/src -I/var/tmp/portage/media-libs/mesa-12.0.1/work/mes
a-12.0.1/src/gallium/include -I/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa
-12.0.1/src/gallium/drivers -I/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-
12.0.1/src/gallium/auxiliary -I/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa
-12.0.1/src/gallium/winsys -I../../../../src -I/var/tmp/portage/media-libs/mesa-
12.0.1/work/mesa-12.0.1/src/gallium/state_trackers/clover -std=c++11 -fvisibilit
y=hidden -I/usr/include -std=c++11 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACR
OS -D__STDC_LIMIT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_S
OURCE -DUSE_SSE41 -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCA
LE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSI
X_MEMALIGN -DHAVE_LIBDRM -DHAVE_SHA1 -DGLX_USE_DRM -DHAVE_LIBUDEV -DGLX_INDIRECT
_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -DHAVE_DRI3 -DHAVE_
MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0309 -DMESA_LLVM_VERSION_PATCH=1 -DLIBCLC_
INCLUDEDIR=\"/usr/include/\" -DLIBCLC_LIBEXECDIR=\"/usr/lib/clc/\" -DCLANG_RESOU
RCE_DIR=\"/usr/lib/clang/3.9.1\" -march=native -O2 -pipe -Wall -fno-strict-alias
ing -fno-builtin-memcmp -c /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.
0.1/src/gallium/state_trackers/clover/llvm/invocation.cpp  -fPIC -DPIC -o llvm/.
libs/libclllvm_la-invocation.o
/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/state_track
ers/clover/llvm/invocation.cpp: In function ‘llvm::Module* {anonymous}::compile_
llvm(llvm::LLVMContext&, const string&, const header_map&, const string&, const
string&, const string&, const string&, unsigned int (&)[7], unsigned int&, std::
string&)’:
/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/state_track
ers/clover/llvm/invocation.cpp:212:75: error: no matching function for call to ‘
clang::CompilerInvocation::setLangDefaults(clang::LangOptions&, clang::InputKind
, llvm::Triple, clang::LangStandard::Kind)’
                                         clang::LangStandard::lang_opencl11);
                                                                           ^
/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/state_track
ers/clover/llvm/invocation.cpp:212:75: note: candidate is:
In file included from /usr/include/clang/Frontend/CompilerInstance.h:17:0,
                 from /var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/s
rc/gallium/state_trackers/clover/llvm/invocation.cpp:25:
/usr/include/clang/Frontend/CompilerInvocation.h:160:15: note: static v[41/1956]
::CompilerInvocation::setLangDefaults(clang::LangOptions&, clang::InputKind, con
st llvm::Triple&, clang::PreprocessorOptions&, clang::LangStandard::Kind)
   static void setLangDefaults(LangOptions &Opts, InputKind IK,
               ^
/usr/include/clang/Frontend/CompilerInvocation.h:160:15: note:   no known conver
sion for argument 4 from ‘clang::LangStandard::Kind’ to ‘clang::PreprocessorOpti
ons&’
/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/state_track
ers/clover/llvm/invocation.cpp: In function ‘llvm::MDNode* {anonymous}::node_fro
m_op_checked(const llvm::MDOperand&, llvm::StringRef, unsigned int)’:
/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/state_track
ers/clover/llvm/invocation.cpp:409:12: warning: unused variable ‘str_node’ [-Wun
used-variable]
       auto str_node = llvm::cast<llvm::MDString>(node->getOperand(0));
            ^
make[4]: *** [Makefile:882: llvm/libclllvm_la-invocation.lo] Error 1
make[4]: Leaving directory '/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12
.0.1-abi_x86_64.amd64/src/gallium/state_trackers/clover'
make[3]: *** [Makefile:600: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12
.0.1-abi_x86_64.amd64/src/gallium'
make[2]: *** [Makefile:701: all-recursive] Error 1                     [19/1956]
make[2]: Leaving directory '/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12
.0.1-abi_x86_64.amd64/src'
make[1]: *** [Makefile:579: all] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12
.0.1-abi_x86_64.amd64/src'
make: *** [Makefile:645: all-recursive] Error 1
 * ERROR: media-libs/mesa-12.0.1::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/mesa-12.0
.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-12.0.
1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-12.0.1
/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-1
2.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1-
abi_x86_64.amd64'
 * S: '/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1'

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to