harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armand Navabi" <anav...@purdue.edu>
Subject RE: [drlvm] Trouble Building DRLVM
Date Thu, 21 Sep 2006 06:10:57 GMT
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:
anavabi@gator ~/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
anavabi@gator ~/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:
anavabi@gator ~/Harmony/enhanced/drlvm/trunk/build/deploy/jre/bin $ ./java
helloworld       
anavabi@gator ~/Harmony/enhanced/drlvm/trunk/build/deploy/jre/bin $ echo
$JAVA_HOME
/homes/anavabi/Harmony/enhanced/drlvm/trunk/build/deploy/jre/
anavabi@gator ~/Harmony/enhanced/drlvm/trunk/build/deploy/jre/bin $ echo
$LD_LIBRARY_PATH
/homes/anavabi/Harmony/enhanced/drlvm/trunk/build/deploy/jre/bin
anavabi@gator ~/Harmony/enhanced/drlvm/trunk/build/deploy/jre/bin $

Thanks,
Armand

-----Original Message-----
From: Geir Magnusson Jr. [mailto:geir@pobox.com] 
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 <t.p.ellison@gmail.com> 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: harmony-dev-unsubscribe@incubator.apache.org
>> For additional commands, e-mail: harmony-dev- 
>> help@incubator.apache.org
>>
>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>


---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message