About test suits Cont

[qali@qali test-suite]$ make VERBOSE=1
if [ ! -f SingleSource/Makefile ];
then
/home/qali/Src/llvm-2.8/autoconf/mkinstalldirs SingleSource;
cp /home/qali/Src/llvm-2.8/projects/test-suite/SingleSource/Makefile SingleSource/Makefile;
fi;
make -C SingleSource all
make[1]: Entering directory /home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource' if [ ! -f UnitTests/Makefile ]; \ then \ /home/qali/Src/llvm-2.8/autoconf/mkinstalldirs UnitTests; \ cp /home/qali/Src/llvm-2.8/projects/test-suite/SingleSource/UnitTests/Makefile UnitTests/Makefile; \ fi; \ make -C UnitTests all -w make[2]: Entering directory /home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests’
for dir in Vector SignlessTypes Threads; do
if [ ! -f $dir/Makefile ];
then
/home/qali/Src/llvm-2.8/autoconf/mkinstalldirs $dir;
cp /home/qali/Src/llvm-2.8/projects/test-suite/SingleSource/UnitTests/$dir/Makefile $dir/Makefile;
fi;
(make -C $dir all -w) || exit 1;
done
make[3]: Entering directory /home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests/Vector' for dir in SSE; do \ if [ ! -f $dir/Makefile ]; \ then \ /home/qali/Src/llvm-2.8/autoconf/mkinstalldirs $dir; \ cp /home/qali/Src/llvm-2.8/projects/test-suite/SingleSource/UnitTests/Vector/$dir/Makefile $dir/Makefile; \ fi; \ (make -C $dir all -w) || exit 1; \ done 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”
^
make[4]: *** [Output/sse.expandfft.bc] Error 1
make[4]: Leaving directory /home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests/Vector/SSE' make[3]: *** [all] Error 1 make[3]: Leaving directory /home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests/Vector’
make[2]: *** [all] Error 1
make[2]: Leaving directory /home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource/UnitTests' make[1]: *** [UnitTests/.makeall] Error 2 make[1]: Leaving directory /home/qali/build/llvm-2.8-rev/projects/test-suite/SingleSource’
make: *** [SingleSource/.makeall] Error 2

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

[qali@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)

I attached the config.status, config.log file and the output file to console named cfg.log in the email. There are errors in config.log, but I need your help for clarifying it.

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

config.log (179 KB)

config.status (46.8 KB)

cfg.log (22.2 KB)