New Error in Compiling the SAFECode in Cygwin

I have found a new error in the compilation and i need some help that which “std compiler version” is used to develop the source code so that i can make changes by the specification of the compiler version global variables

make[4]: Leaving directory ‘/home/uidr7475/Work/LLVM_OBJ/projects/safecode/lib/CommonMemorySafety’
make[4]: Entering directory ‘/home/uidr7475/Work/LLVM_OBJ/projects/safecode/lib/BaggyBoundsChecks’
llvm[4]: Compiling BaggyBoundsChecks.cpp for Release+Asserts build
/home/uidr7475/Work/LLVM_SRC/projects/safecode/lib/BaggyBoundsChecks/BaggyBoundsChecks.cpp: In member function ‘void llvm::InsertBaggyBoundsChecks::adjustGlobalValue(llvm::GlobalValue*)’:
/home/uidr7475/Work/LLVM_SRC/projects/safecode/lib/BaggyBoundsChecks/BaggyBoundsChecks.cpp:211:50: error: ‘LinkerPrivateLinkage’ is not a member of ‘llvm::GlobalValue’
/usr/bin/rm: cannot remove ‘/home/uidr7475/Work/LLVM_OBJ/projects/safecode/lib/BaggyBoundsChecks/Release+Asserts/BaggyBoundsChecks.d.tmp’: No such file or directory
/home/uidr7475/Work/LLVM_SRC/Makefile.rules:1521: recipe for target ‘/home/uidr7475/Work/LLVM_OBJ/projects/safecode/lib/BaggyBoundsChecks/Release+Asserts/BaggyBoundsChecks.o’ failedmake[4]: **

make[4]: Leaving directory ‘/home/uidr7475/Work/LLVM_OBJ/projects/safecode/lib/BaggyBoundsChecks’
make[3]: *** [BaggyBoundsChecks/.makeall] Error 2/home/uidr7475/Work/LLVM_SRC/Makefile.rules:939: recipe for target ‘BaggyBoundsChecks/.makeall’ failed

make[3]: Leaving directory ‘/home/uidr7475/Work/LLVM_OBJ/projects/safecode/lib’
make[2]: *** [all] Error 1/home/uidr7475/Work/LLVM_SRC/Makefile.rules:880: recipe for target ‘all’ failed

make[2]: Leaving directory ‘/home/uidr7475/Work/LLVM_OBJ/projects/safecode’
/home/uidr7475/Work/LLVM_SRC/Makefile.rules:880: recipe for target ‘all’ failedmake[1]: *** [all] Error 1

make[1]: Leaving directory ‘/home/uidr7475/Work/LLVM_OBJ/projects’
/home/uidr7475/Work/LLVM_SRC/Makefile.rules:965: recipe for target ‘all’ failedmake: *** [all] Error 1

Thank You,

Kind Regards,

Nikhil Reddy Kothapally

Dear Nikhil,

Peter already fixed all of the code in safecode/lib so that it compiles with the upcoming LLVM 3.7. I believe he's committed this code to his github repository ( You should not be seeing this error because Peter has already fixed it. The only thing Peter hasn't finished is re-integrating SAFECode into Clang.

Speaking of which, have you verified that Clang on Windows can compile the applications that you need to compile?


John Criswell