|
From: Tom H. <to...@co...> - 2005-08-26 22:49:57
|
In message <Pin...@ch...>
Nicholas Nethercote <nj...@cs...> wrote:
> On Fri, 26 Aug 2005, Tom Hughes wrote:
>
> > Hmm. It's not fully working for me... The problem is that gcc is
> > inserting calls to memcpy to handle structure assignments and those
> > are then unresolved when linking.
>
> Same here. If I put in a local version of memcpy() in m_libcbase.c next
> to VG_(memcpy)() those errors go away.
I did much the same thing now, and it links, but doesn't run:
--14672:1:debuglog DebugLog system started by Stage 2 (main), level 1 logging requested
--14672:1:main Doing scan_auxv()
--14672:1:main Preprocess command line opts
VG_(get_memory_from_mmap): newSuperblock's request for 1048576 bytes failed.
VG_(get_memory_from_mmap): 0 bytes already allocated.
Sorry. You could try using a tool that uses less memory;
eg. addrcheck instead of memcheck.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|