Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 96599 invoked from network); 7 Feb 2006 18:13:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Feb 2006 18:13:01 -0000 Received: (qmail 48801 invoked by uid 500); 7 Feb 2006 18:12:14 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 48704 invoked by uid 500); 7 Feb 2006 18:12:13 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 48692 invoked by uid 99); 7 Feb 2006 18:12:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2006 10:12:13 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.39.12.10] (HELO deck1210.hostdeck.com) (212.39.12.10) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Feb 2006 10:12:11 -0800 Received: (qmail 14232 invoked from network); 7 Feb 2006 19:11:49 +0100 Received: from host70-41.pool82106.interbusiness.it (HELO fatti.com) (82.106.41.70) by deck1210.hostdeck.com with SMTP; 7 Feb 2006 19:11:48 +0100 Message-ID: <43E8E2DA.1030001@fatti.com> Date: Tue, 07 Feb 2006 19:11:38 +0100 From: Enrico Migliore Reply-To: enrico.migliore@fatti.com Organization: - User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: harmony-dev@incubator.apache.org CC: Archie Cobbs Subject: [jchevm] building jchevm on Cygwin References: <1201711111.1137667484375.JavaMail.jira@ajax.apache.org> <43CF70E9.4080308@fatti.com> <43CFBB77.2000407@dellroad.org> <43CFCBC0.6070700@fatti.com> <43D0A75C.8050102@fatti.com> <43D1FBCC.4090609@fatti.com> <43D40B58.30900@dellroad.org> <43D496C2.6070309@fatti.com> <43D4E97B.6020208@dellroad.org> <43DE00C2.2080705@fatti.com> <43DEC79E.7030106@pobox.com> <43DFA077.90508@fatti.com> In-Reply-To: <43DFA077.90508@fatti.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Archie, GNU/Classpath problem ------------------------- at the moment, when I run: $jc HelloWorld I got the following exception: java.lang.UnsatisfiedLinkError: failed to open native library: 'usr/local/classpath/lib/classpath/libjavanio.so' The reason is simple: Classpath doesn't know it's running on Cygwin, therefore it looks for "libjavanio.so" instead of "libjavanio.dll" (which exists on the filesytem). I'll post a thread on the Classpath list in order to fix this problem. Assertion failures on Cygwin ----------------------------- I compiled the distribution with all assertions enabled and ran: $jc HelloWorld The result is that the following assertions fail: 1. vm.c - line 46 2. vm.c - line 176 3. heap.c - line 238 4. thread.c - line 1023 Of course, to get to assertions 2 I had to comment assertion 1 and so on. Segmentation fault problem on Cygwin --------------------------------------- While debugging JCHEVM with DDD I noticed that the pthread library issues a segmentation fault signal. In order to proceed, I instructed DDD to ignore the signal. To fix the problem, I'll have to compile the pthread library in debug mode and sneak in the source code. Comment ---------- Even if I fix all of these problems, JCHEVM will always need Cygwin to run on top of Windows. That is acceptable for now, but someday, if we want JCHEVM to became a fully fladged VM we'll have to make a native port to Windows. Enrico