Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 51755 invoked from network); 26 Apr 2007 14:32:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Apr 2007 14:32:04 -0000 Received: (qmail 71538 invoked by uid 500); 26 Apr 2007 14:32:08 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 71512 invoked by uid 500); 26 Apr 2007 14:32:08 -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 71503 invoked by uid 99); 26 Apr 2007 14:32:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 07:32:08 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcjhd-harmony-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Apr 2007 07:32:00 -0700 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hh50O-0003Fq-BU for dev@harmony.apache.org; Thu, 26 Apr 2007 16:31:32 +0200 Received: from iswfwpr01.isw.intel.com ([192.55.37.193]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Apr 2007 16:31:32 +0200 Received: from gshimansky by iswfwpr01.isw.intel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Apr 2007 16:31:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: dev@harmony.apache.org From: Gregory Shimansky Subject: Re: [build] need help building harmony on windows Date: Thu, 26 Apr 2007 18:31:18 +0400 Lines: 114 Message-ID: References: <0BB761F0-0538-4128-A62D-053FC24DE3D5@uiuc.edu> <7273946b0704252037k65124a78ye52a638d1bd1641a@mail.gmail.com> <24250AD0-1203-487A-876C-D82A1AF4B48C@uiuc.edu> <469bff730704252254g31dda7c2ob1b26fc7e061b107@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: iswfwpr01.isw.intel.com User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) In-Reply-To: Sender: news X-Virus-Checked: Checked by ClamAV on apache.org Naveen Neelakantam wrote: > I rebuilt using r532300 and did a "build clean" first (both classlib and > vm), but I am seeing the same error. It occurs even when I just try > -showversion: > > D:\neelakan\trunk\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin>java > -showversion > Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software > Foundation or its licensors, as applicable. > java version "1.5.0" > pre-alpha : not complete or compatible > svn = r532300, (Apr 26 2007), Windows/ia32/msvc 1310, debug build > http://incubator.apache.org/harmony > Failure to open JIT dll > D:\neelakan\trunk\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin/default/\jitrino.dll > -1073021795 I assume you've checked that jitrino.dll actually exists in this directory. Now it is possible that it cannot load some dependency DLLs. There is a depends.exe command in MSVC where you can open DLL and try to see which DLLs linked with jitrino.dll it cannot find. > apr code: Unknown error > EM: JIT library loading > error:'D:\neelakan\trunk\working_vm\build\win_ia32_msvc_debug\deploy\jdk\jre\bin/default/\jitrino.dll' > > > And the following abort message pops up (screen grab): > http://freya.cs.uiuc.edu/~neelakan/abort_message.tiff This error message is caused by a bug in EM. It tries to free some unallocated pointer when it gets an error loading jitrino.dll. > On Apr 26, 2007, at 12:54 AM, Pavel Ozhdikhin wrote: > >> Naveen, >> >> That's how I build on Windows (actual host names and ports are removed): >> >> # Set environment >> set PATH=c:\jrockit-jdk1.5.0\bin;c:\utils\apache-ant-1.6.5\bin;%PATH% >> set JAVA_HOME=c:\jrockit-jdk1.5.0 >> set ANT_HOME=c:\utils\apache-ant-1.6.5 >> set ANT_OPTS=-Dhttp.proxyHost=proxy_host -Dhttp.proxyPort=proxy_port >> >> # Checkout >> svn co https://svn.apache.org/repos/asf/harmony/enhanced/trunk >> cd trunk >> ant populate_source >> >> # Build classlib >> cd working_classlib >> ant fetch-depends >> ant >> >> # Build DRLVM >> set CXX=msvc >> set BUILD_CFG=debug >> build.bat update >> build.bat >> >> Quite the same as on Linux and it worked fine for me. Please make sure >> your do 'build clean' after doing 'svn update' - in many cases partial >> rebuild did not work for me. >> >> Thanks, >> Pavel >> >> On 4/26/07, Naveen Neelakantam wrote: >>> I'll try rolling back and see what happens. >>> >>> On Apr 25, 2007, at 10:37 PM, Vladimir Ivanov wrote: >>> >>> > You can use r532300 for tests (r532301 was updated to show this >>> > message as 'usage help'). >>> > That is for jitrino question I never saw it. I think, we should wait >>> > our jit guys... >>> > >>> > thanks, Vladimir >>> > >>> > >>> > On 4/26/07, Naveen Neelakantam wrote: >>> >> I forgot to mention that I followed the directions on http:// >>> >> harmony.apache.org/quickhelp_contributors.html >>> >> >>> >> On Apr 25, 2007, at 10:09 PM, Naveen Neelakantam wrote: >>> >> >>> >> > I am trying to get a windows development environment setup to track >>> >> > down a bug (HARMONY-1788), but I'm having trouble. >>> >> > >>> >> > I managed to build the classlib and drlvm on Windows 2003 using >>> >> > Visual Studio .NET 2003 and the eclipse JDK, but whenever I try to >>> >> > run the vm, I see the following: >>> >> > >>> >> > D:\neelakan\trunk\working_vm\build\win_ia32_msvc_debug\deploy\jdk >>> >> > \jre\bin>java >>> >> > Harmony Java launcher >>> >> > Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache >>> >> > Software Foundation or its licensors, as applicable. >>> >> > java [-vm:vmdll -vmdir:dir -D... [-X...]] [args] >>> >> > >>> >> > Help? I'm totally clueless on Windows... >>> >> > >>> >> > Naveen >>> >> >>> >> >>> >>> > > -- Gregory