FreeBSD Bugzilla – Attachment 46844 Details for
Bug 71832
Default Valgrind suppresion files for different FreeBSD releases
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
valgrind.diff
valgrind.diff (text/plain; charset=us-ascii), 1.93 KB, created by
Frerich Raabe
on 2004-11-04 17:05:27 UTC
(
hide
)
Description:
valgrind.diff
Filename:
MIME Type:
Creator:
Frerich Raabe
Created:
2004-11-04 17:05:27 UTC
Size:
1.93 KB
patch
obsolete
>diff -ruN /usr/ports/devel/valgrind/Makefile devel/valgrind/Makefile >--- /usr/ports/devel/valgrind/Makefile Thu Sep 2 07:15:19 2004 >+++ devel/valgrind/Makefile Fri Oct 15 03:53:23 2004 >@@ -68,9 +68,17 @@ > ${INSTALL_DATA} ${WRKSRC}/coregrind/vg_unistd.h \ > ${PREFIX}/include/valgrind > >+ yes | ${PREFIX}/bin/valgrind --tool=memcheck --gen-suppressions=yes true \ >+ | ${REINPLACE_CMD} -e 's,.*{$,{,' \ >+ | ${GREP} -v '^=' \ >+ > ${WRKDIR}/freebsd-default.supp >+ >+ ${INSTALL_DATA} ${WRKDIR}/freebsd-default.supp \ >+ ${PREFIX}/etc >+ > @${ECHO} "" > @${ECHO} "" >- @${CAT} ${PKGMESSAGE} >+ @${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g' > @${ECHO} "" > > .include <bsd.port.post.mk> >diff -ruN /usr/ports/devel/valgrind/pkg-message devel/valgrind/pkg-message >--- /usr/ports/devel/valgrind/pkg-message Sun Jul 25 19:01:59 2004 >+++ devel/valgrind/pkg-message Tue Sep 21 03:56:06 2004 >@@ -7,3 +7,14 @@ > > As a workaround you can use the devel/valgrind-snapshot port, which is > based on a more recent snapshot. >+ >+Note2: A sample suppression file was installed to \ >+ %%PREFIX%%/etc/freebsd-default.supp. It makes Valgrind hide warnings >+ caused by flawed code sequences - if any - in your system libraries, >+ so that you can concentrate on the warnings issued for your own code. >+ >+ To use these suppressions, either pass >+ --suppressions=%%PREFIX%%/etc/freebsd-default.supp >+ to Valgrind on the commandline, or add that line to your >+ ~/.valgrindrc file, which is the recommended way. >+ >diff -ruN /usr/ports/devel/valgrind/pkg-plist devel/valgrind/pkg-plist >--- /usr/ports/devel/valgrind/pkg-plist Wed Sep 1 18:27:20 2004 >+++ devel/valgrind/pkg-plist Tue Sep 21 03:39:28 2004 >@@ -36,6 +36,7 @@ > lib/valgrind/xfree-3.supp > lib/valgrind/xfree-4.supp > libdata/pkgconfig/valgrind.pc >+etc/freebsd-default.supp > %%PORTDOCS%%%%DOCSDIR%%/ac_main.html > %%PORTDOCS%%%%DOCSDIR%%/cc_main.html > %%PORTDOCS%%%%DOCSDIR%%/cg_main.html
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 71832
:
46843
| 46844