<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
ok I noticed a few errors I had... .<BR>
 <BR>
1) inconsistency in llvm source code/ test suite and gcc front end.. I synched up to the 2.5 versions and that seemed to help along with... <BR>
 <BR>
2) the llvmgccdir should not be at the /bin level but the actual root directory...<BR>
 <BR>
so now I can compile the test-suite... but I still have an error....<BR>
 <BR>
When I run the make command from the 400.perlbench (External/SPEC/CINT2006/400.perlbench) folder I get llvm to compile the source code but I still some errors further on:<BR>
 <BR>
 make<BR>Compiling Base64.c to Output/Base64.bc<BR>Compiling Cwd.c to Output/Cwd.bc<BR>Compiling Dumper.c to Output/Dumper.bc<BR>Compiling DynaLoader.c to Output/DynaLoader.bc<BR>Compiling HiRes.c to Output/HiRes.bc<BR>Compiling Hostname.c to Output/Hostname.bc<BR>Compiling IO.c to Output/IO.bc<BR>Compiling MD5.c to Output/MD5.bc<BR>Compiling Opcode.c to Output/Opcode.bc<BR>Compiling Parser.c to Output/Parser.bc<BR>Compiling Peek.c to Output/Peek.bc<BR>Compiling Storable.c to Output/Storable.bc<BR>Compiling attrs.c to Output/attrs.bc<BR>Compiling av.c to Output/av.bc<BR>Compiling deb.c to Output/deb.bc<BR>Compiling doio.c to Output/doio.bc<BR>Compiling doop.c to Output/doop.bc<BR>Compiling dump.c to Output/dump.bc<BR>Compiling globals.c to Output/globals.bc<BR>Compiling gv.c to Output/gv.bc<BR>Compiling hv.c to Output/hv.bc<BR>Compiling locale.c to Output/locale.bc<BR>Compiling mg.c to Output/mg.bc<BR>Compiling numeric.c to Output/numeric.bc<BR>Compiling op.c to Output/op.bc<BR>Compiling pad.c to Output/pad.bc<BR>Compiling perl.c to Output/perl.bc<BR>Compiling perlapi.c to Output/perlapi.bc<BR>Compiling perlio.c to Output/perlio.bc<BR>Compiling perlmain.c to Output/perlmain.bc<BR>Compiling perly.c to Output/perly.bc<BR>Compiling poll.c to Output/poll.bc<BR>Compiling pp.c to Output/pp.bc<BR>Compiling pp_ctl.c to Output/pp_ctl.bc<BR>Compiling pp_hot.c to Output/pp_hot.bc<BR>Compiling pp_pack.c to Output/pp_pack.bc<BR>Compiling pp_sort.c to Output/pp_sort.bc<BR>Compiling pp_sys.c to Output/pp_sys.bc<BR>Compiling regcomp.c to Output/regcomp.bc<BR>Compiling regexec.c to Output/regexec.bc<BR>Compiling run.c to Output/run.bc<BR>Compiling scope.c to Output/scope.bc<BR>Compiling specrand.c to Output/specrand.bc<BR>Compiling stdio.c to Output/stdio.bc<BR>Compiling sv.c to Output/sv.bc<BR>Compiling taint.c to Output/taint.bc<BR>Compiling toke.c to Output/toke.bc<BR>Compiling universal.c to Output/universal.bc<BR>Compiling utf8.c to Output/utf8.bc<BR>Compiling util.c to Output/util.bc<BR>Compiling xsutils.c to Output/xsutils.bc<BR>/gpatsil/llvm/Release/bin/llvm-ld -link-as-library -disable-opt Output/Base64.bc Output/Cwd.bc Output/Dumper.bc Output/DynaLoader.bc Output/HiRes.bc Output/Hostname.bc Output/IO.bc Output/MD5.bc Output/Opcode.bc Output/Parser.bc Output/Peek.bc Output/Storable.bc Output/attrs.bc Output/av.bc Output/deb.bc Output/doio.bc Output/doop.bc Output/dump.bc Output/globals.bc Output/gv.bc Output/hv.bc Output/locale.bc Output/mg.bc Output/numeric.bc Output/op.bc Output/pad.bc Output/perl.bc Output/perlapi.bc Output/perlio.bc Output/perlmain.bc Output/perly.bc Output/poll.bc Output/pp.bc Output/pp_ctl.bc Output/pp_hot.bc Output/pp_pack.bc Output/pp_sort.bc Output/pp_sys.bc Output/regcomp.bc Output/regexec.bc Output/run.bc Output/scope.bc Output/specrand.bc Output/stdio.bc Output/sv.bc Output/taint.bc Output/toke.bc Output/universal.bc Output/utf8.bc Output/util.bc Output/xsutils.bc -o Output/400.perlbench.linked.rbc<BR>/gpatsil/llvm/Release/bin/opt -std-compile-opts -info-output-file=/gpatsil/llvm/projects/test-suite/External/SPEC/CINT2006/400.perlbench/Output/400.perlbench.linked.bc.info -stats -time-passes  Output/400.perlbench.linked.rbc -o Output/400.perlbench.linked.bc -f<BR>/tuck_data/gpatsil/llvm/Release/bin/llvm-ld -L/tuck_data/gpatsil/llvm-gcc4.2-2.5-x86-linux-RHEL4/bin/../lib/gcc/i686-pc-linux-gnu/4.2.1  -L/tuck_data/gpatsil/llvm-gcc4.2-2.5-x86-linux-RHEL4/bin/../lib -info-output-file=/tuck_data/gpatsil/llvm/projects/test-suite/External/SPEC/CINT2006/400.perlbench/Output/400.perlbench.llvm.bc.info -stats -time-passes Output/400.perlbench.linked.bc \<BR>          -lc  -o Output/400.perlbench.llvm<BR>
 <BR>
