Port details |
- valgrind Memory debugging and profiling tool
- 3.24.0_1,1 devel =20 3.23.0,1Version of this port present on the latest quarterly branch.
- Maintainer: pjfloyd@wanadoo.fr
- Port Added: 2004-05-24 01:40:54
- Last Update: 2024-12-13 08:22:19
- Commit Hash: 21c80638
- People watching this port, also watch:: subversion, pcre, libxml2, mplayer, expat
- License: GPLv2
- WWW:
- https://www.valgrind.org/
- Description:
- Valgrind is a system for debugging and profiling un*x programs. With the tools
that come with Valgrind, you can automatically detect many memory management
and threading bugs, avoiding hours of frustrating bug-hunting, making your
programs more stable. You can also perform detailed profiling, to speed up and
reduce memory use of your programs.
The Valgrind distribution includes 10 tools:
- memcheck, the primary tool, a memory error detector
- helgrind and drd, thread error detectors
- callgrind and cachegrind, execution and cache profiling tools
- massif, a memory tracker
- dhat, a memory content profiler
- lackey, an example of using the framework
- none, does no instumentation and can check that Valgrind runs correctly
- exp-bbv, and experimental profiling tool using sampling
Valgrind was initially ported to FreeBSD by Doug Rabson.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- valgrind>0:devel/valgrind
- Conflicts:
- CONFLICTS:
- To install the port:
- cd /usr/ports/devel/valgrind/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/valgrind
- pkg install valgrind
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: valgrind
- Flavors: there is no flavor information for this port.
- ONLY_FOR_ARCHS: aarch64 amd64 i386
- distinfo:
- TIMESTAMP = 1730444324
SHA256 (valgrind-3.24.0.tar.bz2) = 71aee202bdef1ae73898ccf7e9c315134fa7db6c246063afc503aef702ec03bd
SIZE (valgrind-3.24.0.tar.bz2) = 16632387
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- docbook-xsl>=0 : textproc/docbook-xsl
- xsltproc : textproc/libxslt
- docbook-xsl>=0 : textproc/docbook-xsl
- xsltproc : textproc/libxslt
- gmake>=4.4.1 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- autoconf>=2.72 : devel/autoconf
- automake>=1.17 : devel/automake
- perl5>=5.36<5.37 : lang/perl5.36
- Runtime dependencies:
-
- python3.11 : lang/python311
- This port is required by:
- for Run
-
- devel/rubygem-ruby_memcheck
Configuration Options:
- ===> The following configuration options are available for valgrind-3.24.0_1,1:
32BIT=on: Enable debugging of 32-bit programs (requires lib32)
DOCS=on: Build and/or install documentation
MANPAGES=on: Build and/or install manual pages
MPI=off: Enable build of MPI wrappers
===> Use 'make config' to modify these settings
- Options name:
- devel_valgrind
- USES:
- autoreconf cpe gmake pathfix perl5 pkgconfig shebangfix python:3.9+,run tar:bz2
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
352_7 07 Aug 2009 11:30:48 |
stas |
- Take maintainership. |
352_7 10 May 2009 18:17:14 |
beat |
- Fix build with NOPORTDOCS
Approved by: miwi (mentor, implicit) |
352_7 23 Mar 2009 01:01:15 |
linimon |
Reset barner@FreeBSD.org due to several months of inactivity.
Hat: portmgr |
352_7 05 Jan 2009 19:44:02 |
pav |
- Remove conditional checks for FreeBSD 5.x and older |
352_7 23 Sep 2008 07:02:14 |
barner |
- Fix build from within jails
PR: ports/127015
Submitted by: Alexander Churanov
Approved by: portmgr (erwin) |
352_7 21 Aug 2008 06:18:49 |
rafan |
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk (Only the first 15 lines of the commit message are shown above ) |
352_7 20 Aug 2008 00:57:32 |
ade |
Conversion from (now defunct) autoconf-2.61 to autoconf-2.62
Tested by: exp build run (erwin) |
352_7 17 May 2008 19:04:49 |
barner |
Fix build on FreeBSD 7.
Requested by: many
PR: ports/116513 [1],
ports/123711 [2]
Submitted by: Bruce Cran <bruce@cran.org.uk> [1],
delphij [2] |
352_7 11 May 2008 19:37:28 |
pav |
- Mark BROKEN on 7.x
Reported by: pointyhat |
352_7 09 Feb 2008 12:06:53 |
erwin |
Mark IGNORE on 8.0: unsupported. |
352_7 04 Oct 2007 23:08:40 |
edwin |
Remove always true/always false OSVERSION conditions. |
352_7 04 Oct 2007 00:41:11 |
edwin |
Remove always-false/true conditions based on OSVERSION 500000 |
352_7 30 Sep 2007 04:47:37 |
linimon |
Switch autoconf dependencies from 2.53 or 2.59 to 2.61.
PR: ports/116639
Submitted by: aDe |
352_6 08 Sep 2007 00:59:21 |
linimon |
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl.
Work done by: gabor
Sponsored by: Google Summer of Code 2007
Hat: portmgr |
352_6 21 Feb 2007 12:33:19 |
barner |
- Fix build on -current.
- Valgrind still dumps core (under investigation). |
352_6 04 May 2006 21:41:12 |
edwin |
Remove USE_REINPLACE from all categories starting with D |
352_6 20 Feb 2006 13:07:57 |
barner |
- SHM fix: Silence erroneous warnings on X server initialization
- Bump PORTREVISION
Submitted by: anholt |
352_5 15 Feb 2006 17:42:26 |
barner |
- Fix build on 7-current by avoiding conflict in si_band macro, that
is already defined in the sys/signal.h header
Submitted by: Niklas Sorensson <nik@cs.chalmers.se>
Prodded by: kris via pointyhat |
352_5 24 Nov 2005 14:08:01 |
barner |
Add SHA256 for my ports (that don't already have it). |
352_5 15 Nov 2005 11:22:58 |
barner |
Fix build on FreeBSD 6 and above.
PR: ports/89056
Submitted by: "Andrei V. Shetuhin" <shetuhin@corp.mail.ru>
Also reported by: kris via pointyhat |
352_5 20 Oct 2005 10:41:03 |
barner |
- Add support for uuidgen(2) system call
- Bump PORTREVISION
Submitted by: rodrigc
PR: ports/87697 |
352_4 20 Sep 2005 10:26:27 |
barner |
- fix build on 7-current [1]
- Add forgotten internal dependency for FreeBSD 4.
Reported by: mich [1] |
352_4 20 Sep 2005 00:40:09 |
barner |
- Fix on FreeBSD 6 and above: [1] [2]
Valgrind did not handle the following sysarch calls, and thus crashed
immediately
o get_fsbase
o set_fsbase
o get_gsbase
o set_fsbase
- Valgrind no longer dumps core when its client application does. [2]
Valgrind-snapshot does contain for safing the client's core dump,
but it does not work (it resulted in a crash) and has therefore been
disabled.
(Only the first 15 lines of the commit message are shown above ) |
352_3 11 Aug 2005 13:26:20 |
barner |
- Mark valgrind ports IGNORE when /proc is not mounted, previously, only
a warning was printed.
A mounted procfs is a runtime dependency of valgrind, but since the
implementation of automatic suppression file generation the valgrind
binary is run in the post-install stage.
- An exception needs to be made for the ports cluster: The machine compiling
the list of IGNOREd ports does not have a mounted /proc, so the check (and
the generation of supression files is disabled there).
Users who want to suppress false positives in valgrinds output should build
the port instead of installing the package (so the rules can be customized to
their specific installation).
Reported by: Paul Ledbetter III <aeacides@gmail.com>
Approved by: portmgr (kris) |
352_3 18 Jul 2005 07:13:54 |
barner |
- Fix detection of FreeBSD 7
Reported by: kris via pointyhat |
352_3 19 May 2005 16:56:20 |
barner |
Fix generation of suppression files: Valgrind puts parts of its output
on stderr, so the redirection into a file did not work.
Submitted by: Eugene Kilachkoff <zeus@samaramail.ru>
PR: ports/81249 |
352_3 12 Apr 2005 03:26:57 |
obrien |
At Kris's request, back out the MACHINE_ARCH spelling correction until
after 5.4-RELEASE. |
352_3 11 Apr 2005 08:04:41 |
obrien |
Assist getting more ports working on AMD64 by obeying the
Ports Collection documentation and use 'ARCH' rather than 'MACHINE_ARCH'. |
352_3 28 Feb 2005 13:05:25 |
barner |
Change email address in ports maintained by me to barner@FreeBSD.org
Approved by: arved (mentor) |
352_3 27 Dec 2004 11:41:40 |
vs |
- Add some suppression files & fix packaging[1]
(bump PORTREV)
- Warn if USER_LDT is not present in 4.x-kernel [2]
PR: ports/71832 [1]; ports/75436 [2]
Submitted by: Frerich Raabe; maintainer |
352_2 09 Dec 2004 23:08:41 |
pav |
- Starting from some point after FreeBSD 5.2.1, valgrind did not terminate
correctly, but got stuck in state ``umtx''. This was mentioned on the lists
and in kern/68992 [closed], but I was never able to fix the problem.
On FreeBSD >= 502120, the kernel's and valgrind's definition of
UMTX_CONTESTED flag were out of sync, which is why valgrind did not terminate
on these systems.
PR: ports/74903
Submitted by: Simon Barner <barner@gmx.de> (maintainer) |
352_1 08 Dec 2004 19:36:55 |
pav |
- Take care of leftover pkgconfig directory
PR: ports/74818
Submitted by: Simon Barner <barner@gmx.de> (maintainer) |
352_1 02 Sep 2004 05:15:19 |
sem |
Remove junk from Makefile.
Reported by: Amir Shalem <amir(at)boom.org.il> |
352_1 01 Sep 2004 16:27:21 |
sem |
Rename devel/calltree to callgrind.
Update it to 0.9.8.
Update related ports.
PR: ports/70936
Submitted by: maintainer |
352 21 Aug 2004 20:29:19 |
pav |
- Teach configure script about FreeBSD 6
PR: ports/70746
Submitted by: Simon Barner <barner@in.tum.de> (maintainer) |
352 06 Aug 2004 12:36:34 |
lofi |
Correct CONFLICTS. valgrind-snapshot conflicts with every version of
valgrind, not just 352. |
352 06 Aug 2004 12:25:54 |
lofi |
Instead of just checking for PACKAGE_BUILDING, don't let the check for
procfs stop the portbuild at all. Displaying a warning is fine, breaking
the build over a runtime requirement that does not break building the port
is not. |
352 01 Aug 2004 17:19:19 |
lofi |
Forced commit to note that these patches were
Obtained from: valgrind CVS |
352 01 Aug 2004 17:18:21 |
lofi |
GCC 3.4 fixes. |
352 01 Aug 2004 15:20:04 |
lofi |
valgrind installs different files on RELENG_4 & RELENG_5, add some
PLIST_SUB to deal with that. |
352 01 Aug 2004 00:45:56 |
lofi |
Disable procfs check on package builders. |
352 25 Jul 2004 17:28:14 |
pav |
- Use canonical way to request new Perl |
352 25 Jul 2004 17:02:00 |
pav |
- Update to 352
PR: ports/69553
Submitted by: Simon Barner <barner@in.tum.de> (maintainer) |
327 23 May 2004 17:00:03 |
krion |
Valgrind is a system for debugging and profiling un*x programs.
With the tools that come with Valgrind, you can automatically
detect many memory management and threading bugs, avoiding
hours of frustrating bug-hunting, making your programs more
stable. You can also perform detailed profiling, to speed up
and reduce memory use of your programs.
The Valgrind distribution includes five tools: two memory error
detectors, a thread error detector, a cache profiler and a heap
profiler. Several other tools have been built with Valgrind.
Valgrind was ported to FreeBSD by Doug Rabson (http://www.rabson.org/).
Submitted by: Doug Rabson <dfr@FreeBSD.org> and Simon Barner
<barner@in.tum.de> |