What steps will reproduce the problem?
- using the 'make' command to compile the toolchain (get on the svn repository) 2. 3.
What is the expected output? What do you see instead?
I had lot of problems to the compilation. Always the same kind of problem : abort is not declared on the scope, memcmp is not declared on the scope etc... i solved this problems by adding good #include in the file where the problem appear. Now, i have a new problem that i'm not abble to solve by myself (i'm not a C++ developper) :
llvm[1]: Compiling AsmWriter.cpp for Debug build In file included from /home/nathan/llvm-svn/include/llvm/BasicBlock.h:19, from /home/nathan/llvm-svn/include/llvm/Function.h:22, from /home/nathan/llvm-svn/include/llvm/Module.h:17, from /home/nathan/llvm-svn/include/llvm/Assembly/PrintModulePass.h:22, from AsmWriter.cpp:18: /home/nathan/llvm-svn/include/llvm/ADT/ilist: In member function ‘void llvm::iplist<NodeTy, Traits>::swap(llvm::iplist<NodeTy, Traits>&)’: /home/nathan/llvm-svn/include/llvm/ADT/ilist:326: error: there are no arguments to ‘abort’ that depend on a template parameter, so a declaration of ‘abort’ must be available /home/nathan/llvm-svn/include/llvm/ADT/ilist:326: error: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from /home/nathan/llvm-svn/include/llvm/Function.h:22, from /home/nathan/llvm-svn/include/llvm/Module.h:17, from /home/nathan/llvm-svn/include/llvm/Assembly/PrintModulePass.h:22,
Further, i got manny 'warnings' but i think is not a priority.
What version of the product are you using? On what operating system?
I'm using a Debian GNU/Linux Lenny (5.0). Intel x86 proc. Kernel : 2.6.26-2-686
Please provide any additional information below.
i can (if you want to) give you all the errors i solved before it and all the warnings.
Comment #1
Posted on May 24, 2010 by Swift Kangarooi precise i've got the lastest version of the toolchain by the svn
Comment #2
Posted on Sep 23, 2010 by Quick WombatThe issue is probably that you are using a too recent G++/stl. Try with $ export CXX=g++-4.2 before configure/make (or whatever other compiler you may have; check dpkg -l|grep g++) It certainly does not work on g++-4.4, ok for me on 4.2, not tested on 4.3.
Status: New