harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Egor Pasko <egor.pa...@gmail.com>
Subject Re: [drlvm] Trouble Building DRLVM
Date Tue, 19 Sep 2006 10:30:29 GMT
On the 0x1E9 day of Apache Harmony Geir Magnusson, Jr. wrote:
> Hm.  That should be irrelevant.  You should be able to do :
> 
> $ svn co https://svn.apache.org/repos/asf/incubator/harmony/enhanced/
> trunk
> $ cd trunk
> $ ant switch_svn_vm
> $ ant switch_svn_classlib
> 
> which should result in a a checkout of classlib SVN head into
> 'working_classlib', a checkout of DRLVM SVN head into 'working_vm'.
> (You could have done just an 'ant' w/ no arguments, that would have
> done the above, plus a full build, but that's really targetted at
> building snapshots.
> 
> Then you have each tree that you can build independently. (I'm doing
> all of this from memory, so if some of the ant targets are slightly
> wrong, I apologize in advance...) For classlib :
> 
> $ cd working_classlib
> $ ant fetch-depends
> $ ant
> 
> and then
> 
> $ cd working_vm/build
> $ sh build.sh update
> $ sh build.sh

some progress:
if I comment out some freemems:

--- working_classlib/modules/luni/src/main/native/common/shared/strhelp.c       (revision
447722)
+++ working_classlib/modules/luni/src/main/native/common/shared/strhelp.c       (working copy)
@@ -93,12 +93,12 @@
     if (properties) {
         unsigned i = 0;
         while (properties[i].key) {
-            hymem_free_memory(properties[i].key);
+            //hymem_free_memory(properties[i].key);
             if (properties[i].value)
-                hymem_free_memory(properties[i].value);
+                //hymem_free_memory(properties[i].value);
             ++i;
         }
-        hymem_free_memory(properties);
+        //hymem_free_memory(properties);
     }
 }

...it runs, but hangs taking 99%CPU. Hey, I am a dummy! I unset
JAVA_HOME, and it runs well...

this is OK for running like ./java, but if I do not run from within
"jre/bin" dir, behaviour is like this:
$ ./jre/bin/java -cp <...> Hello
java/lang/UnsatisfiedLinkError : Failed loading library "libhyzlib.so": DSO load failed

do you observe the same with the launcher?

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


Mime
View raw message