Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 54644 invoked from network); 28 Oct 2007 21:50:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2007 21:50:03 -0000 Received: (qmail 39049 invoked by uid 500); 28 Oct 2007 21:49:50 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 39028 invoked by uid 500); 28 Oct 2007 21:49:49 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 39019 invoked by uid 99); 28 Oct 2007 21:49:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Oct 2007 14:49:49 -0700 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 195.212.29.135 is neither permitted nor denied by domain of mark.hindess@googlemail.com) Received: from [195.212.29.135] (HELO mtagate2.uk.ibm.com) (195.212.29.135) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Oct 2007 21:49:56 +0000 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate2.uk.ibm.com (8.13.8/8.13.8) with ESMTP id l9SLnSNw018746 for ; Sun, 28 Oct 2007 21:49:28 GMT Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id l9SLnRie2699362 for ; Sun, 28 Oct 2007 21:49:27 GMT Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l9SLnOOL008552 for ; Sun, 28 Oct 2007 21:49:24 GMT Received: from anaheim.local (sig-9-145-32-39.uk.ibm.com [9.145.32.39]) by d06av04.portsmouth.uk.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l9SLnOP8008509 for ; Sun, 28 Oct 2007 21:49:24 GMT Message-Id: <200710282149.l9SLnOP8008509@d06av04.portsmouth.uk.ibm.com> X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-10) with nmh-1.1 From: "Mark Hindess" To: "Apache Harmony Dev List" Subject: [porting] FreeBSD Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 28 Oct 2007 21:49:16 +0000 X-Virus-Checked: Checked by ClamAV on apache.org 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