[MacPorts] #40286: valgrind @3.8.1_1: prohibits use of --tool=massif
MacPorts
noreply at macports.org
Wed Sep 4 13:27:35 PDT 2013
#40286: valgrind @3.8.1_1: prohibits use of --tool=massif
-------------------------+----------------------
Reporter: barto@… | Owner: raimue@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Resolution: worksforme | Keywords:
Port: valgrind |
-------------------------+----------------------
Comment (by raimue@…):
Please remember to use WikiFormatting.
Thanks for the extended log showing the problem. As said, I can't
reproduce this in the same way:
{{{
$ port -q installed valgrind
valgrind @3.8.1_1 (active)
$ /opt/local/bin/valgrind --tool=massif true
==17438== Massif, a heap profiler
==17438== Copyright (C) 2003-2012, and GNU GPL'd, by Nicholas Nethercote
==17438== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright
info
==17438== Command: true
==17438==
==17438== WARNING: Support on MacOS 10.8 is experimental and mostly
broken.
==17438== WARNING: Expect incorrect results, assertions and crashes.
==17438== WARNING: In particular, Memcheck on 32-bit programs will fail to
==17438== WARNING: detect any errors associated with heap-allocated data.
==17438==
==17438==
}}}
However, I get the same message if I add the option mentioned in your
output. That is why I assumed you had an alias which included this.
{{{
$ /opt/local/bin/valgrind --gen-suppressions=yes --tool=massif true
valgrind: Bad option: --gen-suppressions=yes
valgrind: Can't use --gen-suppressions= with Massif
valgrind: because it doesn't generate errors.
valgrind: Use --help for more information or consult the user manual.
}}}
Running with the full path should have avoided any aliases, so I am still
not sure why you see this on your system.
--
Ticket URL: <https://trac.macports.org/ticket/40286#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list