From stdcxx-dev-return-5258-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Thu Sep 27 20:11:14 2007 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 9003 invoked from network); 27 Sep 2007 20:11:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Sep 2007 20:11:13 -0000 Received: (qmail 76612 invoked by uid 500); 27 Sep 2007 20:11:04 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 76598 invoked by uid 500); 27 Sep 2007 20:11:04 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 76587 invoked by uid 99); 27 Sep 2007 20:11:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 13:11:04 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2007 20:13:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D23D97141ED for ; Thu, 27 Sep 2007 13:10:50 -0700 (PDT) Message-ID: <32054893.1190923850858.JavaMail.jira@brutus> Date: Thu, 27 Sep 2007 13:10:50 -0700 (PDT) From: "Andrew Black (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Updated: (STDCXX-573) Enable building with Purify In-Reply-To: <2889295.1190922890789.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Black updated STDCXX-573: -------------------------------- Attachment: purify.diff Attached (As purify.diff) is my first take at resolving this issue, though there are a few things that need to be fixed before the patch is included. I targeted this issue at 4.2.1, as it's too late in the 4.2.0 cycle for this sort of change. One major issue is that it doesn't instrument the utilities (exec, locale/localedef), and this likely would be desired. A second issue is that we'd want to update the windows infrastructure for feature parity. A smaller issue is that we need to determine the correct behavior if a user defines both PHDIR and PURE_OPTS. We may also wish to consider increasing the timeout used when running the tests and examples. Probably one other issue to consider is whether this should be extended to single step compilation and single step run compilation. Changelog: 2007-09-27 Andrew Black * GNUmakefile: Document PURE_OPTS flag, add to generated makefile.in. * makefile.rules [PURE_OPTS]: Link executables using purify if PURE_OPTS is defined. > Enable building with Purify > --------------------------- > > Key: STDCXX-573 > URL: https://issues.apache.org/jira/browse/STDCXX-573 > Project: C++ Standard Library > Issue Type: Improvement > Components: Build > Reporter: Andrew Black > Priority: Minor > Fix For: 4.2.1 > > Attachments: purify.diff > > > It would be useful to be able to build and run the examples, utilities and tests using Rational Purify. This could potentially allow us to detect errors, such as memory leaks, which we might not otherwise detect. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.