[LLVMdev] PATCH: Use size reduction -- wave1
heisenbug
ggreif at gmail.com
Fri Apr 4 11:56:13 PDT 2008
On Apr 4, 8:06 pm, heisenbug <ggr... at gmail.com> wrote:
> On Apr 4, 7:51 pm, Török Edwin <edwinto... at gmail.com> wrote:
>
>
>
> > heisenbug wrote:
> > > On Apr 3, 10:53 pm, Gabor Greif <ga... at mac.com> wrote:
> > > ...
>
> > >>> 3) Make sure that make check and some reasonable subset of llvm-test
> > >>> passes with this patch :)
>
> > >> I have never run llvm-test in the past. Is it just checking it out and
> > >> following a readme?
>
> > > After building an llvm-gcc (4.2.1), see below, I tried running this. I
> > > configured:
>
> > > ./configure --with-llvmsrc=$LLVM_TOP/llvm --with-llvmobj=$LLVM_TOP/
> > > llvm --srcdir=$LLVM_TOP/test-suite --with-llvmgccdir=$LLVM_TOP/install
> > > --with-externals=$LLVM_TOP/externals
>
> > > Then 'make', it complained that some .bc file could not be made.
>
> > > Then I put $LLVM_TOP/install and $LLVM_TOP/llvm/Release/bin im my
> > > path, but now
>
> > > checking for C++ compiler default output file name... configure:
> > > error: C++ compiler cannot create executables
>
> > > invoking g++ directly gives:
>
> > > ggreif$ g++ jj.cpp
> > > /usr/bin/ld: can't locate file for: -lstdc++
>
> > > I am stuck. What can I do to run the tests?
>
> > Did you do a make install? It is probably searching for libstdc++ from
> > the g++ you just built.
>
> yes. into $LLVM_TOP/install
>
> > I usually add a "--program-prefix=llvm-" to configure, and then I can
> > just do a make install into /usr/local without
> > interfering with system's gcc/g++.
>
> Okay, will try this route
>
>
>
> > But for running llvm-test I think you should have system's gcc/g++ on
> > your path and not llvm-gcc/llvm-g++.
> > If I understand correctly, the purpose of the testsuite is to test
> > system gcc/g++ vs. LLC vs. CBE vs. JIT.
>
> point taken. thanks!
Whatever I try I get something like this:
ggreif$ cd MultiSource/
ggreif$ make
make[2]: *** No rule to make target `Output/be.bc', needed by `Output/
burg.linked.rbc'. Stop.
make[1]: *** [Burg/.makeall] Error 2
make: *** [Applications/.makeall] Error 2
What can this be?
>
>
>
> > Best regards,
> > --Edwin
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVM... at cs.uiuc.edu http://llvm.cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
> _______________________________________________
> LLVM Developers mailing list
> LLVM... at cs.uiuc.edu http://llvm.cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list