Skip to Content.
Sympa Menu

svadev - Re: [svadev] make in dir LLVM_OBJ/projects/safecode/tools/LTO fails

svadev AT lists.siebelschool.illinois.edu

Subject: Svadev mailing list

List archive

Re: [svadev] make in dir LLVM_OBJ/projects/safecode/tools/LTO fails


Chronological Thread 
  • From: John Criswell <criswell AT illinois.edu>
  • To: <Stefan.Scheruebl AT continental-corporation.com>, <svadev AT cs.uiuc.edu>
  • Subject: Re: [svadev] make in dir LLVM_OBJ/projects/safecode/tools/LTO fails
  • Date: Wed, 25 Jun 2014 10:41:05 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/svadev/>
  • List-id: <svadev.cs.uiuc.edu>
  • Organization: University of Illinois

On 6/25/14, 7:33 AM,
Stefan.Scheruebl AT continental-corporation.com
wrote:
Hello,

after a call of make in the LTO directory I got the following error message:

make[2]: Entering directory `/tmp/LLVM_OBJ/projects/safecode/tools/LTO'
make[2]: *** No rule to make target
`/tmp/LLVM_OBJ/projects/safecode/Release+Asserts/bin/cygLLVM-3.2svn.dll',
needed by `/tmp/LLVM_OBJ/projects/safecode/Release+Asserts/bin/cygLTO.dll'.
Stop.
make[2]: Leaving directory `/tmp/LLVM_OBJ/projects/safecode/tools/LTO'
make[1]: *** [LTO/.makeall] Error 2
make[1]: Leaving directory `/tmp/LLVM_OBJ/projects/safecode/tools'
make: *** [all] Error 1

I found both files (cygLLVM-3.2svn.dll and cygLTO.dll) in
/tmp/LLVM_OBJ/Release+Asserts/bin
so I guess it is a configuration problem.

Fascinating. cygLLVM-3.2svn.dll and friends must be created by the LLVM build prior to building poolalloc and SAFECode.

The easiest thing to do is to add targets in the Makefile that create symbolic links from /tmp/LLVM_OBJ/projects/safecode/Release+Asserts/bin/cygLLVM-3.2svn.dll to the versions in /tmp/LLVM_OBJ/Release+Asserts/bin and then make the all target depend on that.

The file safecode/tools/LTO/Makefile does something similar for the automatic pool allocation libraries; you can use that as a template.

Regards,

John Criswell


What do I have to change to get the correct pathes during the make command?

Regards,

Stefan

_______________________________________________
svadev mailing list
svadev AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/svadev





Archive powered by MHonArc 2.6.16.

Top of Page