Umesh Kalappa
2012-May-14 09:32 UTC
[LLVMdev] [SafeCode] Unable to build the LLVM from trunk
Hi All , Was trying to build the LLVM src from http://llvm.org/svn/llvm-project/llvm/branches/release_30 ,But unable to build the same and clang poped up with below error . llvm[1]: Compiling IntervalMap.cpp for Debug build In file included from /root/projects/safecode/llvm/lib/Support/IntervalMap.cpp:14: /root/projects/safecode/llvm/include/llvm/ADT/IntervalMap.h:1980:32: error: use 'template' keyword to treat 'newNode' as a dependent template name Node[NewNode] = this->map->newNode<NodeT>(); ^ template 1 error generated. make[1]: *** [/root/projects/safecode/build/lib/Support/Debug/IntervalMap.o] Error 1 Any lights will be appreciated on the above issue . Thanks Umesh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120514/e1984c1a/attachment.html>
> Was trying to build the LLVM src from http://llvm.org/svn/llvm-project/llvm/ > branches/release_30 ,But unable to build the same and clang poped up with below > error .Are you bulidling LLVM trunk or branch 3.0? Or you can try LLVM 3.1 release, which will be released soon. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
Umesh Kalappa
2012-May-14 10:11 UTC
[LLVMdev] [SafeCode] Unable to build the LLVM from trunk
I'm sorry ,Was trying to build from 3.0 ,Where safecode port is available as mentioned in their website http://safecode.cs.illinois.edu/docs/Install.htm<http://safecode.cs.illinois.edu/docs/Install.html> l I doubt i can get the safecode changes on 3.1 or u have any idea on the same ??? Thanks ~Umesh On Mon, May 14, 2012 at 3:30 PM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote:> > Was trying to build the LLVM src from > http://llvm.org/svn/llvm-project/llvm/ > > branches/release_30 ,But unable to build the same and clang poped up > with below > > error . > > Are you bulidling LLVM trunk or branch 3.0? Or you can try LLVM 3.1 > release, > which will be released soon. > > Regards, > chenwj > > -- > Wei-Ren Chen (陳韋任) > Computer Systems Lab, Institute of Information Science, > Academia Sinica, Taiwan (R.O.C.) > Tel:886-2-2788-3799 #1667 > Homepage: http://people.cs.nctu.edu.tw/~chenwj >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120514/2dee5e25/attachment.html>
John Criswell
2012-May-14 14:39 UTC
[LLVMdev] [cfe-dev] [SafeCode] Unable to build the LLVM from trunk
On 5/14/12 4:32 AM, Umesh Kalappa wrote:> Hi All , > > Was trying to build the LLVM src from > http://llvm.org/svn/llvm-project/llvm/branches/release_30 ,But unable > to build the same and clang poped up with below error .First, it sounds like you're building LLVM 3.0, Poolalloc, and SAFECode with an unmodified version of clang. Is this correct? If so, which version of Clang are you using? Second, what platform are you on? -- John T.> > llvm[1]: Compiling IntervalMap.cpp for Debug build > In file included from > /root/projects/safecode/llvm/lib/Support/IntervalMap.cpp:14: > /root/projects/safecode/llvm/include/llvm/ADT/IntervalMap.h:1980:32: > error: use 'template' keyword to treat 'newNode' as a dependent > template name > Node[NewNode] = this->map->newNode<NodeT>(); > ^ > template > 1 error generated. > make[1]: *** > [/root/projects/safecode/build/lib/Support/Debug/IntervalMap.o] Error 1 > > > Any lights will be appreciated on the above issue . > > Thanks > Umesh > > > > _______________________________________________ > cfe-dev mailing list > cfe-dev at cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120514/a9c9b3e3/attachment.html>
Matthieu Monrocq
2012-May-14 17:04 UTC
[LLVMdev] [cfe-dev] [SafeCode] Unable to build the LLVM from trunk
On Mon, May 14, 2012 at 4:39 PM, John Criswell <criswell at illinois.edu>wrote:> On 5/14/12 4:32 AM, Umesh Kalappa wrote: > > Hi All , > > Was trying to build the LLVM src from > http://llvm.org/svn/llvm-project/llvm/branches/release_30 ,But unable to > build the same and clang poped up with below error . > > > First, it sounds like you're building LLVM 3.0, Poolalloc, and SAFECode > with an unmodified version of clang. Is this correct? If so, which > version of Clang are you using? > > Second, what platform are you on? > > -- John T. > > > llvm[1]: Compiling IntervalMap.cpp for Debug build > In file included from > /root/projects/safecode/llvm/lib/Support/IntervalMap.cpp:14: > /root/projects/safecode/llvm/include/llvm/ADT/IntervalMap.h:1980:32: > error: use 'template' keyword to treat 'newNode' as a dependent template > name > Node[NewNode] = this->map->newNode<NodeT>(); > ^ > template > 1 error generated. > make[1]: *** > [/root/projects/safecode/build/lib/Support/Debug/IntervalMap.o] Error 1 > > > Any lights will be appreciated on the above issue . > > Thanks > Umesh > > > > This an issue in the header itself, indeed the `template` keyword isnecessary to disambiguate between a template method (the case here) and an attribute compared to some NodeT thing. It has been fixed on trunk already (now at line 1991). -- Matthieu -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120514/e2701728/attachment.html>
Maybe Matching Threads
- [LLVMdev] [SafeCode] Unable to build the LLVM from trunk
- [LLVMdev] [cfe-dev] [SafeCode] Unable to build the LLVM from trunk
- [LLVMdev] [cfe-dev] [SafeCode] Unable to build the LLVM from trunk
- [LLVMdev] [cfe-dev] [SafeCode] Unable to build the LLVM from trunk
- [LLVMdev] Project Release Branches