[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [JITTER] `switch' dispatch model doesn't work
From: |
Jose E. Marchesi |
Subject: |
Re: [JITTER] `switch' dispatch model doesn't work |
Date: |
Thu, 06 May 2021 00:16:19 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> On 2021-05-05 at 23:58 +0200, Jose E. Marchesi wrote:
>
>> When any dispatch model (best, switch, direct-thread) building poke with
>> CFLAGS="-O0 -g" gives you:
>
> Okay, this I will have to investigate.
>
> I think that I got the correct order between user-supplied CFLAGS and
> JITTER_CFLAGS in my examples, but maybe I have to be more radical:
> vm2 should be compiled using JITTER_CFLAGS *only*. To investigate.
> Thanks for the report José.
>
> (Notice that jitter-devel@gnu.org did not exist; but after making the
> same mistake I have just added an alias.)
No this was a false flag.
The only model that doesn't work with '-O0 -g' is the advanced
non-threaded model.
The user-supplied CFLAGS are definitely being used after the JITTER_CFLAGS:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../libpoke -I../poke
-I../gl-libpoke -I../../gl-libpoke -I../../common -DPKL_DEBUG
-DPKGDATADIR=\"/usr/local/share/poke\" -DPKGINFODIR=\"/usr/local/share/info\"
-DLOCALEDIR=\"/usr/local/share/locale\" -fvisibility=hidden -DBUILDING_LIBPOKE
-DJITTER_DISPATCH_NO_THREADING=1 -I /home/jemarch/gnu/hacks/poke/jitter -I
/home/jemarch/gnu/hacks/poke/build/jitter -I
/home/jemarch/gnu/hacks/poke/jitter/machine/x86_64 -I /usr/local/include
-DJITTER_DISPATCH_NO_THREADING=1 -I /home/jemarch/gnu/hacks/poke/jitter -I
/home/jemarch/gnu/hacks/poke/build/jitter -I
/home/jemarch/gnu/hacks/poke/jitter/machine/x86_64 -I /usr/local/include -Wall
-O2 -fomit-frame-pointer -fno-reorder-functions -fvisibility=hidden -fno-lto
-g0 -fno-var-tracking -fno-var-tracking-assignments -fno-reorder-blocks
-fno-reorder-blocks-and-partition -fno-crossjumping -fno-thread-jumps
-fno-tree-tail-merge -fno-isolate-erroneous-paths-dereference -fno-split-paths
-fPIC -fno-align-loops -fno-align-jumps -fno-align-labels -fno-jump-tables
-fno-tree-switch-conversion -flive-range-shrinkage -fno-ipa-icf -fno-ipa-cp
-fno-ipa-cp-clone -mcmodel=large -O0 -ggdb -MT libpvmjitter_la-pvm-vm1.lo -MD
-MP -MF .deps/libpvmjitter_la-pvm-vm1.Tpo -c ../../libpoke/pvm-vm1.c -o
libpvmjitter_la-pvm-vm1.o >/dev/null 2>&1