<BR>/gpatsil/llvm/Release/bin/llc  -f Output/400.perlbench.llvm.bc -o Output/400.perlbench.llc.s<BR>/gpatsil/llvm/Release/bin/llc  -march=c Output/400.perlbench.llvm.bc -o Output/400.perlbench.cbe.c -f<BR>gcc Output/400.perlbench.cbe.c -o Output/400.perlbench.cbe   -lm   -O3 -fno-strict-aliasing -fno-inline  <BR>Output/400.perlbench.cbe.c:2254: error: conflicting types for '__sigsetjmp'<BR>/usr/include/setjmp.h:58: error: previous declaration of '__sigsetjmp' was here<BR>Output/400.perlbench.cbe.c:2254: error: conflicting types for '__sigsetjmp'<BR>/usr/include/setjmp.h:58: error: previous declaration of '__sigsetjmp' was here<BR>Output/400.perlbench.cbe.c:2269: error: conflicting types for 'siglongjmp'<BR>/usr/include/setjmp.h:109: error: previous declaration of 'siglongjmp' was here<BR>Output/400.perlbench.cbe.c:2269: error: conflicting types for 'siglongjmp'<BR>/usr/include/setjmp.h:109: error: previous declaration of 'siglongjmp' was here<BR>Output/400.perlbench.cbe.c:3028: warning: conflicting types for built-in function 'malloc'<BR>Output/400.perlbench.cbe.c:3035: warning: conflicting types for built-in function 'powl'<BR>Output/400.perlbench.cbe.c:3037: warning: conflicting types for built-in function 'expl'<BR>Output/400.perlbench.cbe.c:3039: warning: conflicting types for built-in function 'logl'<BR>Output/400.perlbench.cbe.c:3041: warning: conflicting types for built-in function 'sqrtl'<BR>Output/400.perlbench.cbe.c: In function `XS_IO__Poll__poll':<BR>Output/400.perlbench.cbe.c:23118: error: syntax error before string constant<BR>Output/400.perlbench.cbe.c:23122: error: syntax error before string constant<BR>Output/400.perlbench.cbe.c:23126: error: syntax error before string constant<BR>Output/400.perlbench.cbe.c:23130: error: syntax error before string constant<BR>Output/400.perlbench.cbe.c:23174: error: syntax error before string constant<BR>Output/400.perlbench.cbe.c:23209: error: syntax error before string constant<BR>Output/400.perlbench.cbe.c:23216: error: syntax error before string constant<BR>Output/400.perlbench.cbe.c:23223: error: syntax error before string constant<BR>Output/400.perlbench.cbe.c:23294: error: syntax error before string constant<BR>Output/400.perlbench.cbe.c:23306: error: syntax error before string constant<BR>Output/400.perlbench.cbe.c:23310: error: syntax error before string constant<BR>Output/400.perlbench.cbe.c:23314: error: syntax error before string constant<BR>Output/400.perlbench.cbe.c: In function `main':<BR>Output/400.perlbench.cbe.c:301306: warning: return type of 'main' is not `int'<BR>make: [Output/400.perlbench.cbe] Error 1 (ignored)<BR><BR>
 <BR>
