svadev AT lists.siebelschool.illinois.edu
Subject: Svadev mailing list
List archive
- From: John Criswell <criswell AT illinois.edu>
- To: Vishruth Ashok <ashok2 AT illinois.edu>
- Cc: svadev AT cs.uiuc.edu
- Subject: Re: [svadev] Error in Compiling Poolalloc
- Date: Wed, 23 Jan 2013 11:55:06 -0600
- List-archive: <http://lists.cs.uiuc.edu/pipermail/svadev/>
- List-id: <svadev.cs.uiuc.edu>
- Organization: University of Illinois
|
On 1/23/13 11:47 AM, Vishruth Ashok
wrote:
Ok awesome, thanks. I'll try it out right away.
Regarding the version number, when I was fiddling around
trying different strategies to get it to compile, I used
release_32 as well. If I remember correctly, that also gave me
similar issues, so I abandoned that line of thought.
I'm not surprised. DSA was written before LLVM became really pedantic on warnings and errors, and this particular issue is a real pain to fix, IIRC. Let me know if removing those flags fixes the problem (it should, but I'd like verification). If it does, I'll change the Makefiles to omit them. -- John T. Thanks again!
Regards,
Vishruth.
On 23 January 2013 11:43, John Criswell
<criswell AT illinois.edu>
wrote:
On 1/23/13 11:38 AM, Vishruth Ashok wrote:
Hello, My error trace looks like this: llvm[2]: Compiling Printer.cpp for Debug
build (PIC)
In file included from Printer.cpp:23:0:
/home/vishruth/Workspace/Thesis/llvm/include/llvm/Support/GraphWriter.h:
In instantiation of ‘void
llvm::GraphWriter<GraphType>::writeNode(llvm::GraphWriter<GraphType>::NodeType*)
[with GraphType = const llvm::DSGraph*;
llvm::GraphWriter<GraphType>::NodeType =
const llvm::DSNode]’:
Printer.cpp:295:19: required from here
/home/vishruth/Workspace/Thesis/llvm/include/llvm/Support/GraphWriter.h:175:9:
error: cast from type
‘llvm::GraphWriter<const
llvm::DSGraph*>::NodeType* {aka const
llvm::DSNode*}’ to type ‘void*’ casts away
qualifiers [-Werror=cast-qual]
/home/vishruth/Workspace/Thesis/llvm/include/llvm/Support/GraphWriter.h:195:9:
error: cast from type
‘llvm::GraphWriter<const
llvm::DSGraph*>::NodeType* {aka const
llvm::DSNode*}’ to type ‘void*’ casts away
qualifiers [-Werror=cast-qual]
cc1plus: all warnings being treated as errors
/bin/rm: cannot remove
`/home/vishruth/Workspace/Thesis/llvm/projects/poolalloc/lib/DSA/Debug/Printer.d.tmp':
No such file or directory
make[2]: ***
[/home/vishruth/Workspace/Thesis/llvm/projects/poolalloc/lib/DSA/Debug/Printer.o]
Error 1
make[2]: Leaving directory
`/home/vishruth/Workspace/Thesis/llvm/projects/poolalloc/lib/DSA'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/home/vishruth/Workspace/Thesis/llvm/projects/poolalloc/lib'
make: *** [all] Error 1
Any idea what might have gone wrong?
My best guess is that you're compiling with a version of GCC or Clang that is more stringent about warnings and errors than what we use. I recommend removing -Werror and -Wall from Makefile.common.in and reconfiguring poolalloc. That should fix the compile. Also, I realize that I haven't updated the web site documents yet, but you can use the release_32 branch of LLVM, poolalloc, and SAFECode now. The release_30 branch is frozen. -- John T.
Vishruth Ashok Currently pursuing Bachelor of Science Computer Science University of Illinois, Urbana-Champaign |
- [svadev] Error in Compiling Poolalloc, Vishruth Ashok, 01/23/2013
- Re: [svadev] Error in Compiling Poolalloc, John Criswell, 01/23/2013
- Re: [svadev] Error in Compiling Poolalloc, Vishruth Ashok, 01/23/2013
- Re: [svadev] Error in Compiling Poolalloc, John Criswell, 01/23/2013
- Re: [svadev] Error in Compiling Poolalloc, Vishruth Ashok, 01/23/2013
- Re: [svadev] Error in Compiling Poolalloc, Csaba Raduly, 01/24/2013
- Re: [svadev] Error in Compiling Poolalloc, John Criswell, 01/24/2013
- [svadev] Error in Compiling Poolalloc, Vishruth Ashok, 01/24/2013
- Re: [svadev] Error in Compiling Poolalloc, Vishruth Ashok, 01/25/2013
- Re: [svadev] Error in Compiling Poolalloc, John Criswell, 01/25/2013
- Re: [svadev] Error in Compiling Poolalloc, Vishruth Ashok, 01/25/2013
- [svadev] Error in Compiling Poolalloc, Vishruth Ashok, 01/24/2013
- Re: [svadev] Error in Compiling Poolalloc, John Criswell, 01/24/2013
- Re: [svadev] Error in Compiling Poolalloc, John Criswell, 01/23/2013
Archive powered by MHonArc 2.6.16.