Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 17910 invoked from network); 27 Jun 2007 05:47:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2007 05:47:30 -0000 Received: (qmail 67813 invoked by uid 500); 27 Jun 2007 05:47:30 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 67789 invoked by uid 500); 27 Jun 2007 05:47:30 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 67780 invoked by uid 99); 27 Jun 2007 05:47:30 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 22:47:30 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of mloenko@gmail.com designates 66.249.92.169 as permitted sender) Received: from [66.249.92.169] (HELO ug-out-1314.google.com) (66.249.92.169) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 22:47:25 -0700 Received: by ug-out-1314.google.com with SMTP id o2so253651uge for ; Tue, 26 Jun 2007 22:47:04 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ialKG0ioNzmUZulGhF0SsSRfwrBza/mth8BvQvYS2rKE2aLBMpJnCGL86jI6lf9bUvVHrdkeyKsIVuaZUb56/FF1PVYp/RB1nJe7pmA2Xfk95OhOAYkPYta1BGkVA9IX3UMzGzlPFcRVMjrBB+hVwZZZx8h9AosBnXJDY9A1CXk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=A1PNUyyNKIPup5OUxufwmEtPSweadjf8sNCA25TvLIuhH5iZx/QEzUXhqfdAoqtkoEFGerGyVBvryv6Q34PftYHfNmrFg5DU5cC+lCU4Zz6SS565dUOox4mb5D0JwsknhQBkEtxJvxGlF7W/A/zbf00w3HsdKJ9uMJVTmZ9Ebsw= Received: by 10.78.180.18 with SMTP id c18mr58905huf.1182923224531; Tue, 26 Jun 2007 22:47:04 -0700 (PDT) Received: by 10.78.77.16 with HTTP; Tue, 26 Jun 2007 22:47:04 -0700 (PDT) Message-ID: <906dd82e0706262247q1a625f47xf711d9f6112dd0ed@mail.gmail.com> Date: Wed, 27 Jun 2007 09:47:04 +0400 From: "Mikhail Loenko" To: dev@harmony.apache.org Subject: Re: [classlib][build] difference between classlib 'debug' and 'release' build modes In-Reply-To: <7273946b0706261948r7a878d21x61b5574bd92e8165@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7273946b0706260508me281853pf1d4b15f9890f1d8@mail.gmail.com> <46810DE3.6090208@gmail.com> <2c9597b90706260811s3ee8466djd6464d5168d97806@mail.gmail.com> <2c9597b90706260902p4ea554d2gf42d11596db292a8@mail.gmail.com> <2c9597b90706261057o70549d27l28c50b34e920978f@mail.gmail.com> <46817FDE.10800@gmail.com> <6e47b64f0706261927p1573eaf6gb2c29d8fe3621ad7@mail.gmail.com> <7273946b0706261948r7a878d21x61b5574bd92e8165@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org 2007/6/27, Vladimir Ivanov : > On 6/27/07, Stepan Mishura wrote: > > On 6/27/07, Tim Ellison wrote: > > > Alexei Zakharov wrote: > > > > The reason of these failures lies in fdlibm indeed. Yes, it was > > > > tweaked to use "-O0" but there was a typo in this tweak and it does > > > > not affect the compilation. As a result fdlibm was compiled with "-O1" > > > > as all other natives. I has created HARMONY-4287 and attached a patch > > > > for this issue. The patch itself is trivial: > > > > > > > > > > > So I suggest to commit it and include into our M2 build. Waiting for > > > > other committer's vote... > > > > > > A dumb question but does it fix the problem? > > > > I've run classlib tests with the patch applied and these failures disappeared. > > > > > It's been like that since > > > r483045 (i.e. before M1). I'm surprised we didn't find it when testing > > > that. > > > > I'm afraid but it looks like in M1 we relied on CC status - I created > > snapshots when all CCs were up (this includes classlib tests). And CC > > runs classlib tests on debug build so they passed. > > > > > BTW, this is a good example for obtaining all milestone's results with > > the snapshot build. > > Actually, this is a good example to show that we should test both: > release and debug builds while results can be different :) I think we should create a mode which reveals most of the bugs. E.g. something optimizing but with asserts. And use this mode for CC and probably build snapshots in that mode. Thanks, Mikhail > > thanks, Vladimir > > > > Thanks, > > Stepan. > > > > > > > > Regards, > > > Tim > > > > > >