[llvm-dev] New Error in Compiling the SAFECode in Cygwin

John Criswell via llvm-dev llvm-dev at lists.llvm.org
Sun Aug 23 11:37:41 PDT 2015

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 (https://github.com/peterdfinn/safecode-mainline). 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

On 8/20/15 4:26 AM, Nikhil Reddy Kothapally via llvm-dev wrote:
> Hello,
> Â  Â  Â  Â  Â 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'
> Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Â  Â  Â  Â  Â  
> Â  GlobalValue::LinkerPrivateLinkage,
> Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â Â  Â  Â  Â  Â  
> Â  ^
> /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Â
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

John Criswell
Assistant Professor
Department of Computer Science, University of Rochester

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150823/7bb7e159/attachment-0001.html>

More information about the llvm-dev mailing list