harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Deakin <oliver.dea...@googlemail.com>
Subject Re: [drlvm] Trouble Building DRLVM
Date Tue, 19 Sep 2006 14:09:21 GMT
Geir Magnusson Jr. wrote:
>
> On Sep 19, 2006, at 7:46 AM, Egor Pasko wrote:
>
>> On the 0x1E9 day of Apache Harmony Ivan Volosyuk wrote:
>> <SNIP!>
>> this one is repaired with this patch:
>> --- modules/luni/src/main/native/launcher/linux/makefile        
>> (revision 447762)
>> +++ modules/luni/src/main/native/launcher/linux/makefile        
>> (working copy)
>> @@ -21,7 +21,7 @@
>>  BUILDFILES = $(SHAREDSUB)main.o $(SHAREDSUB)cmain.o \
>>         $(SHAREDSUB)launcher_copyright.o $(SHAREDSUB)strbuf.o \
>>         $(SHAREDSUB)libhlp.o
>> -MDLLIBFILES = $(DLLPATH)libhyprt.so $(DLLPATH)libhythr.so
>> +MDLLIBFILES = $(DLLPATH)libhyprt.so $(DLLPATH)libhythr.so 
>> $(DLLPATH)libhysig.so
>>  EXENAME = $(EXEPATH)java
>>
>>  include $(HY_HDK)/build/make/rules.mk
>
> So I guess this comes about because we still haven't resolved the dual 
> libhythrd problem... and the DRLVM thead library uses hysig (I 
> suppose) and the classlib version doesn't, and the drlvm build uses 
> the drlvm version both for the launcher and in /default

hmmm - Im not sure this is true. So far I've been using the IBM
VME, and I still get the error on my SLES9 machine:

deploy/jdk/jre/bin/java: error while loading shared libraries: 
libhysig.so: cannot open shared object file: No such file or directory

I cannot launch java unless I set LD_LIBRARY_PATH. Can anyone
else recreate this with J9? Egor (sounds like your system suffers from the
same ailments as mine)?

When I run "ldd java" I see the same "libhysig.so => not found" message.
It is only when I rebuild with the $(DLLPATH)libhysig.so in
the launcher makefile that I no longer need to set LD_LIBRARY_PATH.

ld -v gives me 2.15.90.0.1.1, and gcc -v gives 3.3.3, so it looks as if
my configuration is older than yours - perhaps this has something to
do with it...

Regards,
Oliver

>
> I don't understand why it isn't affecting me.   On my box, ld -version 
> reports 2.16.91 and gcc -v reports 3.4.6
>
> I'll add this as I don't think there is harm for now
>
> geir
>
>>
>> (note: crlf endings in makefile)
>>
>> --Egor Pasko, Intel Managed Runtime Division
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>

-- 
Oliver Deakin
IBM United Kingdom Limited


---------------------------------------------------------------------
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