[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled b
From: |
Christian Jullien |
Subject: |
Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler. |
Date: |
Thu, 11 Apr 2019 07:35:54 +0200 |
Hi Michael,
Not only your patch lets the signal.c sample work on Windows x64/tcc -m64
but it also makes OpenLisp REPL happy on invalid code:
? (cons . 1)
** <program-error> : OpenLisp : machine-error : 11
Cherry on the cake, tcc is now promoted a Gold port :o))
There is no functional differences between VC++, gcc and now tcc.
Needleless to say I'm happy!
Thank you!
You can apply this patch to mod.
Thank you also to grischka for his help.
C.
-----Original Message-----
From: Tinycc-devel [mailto:address@hidden
On Behalf Of Michael Matz
Sent: Thursday, April 11, 2019 02:10
To: address@hidden
Subject: Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly
handled by installed signal handler.
Hello,
On Thu, 11 Apr 2019, Michael Matz wrote:
>> I wonder why the result worked under wine then, though; strange.
>
> Must be the very old wine version on the machine I initially used for
> testing (where the program indeed works). With newer wine I can
> reproduce the non-working.
So, with the hint of grischka I came up with the attached patch which
implements the plumbing in the startup files so that Christians example
signal.c works. It's not in any way a real implementation of SEH, but that
isn't necessary.
I'll wait for feedback on this and not yet commit to git.
Ciao,
Michael.
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., (continued)
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., Michael Matz, 2019/04/08
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., Christian Jullien, 2019/04/09
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., Michael Matz, 2019/04/09
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., Christian Jullien, 2019/04/09
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., Michael Matz, 2019/04/10
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., Christian Jullien, 2019/04/10
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., grischka, 2019/04/10
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., Michael Matz, 2019/04/10
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., Michael Matz, 2019/04/10
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., Michael Matz, 2019/04/10
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler.,
Christian Jullien <=
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., ian, 2019/04/12
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., Michael Matz, 2019/04/14
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., Christian Jullien, 2019/04/15
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., Michael Matz, 2019/04/15
- Re: [Tinycc-devel] Windows x86_64 BUG, SIGSEV is not correctly handled by installed signal handler., Christian Jullien, 2019/04/16