Gregory Petrosyan
2009-Dec-12 14:17 UTC
[LLVMdev] Problem running 2.6 test-suite on cygwin
After following all steps from http://llvm.org/docs/TestingGuide.html#testsuiterun, I've got this: make[1]: Entering directory `/cygdrive/c/projects/thesis/llvm-suite-2.6/llvm-2.6/projects/test-suite/SingleSource' make[2]: Entering directory `/cygdrive/c/projects/thesis/llvm-suite-2.6/llvm-2.6/projects/test-suite/SingleSource/UnitTests' make[3]: Entering directory `/cygdrive/c/projects/thesis/llvm-suite-2.6/llvm-2.6/projects/test-suite/SingleSource/UnitTests/Vector' make[4]: Entering directory `/cygdrive/c/projects/thesis/llvm-suite-2.6/llvm-2.6/projects/test-suite/SingleSource/UnitTests/Vector/SSE' make[4]: *** No rule to make target `Output/sse.expandfft.linked.rbc', needed by `Output/sse.expandfft.linked.bc'. Stop. make[4]: Leaving directory `/cygdrive/c/projects/thesis/llvm-suite-2.6/llvm-2.6/projects/test-suite/SingleSource/UnitTests/Vector/SSE' make[3]: *** [all] Error 1 make[3]: Leaving directory `/cygdrive/c/projects/thesis/llvm-suite-2.6/llvm-2.6/projects/test-suite/SingleSource/UnitTests/Vector' make[2]: *** [all] Error 1 make[2]: Leaving directory `/cygdrive/c/projects/thesis/llvm-suite-2.6/llvm-2.6/projects/test-suite/SingleSource/UnitTests' make[1]: *** [UnitTests/.makeall] Error 2 make[1]: Leaving directory `/cygdrive/c/projects/thesis/llvm-suite-2.6/llvm-2.6/projects/test-suite/SingleSource' make: *** [SingleSource/.makeall] Error 2 LLVM tools and LLVM-GCC I've built seem to work. Can it be due to LLVM_SRC_ROOT == LLVM_OBJ_ROOT? config.log for llvm and test-suite attached. Gregory -------------- next part -------------- A non-text attachment was scrubbed... Name: config-llvm.log Type: application/octet-stream Size: 224767 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091212/a86a1094/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: config-test-suite.log Type: application/octet-stream Size: 36582 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091212/a86a1094/attachment-0001.obj>
Anton Korobeynikov
2009-Dec-13 08:34 UTC
[LLVMdev] Problem running 2.6 test-suite on cygwin
> LLVM tools and LLVM-GCC I've built seem to work. > Can it be due to LLVM_SRC_ROOT == LLVM_OBJ_ROOT?No. This is usually due to absence of llvm-gcc. You need reconfigure llvm once again with lvm-gcc path added and make sure it was hooked properly (look into Makefile.config for paths, etc). -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Gregory Petrosyan
2009-Dec-13 13:34 UTC
[LLVMdev] Problem running 2.6 test-suite on cygwin
On Sun, Dec 13, 2009 at 11:34 AM, Anton Korobeynikov <anton at korobeynikov.info> wrote:>> LLVM tools and LLVM-GCC I've built seem to work. >> Can it be due to LLVM_SRC_ROOT == LLVM_OBJ_ROOT? > No. This is usually due to absence of llvm-gcc. You need reconfigure > llvm once again with lvm-gcc path added and make sure it was hooked > properly (look into Makefile.config for paths, etc).As I mentioned, it looks like llvm-gcc is installed properly. From Makefile.config: LLVMGCC := /usr/local/bin/llvm-gcc.exe LLVMGXX := /usr/local/bin/llvm-g++.exe LLVMCC1 := /usr/local/libexec/gcc/i686-pc-cygwin/4.2.1/cc1.exe LLVMCC1PLUS := /usr/local/libexec/gcc/i686-pc-cygwin/4.2.1/cc1plus.exe LLVMGCC_VERSION := 4.2.1 LLVMGCC_MAJVERS := 4 LLVMGCC_LANGS := c,c++ It looks to me that this: make[4]: *** No rule to make target `Output/sse.expandfft.linked.rbc', needed by `Output/sse.expandfft.linked.bc'. Stop. means that make is trying to build this (from Makefile.programs): # Given an unoptimized bytecode file that is a simple linkage of all # the program's bytecode files, optimize the program using the # standard compilation optimizations. $(PROGRAMS_TO_TEST:%=Output/%.linked.bc): \ Output/%.linked.bc: Output/%.linked.rbc $(LOPT) $(VERB) $(RM) -f $(CURDIR)/$@.info -$(LOPT) -std-compile-opts -info-output-file=$(CURDIR)/$@.info $(STATS) $(EXTRA_LOPT_OPTIONS) $< -o $@ -f But for some strange reason it can't find this rule (from Makefile.singlesrc): Output/%.linked.rbc: Output/%.bc -cp -f $< $@ What can be a reason for this? Gregory
Hi Gregory,> `/cygdrive/c/projects/thesis/llvm-suite-2.6/llvm-2.6/projects/test-suite/SingleSource/UnitTests/Vector/SSE' > make[4]: *** No rule to make target `Output/sse.expandfft.linked.rbc',this usually means that you don't have llvm-gcc installed, or, if you do have it installed, that the configure script did not find it. Ciao, Duncan.
Gregory Petrosyan
2010-Jan-05 08:30 UTC
[LLVMdev] Problem running 2.6 test-suite on cygwin
On Tue, Jan 5, 2010 at 8:46 AM, Duncan Sands <baldrick at free.fr> wrote:>> `/cygdrive/c/projects/thesis/llvm-suite-2.6/llvm-2.6/projects/test-suite/SingleSource/UnitTests/Vector/SSE' >> make[4]: *** No rule to make target `Output/sse.expandfft.linked.rbc', > > this usually means that you don't have llvm-gcc installed, or, if > you do have it installed, that the configure script did not find > it.Thanks, but it looks like it was not the case (more info here [1]). [1] http://lists.cs.uiuc.edu/pipermail/llvmdev/2009-December/027952.html Gregory