Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 31721 invoked from network); 15 Nov 2006 20:51:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Nov 2006 20:51:12 -0000 Received: (qmail 22151 invoked by uid 500); 15 Nov 2006 20:51:16 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 22121 invoked by uid 500); 15 Nov 2006 20:51:15 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 22084 invoked by uid 99); 15 Nov 2006 20:51:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 12:51:15 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [69.9.190.6] (HELO lox.whirlycott.com) (69.9.190.6) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Nov 2006 12:50:58 -0800 Received: (qmail 24812 invoked by uid 1016); 15 Nov 2006 20:50:37 -0000 Received: from 70.36.208.192 by lox.whirlycott.com (envelope-from , uid 1009) with qmail-scanner-1.25 (clamdscan: 0.87.1/1179. Clear:RC:1(70.36.208.192):. Processed in 0.053677 secs); 15 Nov 2006 20:50:37 -0000 X-Qmail-Scanner-Mail-From: stefano@apache.org via lox.whirlycott.com X-Qmail-Scanner: 1.25 (Clear:RC:1(70.36.208.192):. Processed in 0.053677 secs) Received: from unknown (HELO ?192.168.1.100?) (stefano@ormaz.it@70.36.208.192) by lox.whirlycott.com with ESMTPA; 15 Nov 2006 20:50:37 -0000 Message-ID: <455B7D99.9020406@apache.org> Date: Wed, 15 Nov 2006 12:50:33 -0800 From: Stefano Mazzocchi User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: [gump] Gump running on Harmony!! References: <455B4002.9010804@apache.org> <200611152328.49335.gshimansky@gmail.com> In-Reply-To: <200611152328.49335.gshimansky@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Gregory Shimansky wrote: > On Wednesday 15 November 2006 19:27 Stefano Mazzocchi wrote: >> Great news everyone, I've finally managed to get Gump running with Harmony. >> >> Find it at (the semipermanent URL of Geir's server) >> >> http://67.86.14.213:10000/gump/ >> >> and the 'list of todos' with importance priority can be found at >> >> http://67.86.14.213:10000/gump/project_todos.html >> >> The first problem is the lack of "javac" that bootstrap-ant requires. >> >> Do we have a solution for that? > > I wonder what is causing those UnsatisfiedLinkErrors at the end of the page. > What's wrong with loading libhytext.so and how is it related to finding > javac? First of all, remember that Gump is written in python and uses 'java' just like any other command, but the environment around that command might not exactly be the same as the one from the shell. I'm not sure of the details of that. Anyway, when Gump starts up, it tries to fire up a bunch of programs that it expects. I have added those to the path and I've tested this by using the sun jvm and achieved the same score of the official gump run. This tells me that the gump installation is sane. Now, the only change between the sun gump run and the harmony one is a change of where JAVA_HOME points to and I wanted to see what happened. In a perfect world, the score of the harmony gump run would have been exactly the same as the score on the sun gump run. This is an indication that the behavior of harmony is different. So far it's different in two aspects: 1) there is no javac process in the JAVA_HOME/bin and the bootstrap-ant module can't work without it 2) running the 'maven' or 'mvn' scripts fails to load the JVM due to linkage problems. So either the those scripts fail to setup some native library-related environment or harmony expects relative paths and might get screwed by embedded execution in other scripts. I've just tried to do export JAVA_HOME=~/src/harmony/drlvm/build/lnx_em64t_gcc_debug/deploy/jre/ and call "maven", "mvn" and "ant" and all result in the same error java/lang/UnsatisfiedLinkError : Failed loading library "libhytext.so": DSO load failed so it seems that harmony has a problem being launched inside scripts which is clearly a bug that needs to be fixed. -- Stefano.