[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [JITTER] `switch' dispatch model doesn't work
From: |
Luca Saiu |
Subject: |
Re: [JITTER] `switch' dispatch model doesn't work |
Date: |
Thu, 06 May 2021 00:24:20 +0200 |
User-agent: |
Gnus (Gnus v5.13), GNU Emacs 27.0.50, x86_64-pc-linux-gnu |
On 2021-05-06 at 00:08 +0200, Jose E. Marchesi wrote:
> So, the error/segfault happens because -O0 can NOT be used with
> non-threading right?
I thought that in my example Makefile.am I had correctly ordered CFLAGS
and JITTER_CFLAGS so that JITTER_CFLAGS takes precedence in case of
contradictions, and any optimisation option different from what is
required is automatically undone.
That part of the design is not recent, and I only have a vague
recollection of it now. I remember being pleasantly surprised by the
fact that such a solution in fact existed. I may have discussed about
this with you or with some other friend, maybe Alfred.
Anyway a reliable solution is simple: compiling vm2.c (and only that:
the rest is not critical) with JITTER_CFLAGS *only*.
No, no-threading code can not be compiled without optimisation. It is a
matter of correctness, not performance. The same holds for
minimal-threading.
--
Luca Saiu
* My personal web site: http://ageinghacker.net
* Jitter: http://ageinghacker.net/projects/jitter
* GNU epsilon: http://www.gnu.org/software/epsilon
I support everyone's freedom of mocking any opinion or belief, no
matter how deeply held, with open disrespect and the same unrelented
enthusiasm of a toddler who has just learned the word "poo".
signature.asc
Description: PGP signature