svadev AT lists.siebelschool.illinois.edu
Subject: Svadev mailing list
List archive
- From: John Criswell <criswell AT illinois.edu>
- To: Pavel Borzenkov <pavel.borzenkov AT gmail.com>
- Cc: svadev AT cs.uiuc.edu
- Subject: Re: [svadev] SAFECode doesn't build on TOT
- Date: Tue, 11 Oct 2011 09:58:03 -0500
- List-archive: <http://lists.cs.uiuc.edu/pipermail/svadev>
- List-id: <svadev.cs.uiuc.edu>
- Organization: University of Illinois
On 10/11/11 4:21 AM, Pavel Borzenkov wrote:
Hi.
The SAFECode build process fails with the following error:
{{{
make[5]: Entering directory
`/home/pavel/projects/safecode/llvm-svn-build/projects/safecode/tools/clang/include/clang/AST'
make[5]: *** No rule to make target
`/home/pavel/projects/safecode/llvm-svn-build/Debug+Asserts/bin/clang-tblgen',
needed by
`/home/pavel/projects/safecode/llvm-svn-build/projects/safecode/tools/clang/include/clang/AST/Debug+Asserts/Attrs.inc.tmp'.
Stop.
make[5]: Leaving directory
`/home/pavel/projects/safecode/llvm-svn-build/projects/safecode/tools/clang/include/clang/AST'
make[4]: *** [all] Error 1
}}}
SAFECode sources are checked-out into $LLVM_SRC/projects/safecode.
Fascinating. I don't see this error on either Mac OS X or Linux. I happen to have clang checked out into llvm/tools; maybe my SAFECode clang build is picking something up from the original clang.
I'll do a clean build with just LLVM, poolalloc, and SAFECode on Mac OS X and see what happens.
Does changing the line to CLANG_LEVEL = ../.. work also?
-- John T.
The following patch fixes the problem for me:
{{{
Index: tools/clang/utils/TableGen/Makefile
===================================================================
--- tools/clang/utils/TableGen/Makefile (revision 141645)
+++ tools/clang/utils/TableGen/Makefile (working copy)
@@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
-LEVEL = ../../../..
+LEVEL = ../../../../../..
TOOLNAME = clang-tblgen
LINK_COMPONENTS = TableGen support
REQUIRES_EH := 1
}}}
- [svadev] SAFECode doesn't build on TOT, Pavel Borzenkov, 10/11/2011
- Re: [svadev] SAFECode doesn't build on TOT, John Criswell, 10/11/2011
- Re: [svadev] SAFECode doesn't build on TOT, John Criswell, 10/11/2011
- Re: [svadev] SAFECode doesn't build on TOT, John Criswell, 10/11/2011
Archive powered by MHonArc 2.6.16.