cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: MemoryTracking internal adjustments

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Tue, 16 Aug 2011 14:04:08 +0200

On Tue August 16 2011 13:05:54 Yang Tse wrote:
> Given that valgrind is generally available on linux systems would it
> be ok for you if the 'magic filling' got #ifdef'ed out when __linux__
> is defined at compile time?

When using up2date versions of gcc/glibc with optimization turned on, valgrind
reports a lot of false positives on string routines and other optimized stuff
[1,2]. On some Linux setups valgrind refuses to start [3]. Upstream often
does not provide any applicable solution [4]. I would not call valgrind
generally available on linux systems, or at least not generally usable.

Kamil

[1] https://bugzilla.redhat.com/show_bug.cgi?id=626470
[2] https://bugzilla.redhat.com/show_bug.cgi?id=678518
[3] https://bugs.kde.org/show_bug.cgi?id=190429#c17
[4] https://bugs.kde.org/show_bug.cgi?id=264936#c8
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-08-16