-----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

Reply via email to