Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 20710 invoked from network); 28 Nov 2007 14:39:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2007 14:39:08 -0000 Received: (qmail 1789 invoked by uid 500); 28 Nov 2007 14:38:55 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 1507 invoked by uid 500); 28 Nov 2007 14:38:54 -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 1495 invoked by uid 99); 28 Nov 2007 14:38:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 06:38:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mike.fursov@gmail.com designates 209.85.198.187 as permitted sender) Received: from [209.85.198.187] (HELO rv-out-0910.google.com) (209.85.198.187) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 14:38:33 +0000 Received: by rv-out-0910.google.com with SMTP id k20so1319067rvb for ; Wed, 28 Nov 2007 06:38:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=LiLrs7rH3AiCVv6Z5EAdeypk8keLtOHiDMutE0C8h4U=; b=FQ/vAActC+D7WJzDTmvnTcGYcNkkNbt5VxGOstqRnTV4P/UsFXezHCNNPiZSUxfbi6LjDTZeLVLko6JbgASJgI8YkR8lvFeUh3Qz0+RDxuKzPujpWNeo0cl6cKGuLku0cspJdRAQXjFSZF2/gRXTfm0HmI4vNZmXquAZbO/9na8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=E704HztJV4Dl2N5YAn9mxkDTs9O8nFqqddT24xEEc1iLoc3DpHHGqLBu8XMr1oNTqMjPNkCXgyKmdBGSBhhOhpEp62iV0FEqOwtcVqvs1DSAQzCuSGJI9JgjureJcUTtUWifyy2ERQkjSp/snXJ/SvTSshZ6qgwEU5QOUR2eh7Y= Received: by 10.141.163.12 with SMTP id q12mr286161rvo.1196260716559; Wed, 28 Nov 2007 06:38:36 -0800 (PST) Received: by 10.141.69.10 with HTTP; Wed, 28 Nov 2007 06:38:36 -0800 (PST) Message-ID: Date: Wed, 28 Nov 2007 20:38:36 +0600 From: "Mikhail Fursov" To: dev@harmony.apache.org Subject: Re: [build] Release build is broken In-Reply-To: <4bebff790711280635x4f709fl19adcb8dc058e6da@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4bebff790711280635x4f709fl19adcb8dc058e6da@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org I'll check and commit if it's still not fixed. On Nov 28, 2007 8:35 PM, Aleksey Shipilev wrote: > Hi all, > > I have tried to build r599011 on Windows/ia32 and failed with this error: > > ============================== cut ================================== > 626 build.native.init: > 627 [echo] ## Building native of 'vm.jitrino' > 628 > 629 build.native.c: > 630 [cc] 0 total files to be compiled. > 631 > 632 build.native.cpp: > 633 [cc] Starting dependency analysis for 151 files. > 634 [cc] 151 files are up to date. > 635 [cc] 0 files to be recompiled from dependency analysis. > 636 [cc] 1 total files to be compiled. > [cc] cl : Command line warning D4025 : overriding '/W3' with '/W4' > 637 [cc] rt.cpp > 638 [cc] > C:\users\shade\Harmony\trunk\working_vm\vm\jitrino\src\jet\rt.cpp(407) > : error C2065: 'meth_start' : > undeclared identifier > > BUILD FAILED > C:\users\shade\Harmony\trunk\working_vm\build\make\build.xml:581: The > following error occurred while executing this line > : > C:\users\shade\Harmony\trunk\working_vm\build\make\build.xml:588: The > following error occurred while executing this line > : > C:\users\shade\Harmony\trunk\working_vm\build\make\build_component.xml:74: > The following error occurred while executing > this line: > C:\users\shade\Harmony\trunk\working_vm\build\make\targets\build.native.xml:107: > cl failed with return code 2 > > Total time: 18 seconds > ============================== cut ================================== > > I had a quick look into the sources and my minor change: > > Index: vm/jitrino/src/jet/rt.cpp > =================================================================== > --- vm/jitrino/src/jet/rt.cpp (revision 599011) > +++ vm/jitrino/src/jet/rt.cpp (working copy) > @@ -397,8 +397,9 @@ > > void *** pip = (void***)((char*)context + ip_off); > char * where = (char*)**pip; > + > + char * meth_start = infoBlock.get_code_start(); > #ifdef _DEBUG > - char * meth_start = infoBlock.get_code_start(); > unsigned meth_len = infoBlock.get_code_len(); > assert(meth_start <= where); > assert(where < meth_start + meth_len); > > ...solves the problem. Could JIT gurus review this fix and commit it? > > Thanks, > Aleksey, > ESSD, Intel. > -- Mikhail Fursov