|
From: Naveen K. <g_n...@ya...> - 2005-01-06 22:56:02
|
Ok so I finally got valgrind to compile on solaris-x86. when I run the executable this is what I get bash-2.03$ ~/my_local/bin/valgrind Executable range b0000000-b01df900 is outside the acceptable range 80a3000-8047000 valgrind: failed to load /export/home/msat/my_local//lib/valgrind/stage2: Not enough space I suppose I have to tweak the KICKSTART_BASE and some other size parameters only I'm not sure how to go about finding out what values I should put in here. Any pointers ? Thanks Naveen __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
From: Tom H. <th...@cy...> - 2005-01-07 00:17:46
|
In message <200...@we...>
Naveen Kumar <g_n...@ya...> wrote:
> Ok so I finally got valgrind to compile on
> solaris-x86.
> when I run the executable this is what I get
>
> bash-2.03$ ~/my_local/bin/valgrind
> Executable range b0000000-b01df900 is outside the
> acceptable range 80a3000-8047000
> valgrind: failed to load
> /export/home/msat/my_local//lib/valgrind/stage2: Not
> enough space
>
> I suppose I have to tweak the KICKSTART_BASE and some
> other size parameters only I'm not sure how to go
> about finding out what values I should put in here.
Your problem is that valgrind uses the initial stack pointer
to find the top of memory and derives the 8047000 limit from
that value.
I believe that Solaris puts the stack under the executable
rather than at the top of memory so you will need some other
way to find the top of the user address space.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|