harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess" <mark.hind...@googlemail.com>
Subject [porting] FreeBSD
Date Sun, 28 Oct 2007 21:49:16 GMT

There are quite a few hacks the last of which is in r589418, but on
FreeBSD 6.2 I can now compile a minimal amount of drlvm with:

sh build.sh \
  -DCOMPONENTS="vm.interpreter vm.vmcore vm.em vm.gc_gen vm.vmi vm.hythr vm.kernel_classes"
\
   -Dhy.local.zlib=true -Dhy.no.sig=true -Dhy.no.thr=false

and then run with:

LD_LIBRARY_PATH=freebsd_ia32_gcc_debug/deploy/jdk/jre/bin/default:freebsd_ia32_gcc_debug/deploy/jdk/jre/bin
./freebsd_ia32_gcc_debug/deploy/jdk/jre/bin/java \
  -Xint HelloWorld

The good news is that it does get far enough to print "Hello World".
The bad news is that it then goes in to an infinite loop segfaulting in
the signal handler.  (The initial SIGSEGV seems to be a problem with
recursive mutexes.)

Regards,
 Mark



Mime
View raw message