<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 13, 2011, at 3:03 AM, Qingan Li wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi sir,<div>I have built the test suits in following steps:</div><div><font class="Apple-style-span" face="simsun, serif" size="1">0. $cd LLVM_GCC_DIR;            $</font><span class="Apple-style-span" style="font-family: monospace; font-size: medium; ">gunzip --stdout llvm-gcc-4.2-<i>version</i>-<i>platform</i>.tar.gz | tar -xvf -</span></div>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><div><font class="Apple-style-span" face="simsun, serif" size="1">1. $cd SRC_DIR/llvm-2.8/projects</font></div><div><font class="Apple-style-span" face="simsun, serif" size="1">2. $<span class="Apple-style-span" style="white-space: pre; ">svn co <a href="http://llvm.org/svn/llvm-project/test-suite/trunk">http://llvm.org/svn/llvm-project/test-suite/trunk</a> test-suite</span></font></div>
<div><font class="Apple-style-span" face="simsun, serif" size="1"><span class="Apple-style-span" style="white-space: pre; ">3.$cd OBJ_DIR; 
</span><span class="Apple-style-span" style="line-height: 23px; ">4. $SRC_DIR/configure --prefix=INS_DIR --enable-debug-runtime  --disable-optimized --enable-debug-symbols --enable-assertions --with-llvmgccdir=LLVM_GCC_DIR</span></font></div>
<div><span class="Apple-style-span" style="line-height: 23px; "><font class="Apple-style-span" face="simsun, serif" size="1">5. $make.</font></span></div><div><span class="Apple-style-span" style="line-height: 23px; "><font class="Apple-style-span" face="simsun, serif" size="1">6. $cd OBJ_DIR/projects/test_suits;             $make</font></span></div>
<div><span class="Apple-style-span" style="line-height: 23px; "><font class="Apple-style-span" face="simsun, serif" size="1"><br></font></span></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
<font class="Apple-style-span" face="monospace" size="3">Then the following error ocurred. </font></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><div><font class="Apple-style-span" size="1">[qali@qali test-suite]$ make</font></div>
<div><font class="Apple-style-span" size="1">make[1]: Entering directory `/home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource'</font></div><div><font class="Apple-style-span" size="1">make[2]: Entering directory `/home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests'</font></div>
<div><font class="Apple-style-span" size="1">make[3]: Entering directory `/home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests/Vector'</font></div><div><font class="Apple-style-span" size="1">make[4]: Entering directory `/home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests/Vector/SSE'</font></div>
<div><font class="Apple-style-span" size="1">/home/qali/build/llvm-2.8-rev/Debug+Asserts/bin/llvm-as Output/sse.expandfft.ll -o Output/sse.expandfft.bc</font></div><div><font class="Apple-style-span" size="1">/home/qali/build/llvm-2.8-rev/Debug+Asserts/bin/llvm-as: Output/sse.expandfft.ll:1:2: error: expected top-level entity</font></div>
<div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space:pre">    </span>.file<span class="Apple-tab-span" style="white-space:pre">       </span>"/home/qali/Src/llvm-2.8/projects/test-suite/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c"</font></div>
<div><font class="Apple-style-span" size="1"><span class="Apple-tab-span" style="white-space:pre">    </span>^</font></div><div><font class="Apple-style-span" size="1">make[4]: *** [Output/sse.expandfft.bc] Error 1</font></div>
<div><font class="Apple-style-span" size="1">make[4]: Leaving directory `/home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests/Vector/SSE'</font></div><div><font class="Apple-style-span" size="1">make[3]: *** [all] Error 1</font></div>
<div><font class="Apple-style-span" size="1">make[3]: Leaving directory `/home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests/Vector'</font></div><div><font class="Apple-style-span" size="1">make[2]: *** [all] Error 1</font></div>
<div><font class="Apple-style-span" size="1">make[2]: Leaving directory `/home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests'</font></div><div><font class="Apple-style-span" size="1">make[1]: *** [UnitTests/.makeall] Error 2</font></div>
<div><font class="Apple-style-span" size="1">make[1]: Leaving directory `/home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource'</font></div><div><font class="Apple-style-span" size="1">make: *** [SingleSource/.makeall] Error 2</font></div></div></blockquote><div><br></div><div>What does this print if you use "make VERBOSE=1"?</div><div><br></div><div>-Chris</div><br><blockquote type="cite"><div>
</div><div><br></div><div><span class="Apple-style-span" style="font-family: simsun, serif; font-size: x-small; ">As told by </span><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 16px; border-collapse: collapse; color: rgb(121, 6, 25); font-weight: bold; white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; ">Chris Lattner</span><span class="Apple-style-span" style="font-size: 16px; border-collapse: collapse; white-space: nowrap; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><font class="Apple-style-span" face="simsun, serif"><b>, </b>I tested my llvm-gcc like this:</font></span></div>
<div><span class="Apple-style-span" style="font-size: x-small; "><font class="Apple-style-span" face="arial, helvetica, sans-serif">[qali@qali test-suite]$ llvm-gcc -v</font></span></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>
<div><font class="Apple-style-span" size="1" face="arial, helvetica, sans-serif">Using built-in specs.</font></div><div><font class="Apple-style-span" size="1" face="arial, helvetica, sans-serif">Target: x86_64-unknown-linux-gnu</font></div>
<div><font class="Apple-style-span" size="1" face="arial, helvetica, sans-serif">Configured with: /home/nicholas/2.8-final/llvmgcc42-2.8.src/configure --prefix=/home/nicholas/2.8-final/Phase2/Release/llvmgcc42-2.8.install --program-prefix=llvm- --enable-llvm=/home/nicholas/2.8-final/Phase2/Release/llvmCore-2.8.obj --disable-multilib --enable-languages=c,c++,fortran</font></div>
<div><font class="Apple-style-span" size="1" face="arial, helvetica, sans-serif">Thread model: posix</font></div><div><font class="Apple-style-span" size="1" face="arial, helvetica, sans-serif">gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2.8)</font></div>
</div><div><font class="Apple-style-span" size="1" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" size="1" face="arial, helvetica, sans-serif">I also tried reconfigure llvm from OBJ_DIR, by re-execute step 4 above. But, it did not work. </font></div>
<div><font class="Apple-style-span" size="1" face="arial, helvetica, sans-serif"><br></font></div><div><font class="Apple-style-span" size="1" face="arial, helvetica, sans-serif">I used 'tree' in the SingleSource directory:</font></div>
<div><font class="Apple-style-span" size="1" face="arial, helvetica, sans-serif"><div>[qali@qali SingleSource]$ tree</div><div>.</div><div>|-- Makefile</div><div>|-- Makefile.singlesrc</div><div>`-- UnitTests</div><div>    |-- Makefile</div>
<div>    `-- Vector</div><div>        |-- Makefile</div><div>        `-- SSE</div><div>            |-- Makefile</div><div>            `-- Output</div><div>                `-- sse.expandfft.ll</div><div><br></div><div>4 directories, 6 files</div>
<div><br></div><div><br></div><div>I need help to build the test suits .</div></font></div><div><br></div><div><br clear="all"><br>-- <br>Best regards,<div><br></div><div>Li Qingan</div><br>
</div>
_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br></body></html>