[Mesa-dev] mesa clover from git fails to compile
Pali Rohár
pali.rohar at gmail.com
Fri Jul 22 21:09:36 UTC 2016
Hello,
after fixing problem with mako version mesa from git still fails to
compile. Now problematic part is clover state tracker. Error message is:
libtool: compile: g++-4.8 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -
DPACKAGE_VERSION=\"12.1.0-devel\" "-DPACKAGE_STRING=\"Mesa 12.1.0-devel\"" "-
DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -
DPACKAGE=\"mesa\" -DVERSION=\"12.1.0-devel\" -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_UNUSED=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -
DHAVE_FUNC_ATTRIBUTE_WARN_UNUSED_RESULT=1 -DHAVE_FUNC_ATTRIBUTE_WEAK=1 -DHAVE_DLADDR=1 -
DHAVE_PTHREAD=1 -DHAVE_LIBEXPAT=1 -I. -I../../../../../../src/gallium/state_trackers/clover -
I../../../../../../include -I../../../../../../src -I../../../../../../src/gallium/include -
I../../../../../../src/gallium/drivers -I../../../../../../src/gallium/auxiliary -
I../../../../../../src/gallium/winsys -I../../../../src -
I../../../../../../src/gallium/state_trackers/clover -DHAVE_CLOVER_ICD -D_FORTIFY_SOURCE=2 -std=c++11
-fvisibility=hidden -I/usr/lib/llvm-3.7/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -
D__STDC_LIMIT_MACROS -std=c++11 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -
DUSE_SSE41 -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -
DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM -
DHAVE_LIBUDEV -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS -
DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0307 -DMESA_LLVM_VERSION_PATCH=0 -
DLIBCLC_INCLUDEDIR=\"/usr/include/\" -DLIBCLC_LIBEXECDIR=\"/usr/lib/clc/\" -
DCLANG_RESOURCE_DIR=\"/usr/lib/llvm-3.7/lib/clang/3.7.0\" -g -O2 -fstack-protector --param=ssp-buffer-
size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Wall -fno-strict-aliasing -fno-math-
errno -fno-trapping-math -MT llvm/libclllvm_la-invocation.lo -MD -MP -MF llvm/.deps/libclllvm_la-
invocation.Tpo -c ../../../../../../src/gallium/state_trackers/clover/llvm/invocation.cpp -fPIC -DPIC
-o llvm/.libs/libclllvm_la-invocation.o
../../../../../../src/gallium/state_trackers/clover/llvm/codegen/native.cpp: In function
'std::vector<char> {anonymous}::emit_code(llvm::Module&, const clover::llvm::target&,
llvm::TargetMachine::CodeGenFileType, std::string&)':
../../../../../../src/gallium/state_trackers/clover/llvm/codegen/native.cpp:129:52: error: invalid
initialization of non-const reference of type 'clover::llvm::compat::raw_ostream_to_emit_file {aka
llvm::raw_svector_ostream&}' from an rvalue of type '<brace-enclosed initializer list>'
compat::raw_ostream_to_emit_file fos { os };
^
make[5]: *** [llvm/codegen/libclllvm_la-native.lo] Error 1
--
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160722/add6cf7e/attachment.sig>
More information about the mesa-dev
mailing list