[LLVMdev] About test suits Cont1

Qingan Li ww345ww at gmail.com
Sat Jan 15 20:06:18 PST 2011


*[qali at qali llvm-2.8-rev]$ find . -exec grep -n "LLVMCC_EMITIR_FLAG" ./ {}
\;*
./projects/test-suite/Makefile.tests:47: -$(LCC) $(CPPFLAGS) $(CFLAGS)
$(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)
./projects/test-suite/Makefile.tests:51: -$(LCXX) $(CPPFLAGS) $(CXXFLAGS)
$(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)
./projects/test-suite/Makefile.tests:55: -$(LCXX) $(CPPFLAGS) $(CXXFLAGS)
$(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)
./projects/test-suite/Makefile.tests:59: -$(LCXX) $(CPPFLAGS) $(CXXFLAGS)
$(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)
./projects/test-suite/Makefile.tests:63: -$(LCC) $(CPPFLAGS) $(CFLAGS)
$(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)
./projects/test-suite/Makefile.tests:67: -$(LCXX) $(CPPFLAGS) $(CXXFLAGS)
$(LOPTFLAGS) $(X_TARGET_FLAGS) -S $< -o $@ $(LLVMCC_EMITIR_FLAG)

*There are errors in config.log, but I need your help for clarifying them (I
selected the first four errors below): *
error 1:
configure:3475: gcc -E  conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3481: $? = 1
configure: failed program was:
| #include <ac_nonexistent.h>

error 2:
configure:4171: gcc -c -g -O2  conftest.c >&5
conftest.c: In function 'main':
conftest.c:26: error: 'not' undeclared (first use in this function)
conftest.c:26: error: (Each undeclared identifier is reported only once
conftest.c:26: error: for each function it appears in.)
conftest.c:26: error: expected ';' before 'big'
configure:4177: $? = 1
configure: failed program was:
| #include <sys/types.h>
| #include <sys/param.h>
|
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
|  not big endian
| #endif
|
|   ;
|   return 0;
| }

error 3:
configure:12186: gcc -c -g -O2  conftest.c >&5
conftest.c:104:16: error: dl.h: No such file or directory
configure:12192: $? = 1

error 4:
configure:12269: result: no
configure:12302: checking for dl.h
configure:12310: result: no
configure:12169: checking sys/dl.h usability
configure:12186: gcc -c -g -O2  conftest.c >&5
conftest.c:104:20: error: sys/dl.h: No such file or directory
configure:12192: $? = 1



2011/1/14 Eric Christopher <echristo at apple.com>

>
> On Jan 13, 2011, at 6:22 PM, Qingan Li wrote:
>
> make[4]: Entering directory
> `/home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests/Vector/SSE'
> /home/qali/Src/llvm-2.8/autoconf/mkinstalldirs Output > /dev/null
> /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
> /home/qali/build/llvm-2.8-rev/Debug+Asserts/bin/llvm-as
> Output/sse.expandfft.ll -o Output/sse.expandfft.bc
> /home/qali/build/llvm-2.8-rev/Debug+Asserts/bin/llvm-as:
> Output/sse.expandfft.ll:1:2: error: expected top-level entity
> .file
> "/home/qali/Src/llvm-2.8/projects/test-suite/SingleSource/UnitTests/Vector/SSE/sse.expandfft.c"
>
>
> Something is odd here. Can you do a grep in your top-level build directory
> for LLVMCC_EMITIR_FLAG?
>
> It's obviously blank and it shouldn't be. You should take a look at the
> configure output and see what happened.
>
> -eric
>



-- 
Best regards,

Li Qingan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110116/ff1a0e2a/attachment.html>


More information about the llvm-dev mailing list