[LLVMdev] install llvm on sparc/solaris

Jimborean Alexandra xinfinity_a at yahoo.com
Mon Dec 10 09:48:34 PST 2012


Hello,

Is there any package to install llvm 3.1 on solaris?  Standard installation by compiling the sources does not run smoothly.
I found that similar issues have been addressed before, but without replies:
http://clang-developers.42468.n3.nabble.com/Using-Clang-LLVM-on-sparc-solaris-td2807126.html

I tried to install llvm 3.1 on a system with Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
LLVM is configured with 
./configure --prefix=`pwd`/../install --enable-optimized
but 'make' crashes immediately (see below).

Same installation works on an x86_64 machine, but the assembly code generated with llc -march=sparc on the x86 machine does not compile on the sparc machine.

Any help would be greatly appreciated.


Thank you,
Alexandra


************************************************************************************************

 make 
llvm[0]: Constructing LLVMBuild project information.
Traceback (most recent call last):
  File "/llvm3.1/llvm-3.1/utils/llvm-build/llvm-build", line 3, in ?
    import llvmbuild
  File "/llvm3.1/llvm-3.1/utils/llvm-build/llvmbuild/__init__.py", line 1, in ?
    from main import main
  File "/llvm3.1/llvm-3.1/utils/llvm-build/llvmbuild/main.py", line 65
    @staticmethod
    ^
SyntaxError: invalid syntax
make[1]: Entering directory `/llvm3.1/llvm-3.1/lib/Support'
llvm[1]: Constructing LLVMBuild project information.
Traceback (most recent call last):
  File "/llvm3.1/llvm-3.1/utils/llvm-build/llvm-build", line 3, in ?
    import llvmbuild
  File "/llvm3.1/llvm-3.1/utils/llvm-build/llvmbuild/__init__.py", line 1, in ?
    from main import main
  File "/llvm3.1/llvm-3.1/utils/llvm-build/llvmbuild/main.py", line 65
    @staticmethod
    ^
SyntaxError: invalid syntax

************************************************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121210/e02e3cef/attachment.html>


More information about the llvm-dev mailing list