[qali at 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 -- Best regards, Li Qingan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110114/725eaab4/attachment.html>
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110113/c08798b1/attachment.html>
[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)
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 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/20110114/dceef196/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 183152 bytes
Desc: not available
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20110114/dceef196/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.status
Type: application/octet-stream
Size: 47905 bytes
Desc: not available
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20110114/dceef196/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfg.log
Type: text/x-log
Size: 22776 bytes
Desc: not available
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20110114/dceef196/attachment-0001.bin>