Hi

I just built and installed Valgrind 3.5.0. When I did this, I noticed that all
of the suppression files no longer get installed, just default.supp. I suppose
that this is OK in a single machine environment, but for us it is a small
regression. We build valgrind on the oldest OS that we support (RHEL3), but test
on RHEL3, 4 and a bit on RHEL5 and SUSE. To pick up the appropriate glibc
suppression file, I do something like

GLIBCMINOR=$(nawk \'/#define.*__GLIBC_MINOR__/{print $3}\'
/usr/include/features.h)
VGAPP=$(which valgrind)
VGDIR=$(dirname $VGAPP)
VGBASEDIR=$(dirname $VGDIR)
export VALGRIND_OPTS="$VALGRIND_OPTS
--suppressions=$VGBASEDIR/lib/valgrind/glibc-2.${GLIBCMINOR}.supp"

Of course, we can still manually copy the suppression files.

A+
Paul
-- 
Paul Floyd   http://paulf.free.fr

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to