public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Question about -fcheck-memory-usage and Checker
@ 2000-09-15 20:57 Craig Rodrigues
  0 siblings, 0 replies; only message in thread
From: Craig Rodrigues @ 2000-09-15 20:57 UTC (permalink / raw)
  To: gcc

Hi,

I am using a Redhat Linux 6.2 system and gcc 2.95.2.
Since there is currently no Linux version of Purify, I am searching
for alternatives.

I tried compiling a sample program with the gcc flag 
"-fcheck-memory-usage".  However, at link time I got errors like:
/tmp/ccMunOVn.o(.text+0x17): undefined reference to `chkr_set_right'
/tmp/ccMunOVn.o(.text+0x2b): undefined reference to `chkr_set_right'

I did some investigating, and found that in order to resolve these
references, you need to link against a library called Checker:
http://www.gnu.org/software/checker/checker.html

This library is available at ftp://alpha.gnu.org/gnu/

I obtained this library, but when I tried to compile it, I got the error:

gcc -c -DGCCCHECKER   -I. -I./l-malloc -I. -I./lib -I./config/obj-formats -I./config/i386/Linux -O2 -g -Wall -Wstrict-prototypes  ./config/i386/Linux/munmap.c -o munmap.o
./config/i386/Linux/munmap.c: In function `chkr_munmap':
./config/i386/Linux/munmap.c:31: Invalid `asm' statement:
./config/i386/Linux/munmap.c:31: fixed or forbidden register 3 (bx) was spilled for class BREG.
gmake: *** [munmap.o] Error 1                                  


Does anyone know how to solve this kind of error?  I don't
have much experience with x86 assembler coding.

Is Checker an actively maintained package?  If it works, it
would be an extremely useful package.

Thanks.
-- 
Craig Rodrigues        
http://www.gis.net/~craigr    
rodrigc@mediaone.net          

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-09-15 20:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-15 20:57 Question about -fcheck-memory-usage and Checker Craig Rodrigues

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).