Skip to Content.
Sympa Menu

svadev - [svadev] Problems with gcc 4.6 on ubuntu 11.10

svadev AT lists.siebelschool.illinois.edu

Subject: Svadev mailing list

List archive

[svadev] Problems with gcc 4.6 on ubuntu 11.10


Chronological Thread 
  • From: Yi Li <liyi0630 AT gmail.com>
  • To: svadev AT cs.uiuc.edu
  • Subject: [svadev] Problems with gcc 4.6 on ubuntu 11.10
  • Date: Fri, 2 Dec 2011 00:13:59 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/svadev>
  • List-id: <svadev.cs.uiuc.edu>

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

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

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).

Regards,
Yi




Archive powered by MHonArc 2.6.16.

Top of Page