-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
So...I can't get current LLVM SVM bits to build. I get many errors in
FileParser.cpp.
So...I can't get Mesa to build with LLVM 2.1 (which I am able to build).
~ I've attached the error output. Any help?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHljnyX1gOwKyEAw8RAqGtAKCAQzPlahhkStsCawAYIolDd4C71gCZAWqM
8EzH6BjFEX8MBe8N7CPpQ8c=
=e4of
-----END PGP SIGNATURE-----
instructions.h:128: error: âLLVMFoldingBuilderâ in namespace âllvmâ
does not name a type
llvm_base_shader.cpp: In function âllvm::Module* createBaseShader()â:
llvm_base_shader.cpp:14: error: no matching function for call to
âllvm::PointerType::get(llvm::VectorType*&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:31: error: no matching function for call to
âllvm::PointerType::get(llvm::OpaqueType*&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:36: error: no matching function for call to
âllvm::PointerType::get(llvm::PATypeHolder&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:39: error: no matching function for call to
âllvm::PointerType::get(const llvm::Type*&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:47: error: no matching function for call to
âllvm::PointerType::get(llvm::ArrayType*&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:55: error: no matching function for call to
âllvm::PointerType::get(llvm::FunctionType*&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:58: error: no matching function for call to
âllvm::PointerType::get(const llvm::IntegerType*, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:61: error: no matching function for call to
âllvm::PointerType::get(llvm::OpaqueType*&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:73: error: no matching function for call to
âllvm::PointerType::get(llvm::ArrayType*&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:78: error: no matching function for call to
âllvm::PointerType::get(llvm::ArrayType*&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:121: error: no matching function for call to
âllvm::PointerType::get(llvm::ArrayType*&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:125: error: no matching function for call to
âllvm::PointerType::get(llvm::ArrayType*&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:127: error: no matching function for call to
âllvm::PointerType::get(llvm::StructType*&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:129: error: no matching function for call to
âllvm::PointerType::get(llvm::PointerType*&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:138: error: no matching function for call to
âllvm::PointerType::get(llvm::FunctionType*&, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:154: error: no matching function for call to
âllvm::PointerType::get(const llvm::IntegerType*, int)â
/opt/llvm/include/llvm/DerivedTypes.h:383: note: candidates are: static
llvm::PointerType* llvm::PointerType::get(const llvm::Type*)
llvm_base_shader.cpp:173: error: no matching function for call to
âllvm::Function::setParamAttrs(const llvm::ParamAttrsList*&)â
/opt/llvm/include/llvm/Function.h:153: note: candidates are: void
llvm::Function::setParamAttrs(llvm::ParamAttrsList*) <near match>
llvm_base_shader.cpp:189: error: no matching function for call to
âllvm::Function::setParamAttrs(const llvm::ParamAttrsList*&)â
/opt/llvm/include/llvm/Function.h:153: note: candidates are: void
llvm::Function::setParamAttrs(llvm::ParamAttrsList*) <near match>
llvm_base_shader.cpp:205: error: no matching function for call to
âllvm::Function::setParamAttrs(const llvm::ParamAttrsList*&)â
/opt/llvm/include/llvm/Function.h:153: note: candidates are: void
llvm::Function::setParamAttrs(llvm::ParamAttrsList*) <near match>
llvm_base_shader.cpp:213: error: no matching function for call to
âllvm::Function::setParamAttrs(const llvm::ParamAttrsList*&)â
/opt/llvm/include/llvm/Function.h:153: note: candidates are: void
llvm::Function::setParamAttrs(llvm::ParamAttrsList*) <near match>
llvm_base_shader.cpp:221: error: no matching function for call to
âllvm::Function::setParamAttrs(const llvm::ParamAttrsList*&)â
/opt/llvm/include/llvm/Function.h:153: note: candidates are: void
llvm::Function::setParamAttrs(llvm::ParamAttrsList*) <near match>
llvm_base_shader.cpp:229: error: no matching function for call to
âllvm::Function::setParamAttrs(const llvm::ParamAttrsList*&)â
/opt/llvm/include/llvm/Function.h:153: note: candidates are: void
llvm::Function::setParamAttrs(llvm::ParamAttrsList*) <near match>
llvm_base_shader.cpp:340: warning: unused variable âvoid_42â
llvm_base_shader.cpp:423: warning: unused variable âvoid_61â
llvm_base_shader.cpp:476: warning: unused variable âvoid_81â
llvm_base_shader.cpp:482: warning: unused variable âvoid_82â
llvm_base_shader.cpp:488: warning: unused variable âvoid_83â
llvm_base_shader.cpp:494: warning: unused variable âvoid_84â
llvm_base_shader.cpp:648: error: no matching function for call to
âllvm::CallInst::setParamAttrs(const llvm::ParamAttrsList*&)â
/opt/llvm/include/llvm/Instructions.h:914: note: candidates are: void
llvm::CallInst::setParamAttrs(llvm::ParamAttrsList*) <near match>
llvm_base_shader.cpp:587: warning: unused variable âvoid_98â
llvm_base_shader.cpp:601: warning: unused variable âvoid_100â
llvm_base_shader.cpp:610: warning: unused variable âvoid_101â
llvm_base_shader.cpp:639: warning: unused variable âvoid_109â
llvm_base_shader.cpp:644: warning: unused variable âvoid_110â
llvm_base_shader.cpp:794: error: no matching function for call to
âllvm::CallInst::setParamAttrs(const llvm::ParamAttrsList*&)â
/opt/llvm/include/llvm/Instructions.h:914: note: candidates are: void
llvm::CallInst::setParamAttrs(llvm::ParamAttrsList*) <near match>
llvm_base_shader.cpp:811: error: no matching function for call to
âllvm::CallInst::setParamAttrs(const llvm::ParamAttrsList*&)â
/opt/llvm/include/llvm/Instructions.h:914: note: candidates are: void
llvm::CallInst::setParamAttrs(llvm::ParamAttrsList*) <near match>
llvm_base_shader.cpp:830: error: no matching function for call to
âllvm::CallInst::setParamAttrs(const llvm::ParamAttrsList*&)â
/opt/llvm/include/llvm/Instructions.h:914: note: candidates are: void
llvm::CallInst::setParamAttrs(llvm::ParamAttrsList*) <near match>
llvm_base_shader.cpp:849: error: no matching function for call to
âllvm::CallInst::setParamAttrs(const llvm::ParamAttrsList*&)â
/opt/llvm/include/llvm/Instructions.h:914: note: candidates are: void
llvm::CallInst::setParamAttrs(llvm::ParamAttrsList*) <near match>
llvm_base_shader.cpp:697: warning: unused variable âvoid_128â
llvm_base_shader.cpp:748: warning: unused variable âvoid_152â
llvm_base_shader.cpp:762: warning: unused variable âvoid_154â
llvm_base_shader.cpp:771: warning: unused variable âvoid_155â
llvm_base_shader.cpp:784: warning: unused variable âvoid_159â
llvm_base_shader.cpp:789: warning: unused variable âvoid_161â
llvm_base_shader.cpp:790: warning: unused variable âvoid_162â
llvm_base_shader.cpp:801: warning: unused variable âvoid_164â
llvm_base_shader.cpp:806: warning: unused variable âvoid_165â
llvm_base_shader.cpp:807: warning: unused variable âvoid_166â
llvm_base_shader.cpp:820: warning: unused variable âvoid_168â
llvm_base_shader.cpp:825: warning: unused variable âvoid_169â
llvm_base_shader.cpp:826: warning: unused variable âvoid_170â
llvm_base_shader.cpp:839: warning: unused variable âvoid_172â
llvm_base_shader.cpp:844: warning: unused variable âvoid_173â
llvm_base_shader.cpp:845: warning: unused variable âvoid_174â
llvm_base_shader.cpp:121: warning: unused variable âPointerTy_19â
llvm_base_shader.cpp:125: warning: unused variable âPointerTy_21â
llvm_base_shader.cpp:129: warning: unused variable âPointerTy_24â
llvm_base_shader.cpp:138: warning: unused variable âPointerTy_25â
llvm_base_shader.cpp:154: warning: unused variable âPointerTy_28â
gallivm.cpp: In function âvoid translate_immediate(Storage*,
tgsi_full_immediate*)â:
gallivm.cpp:228: warning: comparison between signed and unsigned integer
expressions
gallivm.cpp: In function âvoid translate_instruction(llvm::Module*, Storage*,
Instructions*, tgsi_full_instruction*, tgsi_full_instruction*, unsigned int)â:
gallivm.cpp:273: warning: comparison between signed and unsigned integer
expressions
gallivm.cpp:710: warning: comparison between signed and unsigned integer
expressions
gallivm.cpp: In function âint gallivm_prog_exec(gallivm_prog*, float
(*)[16][4], float (*)[16][4], float (*)[4], int, int, int)â:
gallivm.cpp:854: warning: ISO C++ forbids casting between pointer-to-function
and pointer-to-object
gallivm.cpp: In function âint gallivm_fragment_shader_exec(gallivm_prog*,
float, float, float (*)[16][4], float (*)[16][4], float (*)[4],
tgsi_sampler*)â:
gallivm.cpp:932: warning: ISO C++ forbids casting between pointer-to-function
and pointer-to-object
make[5]: *** [gallivm.o] Error 1
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev