On 08/20/2009 06:24 PM, Paul Floyd wrote:
> 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.

If you look at the release notes of 3.5.0 (they were posted here too) 
you'll see that this change is intended.  So if you want the extra 
suppression files, you will need to copy them manually.  The specific 
note said:

"- Previously, all the distributed suppression (*.supp) files were
     installed.  Now, only default.supp is installed.  This should not
     affect users as the other installed suppression files were not
     read; the fact that they were installed was a mistake."


------------------------------------------------------------------------------
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