FYI..

-------- Original Message --------
Subject: Bug#717144: Remove workaround-gcc296-bugs from ctest -T MemCheck
Resent-Date: Wed, 17 Jul 2013 09:45:01 +0000
Resent-From: Mathieu Malaterre <[email protected]>
Resent-To: [email protected]
Resent-CC: Modestas Vainius <[email protected]>
Date: Wed, 17 Jul 2013 11:42:12 +0200
From: Mathieu Malaterre <[email protected]>
Reply-To: Mathieu Malaterre <[email protected]>, [email protected]
To: Debian Bug Tracking System <[email protected]>

Package: cmake
Severity: important

By default ctest -T MemCheck runs:

35: MemCheck command: /usr/bin/valgrind "-q" "--tool=memcheck" "--leak-check=yes" "--show-reachable=yes" "--workaround-gcc296-bugs=yes" "--num-callers=50"

However as per documentation:

When enabled, assume that reads and writes some small distance below the stack pointer are due to bugs in GCC 2.96, and does not report them. The "small distance" is 256 bytes by default. Note that GCC 2.96 is the default compiler on some ancient Linux distributions (RedHat 7.X) and so you may need to use this option. Do not use it if you do not have to, as it can cause real errors to be overlooked. A better alternative is
to use a more recent GCC in which this bug is fixed.

Since GCC 2.96 never entered debian, I would really like to see this option removed.

Thanks

Ref:
Source/CTest/cmCTestMemCheckHandler.cxx: this->MemoryTesterOptions.push_back("--workaround-gcc296-bugs=yes");

.



--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to