[LLVMdev] Problem Compiling Test-suite
George Patsilaras
gpatsilaras at hotmail.com
Sun Mar 22 23:21:01 PDT 2009
Hello, I am new in using llvm so I would like to get some help on how to compile test-suite.
Assumptions:
llvm is in /llvm directory
llvm-gcc is in /llvm-4.2-2.4-x86-linux-RHEL4/bin
I have tried compiling test-suite and I get the following error:
$make
make[1]: Entering directory '/llvm/projects/test-suite/SingleSource'
make[2]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests'
make[3]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests/Vector'
make[4]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests/Vector/SSE'
make[4]: *** No rule to make target 'Output/sse.expandfft.linked.rbc', needed by 'Output/sse.expandfft.linked.bc'. Stop.
This means that the make call cannot find the llvm-gcc file. If I type llvm-gcc in the terminal I get:
llvm-gcc: no input name
Now I have tried running make after running the following configurations.
in the test-suite folder:
1) ./configure
2) ./configure --with-llvmgccdir=/llvm-4.2-2.4-x86-linux-RHEL4/bin
3) ./configure --with-llvmgccdir=/llvm-4.2-2.4-x86-linux-RHEL4/bin --with-llvmsrc=/llvm
4) ./configure --with-llvmgccdir=/llvm-4.2-2.4-x86-linux-RHEL4/bin --with-llvmobj=/llvm
All of which give me the same error...
when I went to /llvm and did a:
./configure
with nothing else (earlier I was trying to setup the --with-llvmgccdir= llvm-4.2-2.4-x86-linux-RHEL4/bin from here and then did a make in the test-suite I get the following error:
$make
make[1]: Entering directory '/llvm/projects/test-suite/SingleSource'
make[2]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests'
make[3]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests/Vector'
make[4]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests/Vector/SSE'
Compiling sse.expandfft.c to Output/sse.expandfft.bc
cc1: warning: unrecognized gcc debugging option: i
cc1: warning: unrecognized gcc debugging option: s
cc1: warning: unrecognized gcc debugging option: b
cc1: warning: unrecognized gcc debugging option: l
cc1: warning: unrecognized gcc debugging option: e
cc1: warning: unrecognized gcc debugging option: -
cc1: warning: unrecognized gcc debugging option: l
cc1: warning: unrecognized gcc debugging option: l
cc1: warning: unrecognized gcc debugging option: m
cc1: warning: unrecognized gcc debugging option: -
cc1: warning: unrecognized gcc debugging option: o
cc1: warning: unrecognized gcc debugging option: t
cc1: warning: unrecognized gcc debugging option: z
cc1: warning: unrecognized gcc debugging option: n
cc1: warning: unrecognized gcc debugging option: s
cc1: Unknown command line argument '-m32'. Try: 'cc1 --help'
make: [Output/sse.expandfft.bc] Error 1 (ignored)
cp -f Output/sse.expandfft.bc Output/sse.expandfft.linked.rbc
cp: cannot stat 'Output/sse.expandfft.bc' No such file or directory
and then it tries to compile the following files like sse.isamax.c but I get the same warnings and errors..
Any idea on what might be wrong here? I have tried rerunning the configure options at the test-suite level with but the error still exists.
Also in the test-suite when I try to make a SPEC2006 benchmark where can I specify what passes to be run at the opt level?
Thanks,
George
_________________________________________________________________
Windows Liveā¢ SkyDrive: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090323/509d83f7/attachment.html>
More information about the llvm-dev
mailing list