Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 49779 invoked from network); 9 Feb 2006 16:40:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 Feb 2006 16:40:54 -0000 Received: (qmail 216 invoked by uid 500); 9 Feb 2006 16:40:49 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 164 invoked by uid 500); 9 Feb 2006 16:40:49 -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 153 invoked by uid 99); 9 Feb 2006 16:40:49 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 08:40:49 -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; Thu, 09 Feb 2006 08:40:48 -0800 Received: (qmail 9715 invoked from network); 9 Feb 2006 17:40:25 +0100 Received: from host70-41.pool82106.interbusiness.it (HELO fatti.com) (82.106.41.70) by deck1210.hostdeck.com with SMTP; 9 Feb 2006 17:40:25 +0100 Message-ID: <43EB7075.6050306@fatti.com> Date: Thu, 09 Feb 2006 17:40:21 +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 Subject: Re: [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> <43E8E2DA.1030001@fatti.com> <43E959AD.8040604@dellroad.org> In-Reply-To: <43E959AD.8040604@dellroad.org> 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 Archie Cobbs wrote: > What does this program print? > > /* > * Compile me from the top jchevm directory like this: > * > * cc -I libjc -I include -I libjc/native -I libjc/arch -o xx xx.c > */ > #include "libjc.h" > int > main(int ac, char **av) > { > printf("_JC_FULL_ALIGNMENT=%u\n", _JC_FULL_ALIGNMENT); > return 0; > } > > -Archie Hi Archie, here are the messages and the value of ALIGNMENT. As far as the Classpath problem is concerned, I posted a thread on the Classpath mailing list. Keep in mind that I haven't yet merged your latest pacth (replacement of the ucontext functions with setjmp() - longjmp). with my source tree. assertion failure 1 ----------------- vm.c - line 46 message = "assertion failure: _JC_FULL_ALIGNMENT <= (sizeof(_jc_word))" When I add the following: printf("_JC_FULL_ALIGNMENT=%u\n", _JC_FULL_ALIGNMENT); jchevm prints: 8 assertion failure 2 ----------------- vm.c - line 176 message = "assertion failure: vm->threads.pro_min <= assertion failure:vm->threads.pro_max" assertion failure 3 ----------------- heap.c - line 238 message = "assertion failure: bs->hint == NULL || (((_jc_word) bs->hint & (_JC_PAGE_SIZE - 1) % bs->size) == _JC_HEAP_BLCOK_OFFSET) assertion failure 4 ----------------- thread.c - line 1023 /* _JC_COND_SIGNAL(vm->vm_destruction);*/ message = "assertion failure: _r == 0" Your comments are welcome :-) Enrico