|
From: jody <jod...@gm...> - 2010-01-31 16:32:48
|
Hi
I am using g++ (Gentoo 4.3.4 p1.0, pie-10.1.5) 4.3.4
and valgrind-3.5.0
When i compile this trivial program test.cpp:
int main(int iArgC, char *apArgV[]) {
return 0;
}
and run it under valgrind:
valgrind ./test
I get lots of error messages of the form:
==6443== Conditional jump or move depends on uninitialised value(s)
==6443== at 0x400A59E: ??? (in /lib/ld-2.10.1.so)
==6443== by 0x400335B: ??? (in /lib/ld-2.10.1.so)
==6443== by 0x4014A19: ??? (in /lib/ld-2.10.1.so)
==6443== by 0x4000D1F: ??? (in /lib/ld-2.10.1.so)
==6443== by 0x40008F6: ??? (in /lib/ld-2.10.1.so)
==6443==
all of them at other locations.
So i wrote a suppression file test.supp:
{
ld-2.10.1.so
Memcheck:Value1
obj:/lib/ld-2.10.1.so
}
{
ld-2.10.1.so
Memcheck:Value2
obj:/lib/ld-2.10.1.so
}
{
ld-2.10.1.so
Memcheck:Value4
obj:/lib/ld-2.10.1.so
}
{
ld-2.10.1.so
Memcheck:Value8
obj:/lib/ld-2.10.1.so
}
{
ld-2.10.1.so
Memcheck:Value16
obj:/lib/ld-2.10.1.so
}
But when i use it,
valgrind -v --suppressions=./test.supp ./test
the same errors are being displayed.
The same happens when i duplicate the line "obj:/lib/ld-2.10.1.so
Did i make an error in my suppression file?
Thank You
Jody
|