I checked out everything, and did a clean build, and I'm still running into the same issue. Platform: Gentoo Linux
Here is what I see: Running just java: [EMAIL PROTECTED] ~/Harmony/enhanced/drlvm/trunk/build/deploy/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] ./java: relocation error: /homes/anavabi/Harmony/enhanced/drlvm/trunk/build/deploy/jre/bin/libhyprt.so : symbol hythread_exit, version HYTHR_0.1 not defined in file libhythr.so with link time reference it hangs here. Doing java -showversion [EMAIL PROTECTED] ~/Harmony/enhanced/drlvm/trunk/build/deploy/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 = r448440, (Sep 21 2006), Linux/ia32/gcc 3.4.6, debug build http://incubator.apache.org/harmony it hangs here. Trying to run helloworld: [EMAIL PROTECTED] ~/Harmony/enhanced/drlvm/trunk/build/deploy/jre/bin $ ./java helloworld [EMAIL PROTECTED] ~/Harmony/enhanced/drlvm/trunk/build/deploy/jre/bin $ echo $JAVA_HOME /homes/anavabi/Harmony/enhanced/drlvm/trunk/build/deploy/jre/ [EMAIL PROTECTED] ~/Harmony/enhanced/drlvm/trunk/build/deploy/jre/bin $ echo $LD_LIBRARY_PATH /homes/anavabi/Harmony/enhanced/drlvm/trunk/build/deploy/jre/bin [EMAIL PROTECTED] ~/Harmony/enhanced/drlvm/trunk/build/deploy/jre/bin $ Thanks, Armand -----Original Message----- From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 20, 2006 5:49 PM To: harmony-dev@incubator.apache.org Subject: Re: [drlvm] Trouble Building DRLVM I modified the launcher to include both the vm directory as well as the launcher directory on the PATH/LD_LIBRARY_PATH. Can those that have been having troubles with shared lib loading give it a try, and report back, and please mention the platform you are running on... geir On Sep 20, 2006, at 3:47 PM, Geir Magnusson Jr. wrote: > Ok - so to summarize, there are two things here : > > 1) We need to find a clean way to get bootclasspath.properties. I > don't like JAVA_HOME. I'd like to see if we can simply presume a > structure, with an override property for people that want to do > weird things. > > 2) We seem to have a simple problem w/ ld.so on our different > platforms. I think the simple solution to avoid having to have > multiple copies of stuff is to ensure that the directory of the > launcher is included in LD_LIBRARY_PATH, which I thought it was. > It turns out it isn't, and I'm therefore trying to figure out why > it works on my box. > > geir > > > On Sep 20, 2006, at 11:59 AM, Ivan Volosyuk wrote: > >> I think the whole idea with current behaviour of JAVA_HOME is bad. >> Launcher should set JAVA_HOME according to it own invocation path. >> Launcher should override the variable if it set incorrectly. >> -- >> Ivan >> >> On 9/20/06, Tim Ellison <[EMAIL PROTECTED]> wrote: >>> That appears to be part of the problem Egor, and I've put the >>> initialization into r448241), however, I still get a failure to >>> create >>> the (IBM) VM when JAVA_HOME is pointing at a different JRE. It >>> works ok >>> if home is pointing to the harmony jre or is unset. The failure >>> looks >>> like an init args corruption? >>> >>> Regards, >>> Tim >> >> --------------------------------------------------------------------- >> Terms of use : http://incubator.apache.org/harmony/mailing.html >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: harmony-dev- >> [EMAIL PROTECTED] >> > > > --------------------------------------------------------------------- > Terms of use : http://incubator.apache.org/harmony/mailing.html > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]