Skip to Content.
Sympa Menu

svadev - [svadev] Error in Compiling Poolalloc

svadev AT lists.siebelschool.illinois.edu

Subject: Svadev mailing list

List archive

[svadev] Error in Compiling Poolalloc


Chronological Thread 
  • From: Vishruth Ashok <ashok2 AT illinois.edu>
  • To: svadev AT cs.uiuc.edu
  • Subject: [svadev] Error in Compiling Poolalloc
  • Date: Wed, 23 Jan 2013 11:38:58 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/svadev/>
  • List-id: <svadev.cs.uiuc.edu>

Hello,

While following the steps from here to compile poolalloc, I get an error.
I'm not exactly sure what could have gone wrong and I've tried redoing the steps a few times, without success.

I also get an error while trying to compile safecode.
It seems related an error in Printer.cpp.

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?

Regards,
Vishruth


--
Vishruth Ashok
Currently pursuing Bachelor of Science
Computer Science
University of Illinois, Urbana-Champaign



Archive powered by MHonArc 2.6.16.

Top of Page