> > yesterday I got new SuSE 9.1 DVD, so i am going to enter this > > river again. Perhaps, this time all will be fine. > > Sounds great, please let me know how it goes.SuSE 9.1 is running OK. after 30 minute of compilation i get first errors: ********************* make[2]: Leaving directory `/pool/tmp/llvm/runtime/libtrace' make[2]: Entering directory `/pool/tmp/llvm/runtime/libpng' In file included from pngpread.c:12: png.h:329:18: zlib.h: No such file or directory [and alike about zlib.h and others] ********************* my ./configure was: ./configure --enable-optimized --enable-spec2000 --enable-spec95 --enable-povray --with-llvmgccdir=/pool/tmp/cfrontend/x86/llvm-gcc/ i will be back in 8 hours. -- Valery
On Sat, 1 May 2004, [koi8-r] "Valery A.Khamenya[koi8-r] " wrote:> > > yesterday I got new SuSE 9.1 DVD, so i am going to enter this > > > river again. Perhaps, this time all will be fine. > > > > Sounds great, please let me know how it goes. > > SuSE 9.1 is running OK. > after 30 minute of compilation i get first errors: > ********************* > make[2]: Leaving directory `/pool/tmp/llvm/runtime/libtrace' > make[2]: Entering directory `/pool/tmp/llvm/runtime/libpng' > In file included from pngpread.c:12: > png.h:329:18: zlib.h: No such file or directory > [and alike about zlib.h and others] > *********************Please apply this patch to your tree: Index: Makefile ==================================================================RCS file: /home/vadve/shared/PublicCVS/llvm/runtime/libpng/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- Makefile 20 Feb 2004 21:26:46 -0000 1.2 +++ Makefile 26 Mar 2004 17:04:53 -0000 1.3 @@ -11,6 +11,7 @@ BUILD_ARCHIVE=1 DONT_BUILD_RELINKED=1 LIBRARYNAME=png +CPPFLAGS += -I../zlib Source = png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \ pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \ This is fixed in CVS. You might consider upgrading to LLVM CVS, especially if you are interested in looking at performance issues: several important performance related patches have gone in since LLVM 1.2. -Chris -- http://llvm.cs.uiuc.edu/ http://www.nondot.org/~sabre/Projects/
"Valery A.Khamenya"
2004-May-01 03:29 UTC
[LLVMdev] compiling LLVM from CVS under SuSE 9.1 (finished!)
> This is fixed in CVS. You might consider upgrading to LLVM CVS, > especially if you are interested in looking at performance issues: several > important performance related patches have gone in since LLVM 1.2.OK, now i've really upgraded to CVS, but it looks like state of sources is "not compilable" :( indeed: *************************** Linking llc release executable /pool/tmp/ssrc/llvm/lib/Release/sparcv9.o(.text+0x2e343): In function `_GLOBAL__I__ZN4llvm16SparcV9SchedInfoC2ERKNS_13TargetMachineE': : undefined reference to `llvm::CPUResource::CPUResource[in-charge](std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)' [...] *************************** Really, file ./include/llvm/Target/TargetSchedInfo.h has just declaration of constructor "CPUResource". I can't find with "find-grep" the constructor definition. so, i've changed: CPUResource(const std::string& resourceName, int maxUsers) to: CPUResource(const std::string& resourceName, int maxUsers) : rname(resourceName), maxNumUsers(maxUsers) {}; Another thing is: ******************** [...] Flexing Lexer.l Lexer.l:31:27: StackerParser.h: No such file or directory Bisoning StackerParser.y [...] ******************** which did not stop compilation though (probably sub-call make -k) And now, compilation is finished, wow! :) -- Valery.