svadev AT lists.siebelschool.illinois.edu
Subject: Svadev mailing list
List archive
- From: John Criswell <criswell AT illinois.edu>
- To: Yi Li <liyi0630 AT gmail.com>
- Cc: svadev AT cs.uiuc.edu
- Subject: Re: [svadev] Problems with gcc 4.6 on ubuntu 11.10
- Date: Fri, 2 Dec 2011 11:54:54 -0600
- List-archive: <http://lists.cs.uiuc.edu/pipermail/svadev>
- List-id: <svadev.cs.uiuc.edu>
- Organization: University of Illinois
On 12/1/11 11:13 PM, Yi Li wrote:
Hello,
I was trying to install safecode and poolalloc with LLVM 3.0 following the
instructions on http://sva.cs.illinois.edu/downloads.html
But it seems the code doesn't work with gcc 4.6. The issue is discussed here:
https://wiki.edubuntu.org/GCC4.6
As a temporary measure, you should be able to disable "warnings as errors" by removing the -Werror option in Makefile.common in the poolalloc directory. You should still get the warnings, but the code should compile.
I got "ptrdiff_t does not name a type" errors. I fixed this by
including<cstddef> in two files: $llvmsrc/include/llvm/ADT/EquivalenceClass.h,
poolalloc/include/poolalloc/Support/MallocAllocator.h
I've fixed this (I think) in Revision 145686. Please svn up and try it out.
The compiler also gives a lot of warnings that stop the compilation when
compiling poolalloc. I suspect it is also related to gcc 4.6 (the version I
used is gcc 4.6.1).
Are there other warnings that you are seeing? Can you email them to the list if there are not too many? I don't have GCC 4.6 installed on my Linux machine, so I can't test it at present.
-- John T.
Regards,
Yi
_______________________________________________
svadev mailing list
svadev AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/svadev
- [svadev] Problems with gcc 4.6 on ubuntu 11.10, Yi Li, 12/01/2011
- Re: [svadev] Problems with gcc 4.6 on ubuntu 11.10, John Criswell, 12/02/2011
Archive powered by MHonArc 2.6.16.