<meta http-equiv="content-type" content="text/html; charset=utf-8"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div><b>[qali@qali llvm-2.8-rev]$ find . -exec grep -n "LLVMCC_EMITIR_FLAG" ./ {} \;</b></div>
<div>./projects/test-suite/Makefile.tests:47:<span style="white-space: pre-wrap; ">       </span>-$(LCC) $(CPPFLAGS) $(CFLAGS) $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)</div><div>./projects/test-suite/Makefile.tests:51:<span style="white-space: pre-wrap; ">     </span>-$(LCXX) $(CPPFLAGS) $(CXXFLAGS) $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)</div>
<div>./projects/test-suite/Makefile.tests:55:<span style="white-space: pre-wrap; ">       </span>-$(LCXX) $(CPPFLAGS) $(CXXFLAGS) $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)</div><div>./projects/test-suite/Makefile.tests:59:<span style="white-space: pre-wrap; ">  </span>-$(LCXX) $(CPPFLAGS) $(CXXFLAGS) $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)</div>
<div>./projects/test-suite/Makefile.tests:63:<span style="white-space: pre-wrap; ">       </span>-$(LCC) $(CPPFLAGS) $(CFLAGS) $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)</div><div>./projects/test-suite/Makefile.tests:67:<span style="white-space: pre-wrap; ">     </span>-$(LCXX) $(CPPFLAGS) $(CXXFLAGS) $(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)</div>
<div><br></div><div><b>There are errors in config.log, but I need your help for clarifying them (I selected the first four errors below): </b></div><div>error 1:</div><div><div>configure:3475: gcc -E  conftest.c</div><div>
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory</div><div>configure:3481: $? = 1</div><div>configure: failed program was:</div><div>| #include <ac_nonexistent.h></div></div><div><br></div><div>error 2:</div>
<div><div>configure:4171: gcc -c -g -O2  conftest.c >&5</div><div>conftest.c: In function 'main':</div><div>conftest.c:26: error: 'not' undeclared (first use in this function)</div><div>conftest.c:26: error: (Each undeclared identifier is reported only once</div>
<div>conftest.c:26: error: for each function it appears in.)</div><div>conftest.c:26: error: expected ';' before 'big'</div><div>configure:4177: $? = 1</div><div>configure: failed program was:</div><div>| #include <sys/types.h></div>
<div>| #include <sys/param.h></div><div>| </div><div>| int</div><div>| main ()</div><div>| {</div><div>| #if BYTE_ORDER != BIG_ENDIAN</div><div>|  not big endian</div><div>| #endif</div><div>| </div><div>|   ;</div>
<div>|   return 0;</div><div>| }</div></div><div><br></div><div>error 3:</div><div><div>configure:12186: gcc -c -g -O2  conftest.c >&5</div><div>conftest.c:104:16: error: dl.h: No such file or directory</div><div>configure:12192: $? = 1</div>
<div><br></div></div><div>error 4:</div><div><div>configure:12269: result: no</div><div>configure:12302: checking for dl.h</div><div>configure:12310: result: no</div><div>configure:12169: checking sys/dl.h usability</div>
<div>configure:12186: gcc -c -g -O2  conftest.c >&5</div><div>conftest.c:104:20: error: sys/dl.h: No such file or directory</div><div>configure:12192: $? = 1</div><div><br></div></div><div><br></div></span><br><div class="gmail_quote">
2011/1/14 Eric Christopher <span dir="ltr"><<a href="mailto:echristo@apple.com">echristo@apple.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div class="im"><br>On Jan 13, 2011, at 6:22 PM, Qingan Li wrote:<br><br><blockquote type="cite">make[4]: Entering directory `/home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests/Vector/SSE'<br>
/home/qali/Src/llvm-2.8/autoconf/mkinstalldirs Output > /dev/null<br>/home/qali/build/llvm-gcc4.2-2.8-x86_64-linux/bin/llvm-gcc -I/home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests/Vector/SSE -I/home/qali/Src/llvm-2.8/projects/test-suite/SingleSource/UnitTests/Vector/SSE -I/home/qali/build/llvm-2.8-rev/include -I/home/qali/Src/llvm-2.8/projects/test-suite/include -I../../../../include -I/home/qali/Src/llvm-2.8/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -DNDEBUG  -O3  -msse2 -m64 -fomit-frame-pointer -S /home/qali/Src/llvm-2.8/projects/test-suite/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c -o Output/sse.expandfft.ll <br>
/home/qali/build/llvm-2.8-rev/Debug+Asserts/bin/llvm-as Output/sse.expandfft.ll -o Output/sse.expandfft.bc<br>/home/qali/build/llvm-2.8-rev/Debug+Asserts/bin/llvm-as: Output/sse.expandfft.ll:1:2: error: expected top-level entity<br>
<span style="white-space:pre-wrap">     </span>.file<span style="white-space:pre-wrap">   </span>"/home/qali/Src/llvm-2.8/projects/test-suite/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c"<br></blockquote><br></div>
<div>Something is odd here. Can you do a grep in your top-level build directory for LLVMCC_EMITIR_FLAG?</div><div><br></div><div>It's obviously blank and it shouldn't be. You should take a look at the configure output and see what happened.</div>
<div><br></div><font color="#888888"><div>-eric</div></font></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<div><br></div><div>Li Qingan</div><br>