<BR> Eventually the test fails... I had a similar problem with bzip2 too... Has anyone seen this error before?<BR>
 <BR>
Thanks,<BR>
George<BR>
 <BR>
 <BR>
<HR id=stopSpelling>
From: gpatsilaras@hotmail.com<BR>To: llvmdev@cs.uiuc.edu<BR>Date: Mon, 23 Mar 2009 06:21:01 +0000<BR>Subject: [LLVMdev] Problem Compiling Test-suite<BR><BR>
<STYLE>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</STYLE>
Hello, I am new in using llvm so I would like to get some help on how to compile test-suite.<BR> <BR>Assumptions: <BR>llvm is in /llvm directory<BR>llvm-gcc is in /llvm-4.2-2.4-x86-linux-RHEL4/bin<BR> <BR>I have tried compiling test-suite and I get the following error:<BR>$make<BR>make[1]: Entering directory '/llvm/projects/test-suite/SingleSource'<BR>make[2]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests'<BR>make[3]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests/Vector'<BR>make[4]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests/Vector/SSE'<BR>make[4]: *** No rule to make target 'Output/sse.expandfft.linked.rbc', needed by 'Output/sse.expandfft.linked.bc'. Stop.<BR> <BR>This means that the make call cannot find the llvm-gcc file. If I type llvm-gcc in the terminal I get:<BR>llvm-gcc: no input name<BR> <BR>Now I have tried running make after running the following configurations.<BR> <BR>in the test-suite folder:<BR>1) ./configure<BR>2) ./configure --with-llvmgccdir=/llvm-4.2-2.4-x86-linux-RHEL4/bin<BR>3) ./configure --with-llvmgccdir=/llvm-4.2-2.4-x86-linux-RHEL4/bin --with-llvmsrc=/llvm<BR>4) ./configure --with-llvmgccdir=/llvm-4.2-2.4-x86-linux-RHEL4/bin --with-llvmobj=/llvm<BR> <BR>All of which give me the same error...<BR> <BR>when I went to /llvm and did a: <BR> <BR>./configure <BR> <BR>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:<BR> <BR>$make<BR>make[1]: Entering directory '/llvm/projects/test-suite/SingleSource'<BR>make[2]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests'<BR>make[3]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests/Vector'<BR>make[4]: Entering directory '/llvm/projects/test-suite/SingleSource/UnitTests/Vector/SSE'<BR>Compiling sse.expandfft.c to Output/sse.expandfft.bc<BR>cc1: warning: unrecognized gcc debugging option: i<BR>cc1: warning: unrecognized gcc debugging option: s<BR>cc1: warning: unrecognized gcc debugging option: b<BR>cc1: warning: unrecognized gcc debugging option: l<BR>cc1: warning: unrecognized gcc debugging option: e<BR>cc1: warning: unrecognized gcc debugging option: -<BR>cc1: warning: unrecognized gcc debugging option: l<BR>cc1: warning: unrecognized gcc debugging option: l<BR>cc1: warning: unrecognized gcc debugging option: m<BR>cc1: warning: unrecognized gcc debugging option: -<BR>cc1: warning: unrecognized gcc debugging option: o<BR>cc1: warning: unrecognized gcc debugging option: t<BR>cc1: warning: unrecognized gcc debugging option: z<BR>cc1: warning: unrecognized gcc debugging option: n<BR>cc1: warning: unrecognized gcc debugging option: s<BR>cc1: Unknown command line argument '-m32'.  Try: 'cc1 --help'<BR>make: [Output/sse.expandfft.bc] Error 1 (ignored)<BR>cp -f Output/sse.expandfft.bc Output/sse.expandfft.linked.rbc<BR>cp: cannot stat 'Output/sse.expandfft.bc' No such file or directory<BR> <BR>and then it tries to compile the following files like sse.isamax.c but I get the same warnings and errors..<BR> <BR>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.<BR> <BR> <BR>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?<BR> <BR>Thanks,<BR> <BR>George<BR><BR>
<HR>
Windows Live™ SkyDrive: Get 25 GB of free online storage. <A href="http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009">Check it out.</A><br /><hr />Windows Live™ SkyDrive: Get 25 GB of free online storage. <a href='http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_032009' target='_new'>Check it out.</a></body>
</html>