[LLVMdev] LLVM build error (sparc gcc 3.2.2)

Shukang Zhou zhou at cs.virginia.edu
Wed Sep 29 15:44:50 PDT 2004


Hi,

I met some errors when I tried to build LLVM. The tar file is
llvm-1.3.tar.gz. I am using a sparc machine with gcc 3.2.2.

-------------
Compiling SparcV9CodeEmitter.cpp
/uf24/zhou/research/llvm/src/lib/Target/SparcV9/SparcV9CodeEmitter.cpp: In
   static member function `static void
   llvm::<unnamed>::JITResolver::CompilationCallback()':
/uf24/zhou/research/llvm/src/lib/Target/SparcV9/SparcV9CodeEmitter.cpp:340:
warning: cast to pointer from integer of different size
/usr/ccs/bin/as: "/var/tmp//ccFz2VBS.s", line 3147: error: cannot use
v8plus registers in a non-v8plus target binary
...
-------------

There are 42 similar errors in this file ("cannot use v8plus registers in
a non-v8plus target binary"). Is anyone who knows about this error? Thanks
a lot for your time and help.


Shukang Zhou




More information about the llvm-dev mailing list