harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Enrico Migliore <enrico.migli...@fatti.com>
Subject Re: [jchevm] building jchevm on Cygwin
Date Thu, 09 Feb 2006 16:40:21 GMT
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

Mime
View raw message