svadev AT lists.siebelschool.illinois.edu
Subject: Svadev mailing list
List archive
- From: John Criswell <criswell AT illinois.edu>
- To: svadev AT cs.uiuc.edu
- Subject: Re: [svadev] safecode build failure
- Date: Fri, 11 Mar 2011 00:05:38 -0600
- List-archive: <http://lists.cs.uiuc.edu/pipermail/svadev>
- List-id: <svadev.cs.uiuc.edu>
- Organization: University of Illinois at Urbana-Champaign
On 3/10/2011 11:37 PM, Matthew Wala wrote:
Hi everyone:
I get the following error trying to build SAFECode trunk on gravity
(and g++ 4.1.2):
I've fixed this in Revision 127461 by initializing the offending pointer to NULL.
Arushi, can you verify that it's okay for debugmetadataptr to be NULL in this instance?
Thanks in advance,
-- John T.
make[2]: Entering directory
`/home/vadve/wala1/llvm-2.7/projects/safecode/runtime/BBRuntime'
llvm[2]: Compiling BaggyBoundsCheck.cpp for Release build (PIC)
cc1plus: warnings being treated as errors
BaggyBoundsCheck.cpp: In function ‘void bus_error_handler(int,
siginfo_t*, void*)’:
BaggyBoundsCheck.cpp:675: warning: ‘debugmetadataptr’ is used
uninitialized in this function
make[2]: ***
[/home/vadve/wala1/llvm-2.7/projects/safecode/runtime/BBRuntime/Release/BaggyBoundsCheck.o]
Error 1
make[2]: Leaving directory
`/home/vadve/wala1/llvm-2.7/projects/safecode/runtime/BBRuntime'
make[1]: *** [BBRuntime/.makeall] Error 2
make[1]: Leaving directory
`/home/vadve/wala1/llvm-2.7/projects/safecode/runtime'
make: *** [all] Error 1
Right now I set the pointer to NULL to make it go away. I don't know
if that's safe.
Matt
_______________________________________________
svadev mailing list
svadev AT cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/svadev
- [svadev] safecode build failure, Matthew Wala, 03/10/2011
- Re: [svadev] safecode build failure, John Criswell, 03/11/2011
Archive powered by MHonArc 2.6.16.