|
From: Tom H. <th...@cy...> - 2004-03-02 09:58:17
|
In message <1078090988.30493.70.camel@localhost.localdomain>
Jeremy Fitzhardinge <je...@go...> wrote:
> Yes, that happens when you run under a kernel which doesn't have a
> sysinfo page. Normally, glibc will use the kernel's sysinfo, but if
> there isn't one, it uses _dl_sysinfo_int80. The FV loader will
> substitute the kernel's sysinfo page for its own, so that if your kernel
> supports sysinfo, Valgrind will do the right thing. The problem here is
> that it only substitutes an existing sysinfo page, but won't add an
> entry if there isn't one already. This means that glibc will use its
> own, and cause bogus traces like this.
Right.
> The fix is simple: add a sysinfo entry to the AUXV, even if there isn't
> one already.
This doesn't appear to work. I think the problem is that recent
versions of glibc will ignore AT_SYSINFO unless AT_SYSINFO_EHDR is
also set - maybe this is what bug 73891 is about?
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|