> > > Message: 9 > Date: Mon, 08 Nov 2010 12:11:47 +0100 > From: Duncan Sands <baldrick at free.fr> > Subject: Re: [LLVMdev] Cannot build llvm + clang and want to find PDF > documentations > To: llvmdev at cs.uiuc.edu > Message-ID: <4CD7DAF3.3050407 at free.fr> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi Leon, > > > I cannot build llvm/clang with the revision > > > > r118398 > > > > configured with > > > > ./configure --enable-optimized --enable-doxygen --with-optimize-option. > > > > When I do make I get > > > > make[1]: Entering directory `/home/wingsit/llvm/lib/System' > > llvm[1]: Compiling Atomic.cpp for Release+Asserts build > > g++: yes: No such file or directory > > make[1]: *** [/home/wingsit/llvm/lib/System/Release+Asserts/Atomic.o] > Error 1 > > make[1]: Leaving directory `/home/wingsit/llvm/lib/System' > > make: *** [all] Error 1 > > try > make VERBOSE=1 > to get more information. > > Ciao, > > Duncan. > > >I get the following ake[1]: Entering directory `/home/leon_vm/llvm/lib/System' llvm[1]: Compiling Alarm.cpp for Release+Asserts build g++: yes: No such file or directory make[1]: *** [/home/leon_vm/llvm/lib/System/Release+Asserts/Alarm.o] Error 1 make[1]: Leaving directory `/home/leon_vm/llvm/lib/System' make: *** [all] Error 1 leon_vm at leonvm-desktop:~/llvm$ sudo make VERBOSE=1 for dir in lib/System lib/Support utils lib/VMCore lib tools/llvm-config tools runtime docs unittests; do \ (make -C $dir all ) || exit 1; \ done make[1]: Entering directory `/home/leon_vm/llvm/lib/System' llvm[1]: Compiling Atomic.cpp for Release+Asserts build if g++ -I/home/leon_vm/llvm/include -I/home/leon_vm/llvm/lib/System -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS yes -fomit-frame-pointer -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual -Wall -W -Wno-unused-parameter -Wwrite-strings -c -MMD -MP -MF "/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.d.tmp" -MT "/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.o" -MT "/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.d" Atomic.cpp -o /home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.o ; \ then /bin/mv -f "/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.d.tmp" "/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.d"; else /bin/rm "/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.d.tmp"; exit 1; fi g++: yes: No such file or directory make[1]: *** [/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.o] Error 1 make[1]: Leaving directory `/home/leon_vm/llvm/lib/System' make: *** [all] Error 1 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101117/c6b12474/attachment.html>
Hi Leon,> > ./configure --enable-optimized --enable-doxygen --with-optimize-option. > > > > When I do make I get > > > > make[1]: Entering directory `/home/wingsit/llvm/lib/System' > > llvm[1]: Compiling Atomic.cpp for Release+Asserts build > > g++: yes: No such file or directory > > make[1]: *** [/home/wingsit/llvm/lib/System/Release+Asserts/Atomic.o] Error 1 > > make[1]: Leaving directory `/home/wingsit/llvm/lib/System' > > make: *** [all] Error 1I think this is coming from "--with-optimize-option". Try configuring without it. Ciao, Duncan.> > try > make VERBOSE=1 > to get more information. > > Ciao, > > Duncan. > > > > I get the following > > ake[1]: Entering directory `/home/leon_vm/llvm/lib/System' > llvm[1]: Compiling Alarm.cpp for Release+Asserts build > g++: yes: No such file or directory > make[1]: *** [/home/leon_vm/llvm/lib/System/Release+Asserts/Alarm.o] Error 1 > make[1]: Leaving directory `/home/leon_vm/llvm/lib/System' > make: *** [all] Error 1 > leon_vm at leonvm-desktop:~/llvm$ sudo make VERBOSE=1 > for dir in lib/System lib/Support utils lib/VMCore lib tools/llvm-config tools > runtime docs unittests; do \ > (make -C $dir all ) || exit 1; \ > done > make[1]: Entering directory `/home/leon_vm/llvm/lib/System' > llvm[1]: Compiling Atomic.cpp for Release+Asserts build > if g++ -I/home/leon_vm/llvm/include -I/home/leon_vm/llvm/lib/System -D_DEBUG > -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS yes > -fomit-frame-pointer -fno-exceptions -fPIC -Woverloaded-virtual -Wcast-qual > -Wall -W -Wno-unused-parameter -Wwrite-strings -c -MMD -MP -MF > "/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.d.tmp" -MT > "/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.o" -MT > "/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.d" Atomic.cpp -o > /home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.o ; \ > then /bin/mv -f > "/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.d.tmp" > "/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.d"; else /bin/rm > "/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.d.tmp"; exit 1; fi > g++: yes: No such file or directory > make[1]: *** [/home/leon_vm/llvm/lib/System/Release+Asserts/Atomic.o] Error 1 > make[1]: Leaving directory `/home/leon_vm/llvm/lib/System' > make: *** [all] Error 1 > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reasonably Related Threads
- [LLVMdev] Cannot build llvm + clang and want to find PDF documentations
- [LLVMdev] tblgen(75451) malloc: *** error for object 0x7fff5fbfcbd0: pointer being reallocated was not allocated
- [LLVMdev] tblgen(75451) malloc: *** error for object 0x7fff5fbfcbd0: pointer being reallocated was not allocated
- [LLVMdev] Build failure
- [LLVMdev] Building LLVM with asan