[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Tinycc-devel] longjmp not working on 64bit
From: |
Christian Jullien |
Subject: |
RE: [Tinycc-devel] longjmp not working on 64bit |
Date: |
Fri, 18 Dec 2009 07:41:12 +0100 |
Hello Grischka,
I've just tested my OpenLisp www.eligis.com with mob and, except for 2 or 3
details I'm catching and I will try to fix, port on Windows x64 is almost
complete now (even with my huge non regression tests suite).
Thanks for your very good job and support.
Christian
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
grischka
Sent: vendredi 18 décembre 2009 01:09
To: address@hidden
Subject: Re: [Tinycc-devel] longjmp not working on 64bit
Christian Jullien wrote:
> Simple example not working on Windows x64. It should print Ok but hangs
even
> buf seems to be correctly aligned.
See http://repo.or.cz/w/tinycc.git/commitdiff/ad351b20
It doesn't support new x64 windows unwinding though, so better not
use it to jump across window procedures, threads and some such.
--- grischka
> #include <stdio.h>
> #include <stdlib.h>
> #include <setjmp.h>
>
> int
> main(int argc, char *argv[])
> {
> jmp_buf buf;
>
> if (setjmp(buf) == 0) {
> printf("ready to jump at %p\n", &buf);
> longjmp(buf, 1);
> printf("Not reached\n");
> }
> printf("Ok\n");
>
> return 0;
> }
>
> F:\tcc-0.9.25-64\win32>tcc foo.c && foo
> ready to jump at 000000000012FE20
>
> Looking at assembler gives me no clue.
>
> Christian
_______________________________________________
Tinycc-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/tinycc-devel
----------------------------------------------------------------------------
-----------
Orange vous informe que cet e-mail a ete controle par l'anti-virus mail.
Aucun virus connu a ce jour par nos services n'a ete detecte.
- [Tinycc-devel] Understanding tcc Makefile, k1w1, 2009/12/05
- Re: [Tinycc-devel] Understanding tcc Makefile, grischka, 2009/12/06
- [Tinycc-devel] 64bits - Wrong comparison between pointer and long cste, Christian Jullien, 2009/12/07
- Re: [Tinycc-devel] 64bits - Wrong comparison between pointer and long cste, grischka, 2009/12/07
- RE: [Tinycc-devel] 64bits - Wrong comparison between pointer andlong cste, Christian Jullien, 2009/12/08
- RE: [Tinycc-devel] 64bits - Wrong comparison between pointerandlong cste, Christian Jullien, 2009/12/08
- RE: [Tinycc-devel] 64bits - Wrong comparison betweenpointerandlong cste, Christian Jullien, 2009/12/08
- [Tinycc-devel] longjmp not working on 64bit, Christian Jullien, 2009/12/11
- Re: [Tinycc-devel] longjmp not working on 64bit, grischka, 2009/12/17
- RE: [Tinycc-devel] longjmp not working on 64bit,
Christian Jullien <=
- [Tinycc-devel] Wrong __int64 computation, Christian Jullien, 2009/12/18
- RE: [Tinycc-devel] Wrong __int64 computation, Christian Jullien, 2009/12/19
- Re: [Tinycc-devel] Wrong __int64 computation, grischka, 2009/12/19
- RE: [Tinycc-devel] Wrong __int64 computation, Christian Jullien, 2009/12/20
Re: [Tinycc-devel] Understanding tcc Makefile, k1w1, 2009/12/07