Files
LithosAnanke/logs/20261113-014927/post79/after-run2.log
T
Claude be456d44e9 fix(v4): #190 POST regenerates the same; #16 sanitizers and hosted-check nightly
Captain Bob, 2026-11-13: "Create the issues then fix them before the long
acceptance test runs"; #16: "Nightly".

#190 -- make -C v4 post79 did not reproduce POST:
- mkpost.py runs v3 with address randomisation off (setarch -R): its
  printed addresses (>IN, FIND) are the same each run, so POST79.md is.
- v4/Makefile post79 builds hosted v3 from this tree's source first and
  uses it, not the lfs/ copy, which can be older.
- post_cases.c and POST79.md regenerated: 539 cases -- LOAD.rest_of_line,
  which v3 gets through since it changed after 2026-10-07. Two runs the
  same. POST_FLOOR 538 -> 539 (#173).
- test_host_unit.c takes the table's count, not 538 typed in the test.

#16 -- scripts/nightly.sh v4-checks: make -C v4 sanitize hosted-check,
logged under logs/<TS>/v4-checks/, refused without qemu-user; nightly.yml
runs it after publishing, before the proofs, installing qemu-user if the
image lacks it.

Evidence (logs/20261113-014927/post79, -024314): before, regenerated with
nothing changed: 539 cases and addresses differing run to run; after: the
same twice, hosted POST 539/539; test, test-32 99 programs 0 failures;
v4-checks 79 programs under the sanitizers 0 failures, the hosted builds
alike. The first verification failed at test_host_unit.c:442 (kept); a
stray v4-checks run stopped at once is kept, labelled (-014453).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
2026-11-13 03:19:24 +00:00

65 lines
12 KiBLFS
Plaintext

make --no-print-directory -C /home/user/LithosAnanke -f v3/Makefile build/amd64/standard/starforth
Generating version header...
CC v3/src/cli.c
CC v3/src/main.c
CC v3/src/word_source/starforth_words.c
🔗 Linking build/amd64/standard/starforth...
gcc -std=c99 -Wall -Werror -Iv3/include -Ikernel/include -Iv3/src/word_source -Iv3/src/test_runner/include -DSTRICT_PTR=1 -DENABLE_HOTWORDS_CACHE=0 -DENABLE_PIPELINING=0 -DROLLING_WINDOW_SIZE=4096 -DTRANSITION_WINDOW_SIZE=8 -DSPECULATION_THRESHOLD_Q48=0x8000 -DSPECULATION_DEPTH=1 -DMIN_SAMPLES_FOR_SPECULATION=10 -DMISPREDICTION_COST_Q48=0x190000 -DMINIMUM_PREFETCH_ROI=0x1199A -DADAPTIVE_SHRINK_RATE=50 -DADAPTIVE_MIN_WINDOW_SIZE=256 -DADAPTIVE_CHECK_FREQUENCY=512 -DADAPTIVE_GROWTH_THRESHOLD=5 -DINITIAL_DECAY_SLOPE_Q48=21845 -DDECAY_RATE_PER_US_Q16=1 -DHEARTBEAT_THREAD_ENABLED=1 -DHEARTBEAT_TICK_NS=10000 -DHEARTBEAT_INFERENCE_FREQUENCY=1000 -DHEARTBEAT_CHECK_FREQUENCY=256 -DHEARTBEAT_WINDOW_TUNING_FREQUENCY=1000 -DHEARTBEAT_SLOPE_VALIDATION_FREQUENCY=5000 -DEMERGENCY_CONSOLE_ENABLED=1 -DSSM_ENTROPY_HIGH_THRESHOLD=0.75 -DSSM_CV_HIGH_THRESHOLD=0.15 -DSSM_TEMPORAL_DECAY_THRESHOLD=0.5 -DSSM_TEMPORAL_DECAY_LOW_THRESHOLD=0.3 -DSSM_HYSTERESIS_TICKS=5 -pthread -march=native -DARCH_X86_64=1 -O2 -flto=auto -fuse-linker-plugin -DNDEBUG -DUSE_ASM_OPT=1 -ffunction-sections -fdata-sections -fomit-frame-pointer -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-strict-aliasing -o build/amd64/standard/starforth build/amd64/standard/blkio_factory.o build/amd64/standard/blkio_file.o build/amd64/standard/blkio_ram.o build/amd64/standard/block_subsystem.o build/amd64/standard/cli.o build/amd64/standard/compudynamics.o build/amd64/standard/dictionary_heat_optimization.o build/amd64/standard/dictionary_management.o build/amd64/standard/doe_metrics.o build/amd64/standard/heartbeat_export.o build/amd64/standard/inference_engine.o build/amd64/standard/io.o build/amd64/standard/log.o build/amd64/standard/main.o build/amd64/standard/math_portable.o build/amd64/standard/memory_management.o build/amd64/standard/physics_execution_hooks.o build/amd64/standard/physics_hotwords_cache.o build/amd64/standard/physics_metadata.o build/amd64/standard/physics_pipelining_metrics.o build/amd64/standard/physics_runtime.o build/amd64/standard/profiler.o build/amd64/standard/repl.o build/amd64/standard/rolling_window_of_truth.o build/amd64/standard/ssm_jacquard.o build/amd64/standard/stack_management.o build/amd64/standard/vm.o build/amd64/standard/vm_api.o build/amd64/standard/vm_bootstrap.o build/amd64/standard/vm_debug.o build/amd64/standard/vm_time.o build/amd64/standard/word_registry.o build/amd64/standard/word_source/acl_words.o build/amd64/standard/word_source/arithmetic_words.o build/amd64/standard/word_source/block_words.o build/amd64/standard/word_source/control_words.o build/amd64/standard/word_source/defer_words.o build/amd64/standard/word_source/defining_words.o build/amd64/standard/word_source/dictionary_heat_diagnostic_words.o build/amd64/standard/word_source/dictionary_manipulation_words.o build/amd64/standard/word_source/dictionary_words.o build/amd64/standard/word_source/double_words.o build/amd64/standard/word_source/editor_words.o build/amd64/standard/word_source/format_words.o build/amd64/standard/word_source/framebuffer_words.o build/amd64/standard/word_source/inference_words.o build/amd64/standard/word_source/io_words.o build/amd64/standard/word_source/keyboard_words.o build/amd64/standard/word_source/lifecycle_words_hosted.o build/amd64/standard/word_source/log_words.o build/amd64/standard/word_source/logical_words.o build/amd64/standard/word_source/memory_words.o build/amd64/standard/word_source/mixed_arithmetic_words.o build/amd64/standard/word_source/physics_benchmark_words.o build/amd64/standard/word_source/physics_diagnostic_words.o build/amd64/standard/word_source/physics_freeze_words.o build/amd64/standard/word_source/physics_pipelining_diagnostic_words.o build/amd64/standard/word_source/q48_16_words.o build/amd64/standard/word_source/q48_words.o build/amd64/standard/word_source/return_stack_words.o build/amd64/standard/word_source/scroll_words.o build/amd64/standard/word_source/stack_words.o build/amd64/standard/word_source/starforth_words.o build/amd64/standard/word_source/string_words.o build/amd64/standard/word_source/system_words.o build/amd64/standard/word_source/ttf_words.o build/amd64/standard/word_source/vocabulary_words.o build/amd64/standard/test_runner/test_common.o build/amd64/standard/test_runner/test_contracts.o build/amd64/standard/test_runner/test_runner.o build/amd64/standard/test_runner/modules/acl_words_test.o build/amd64/standard/test_runner/modules/arithmetic_words_test.o build/amd64/standard/test_runner/modules/block_words_test.o build/amd64/standard/test_runner/modules/break_me_tests.o build/amd64/standard/test_runner/modules/control_words_test.o build/amd64/standard/test_runner/modules/defining_words_tests.o build/amd64/standard/test_runner/modules/dictionary_manipulation_words_test.o build/amd64/standard/test_runner/modules/dictionary_words_test.o build/amd64/standard/test_runner/modules/double_words_test.o build/amd64/standard/test_runner/modules/format_words_test.o build/amd64/standard/test_runner/modules/inference_words_test.o build/amd64/standard/test_runner/modules/integration_tests.o build/amd64/standard/test_runner/modules/io_words_test.o build/amd64/standard/test_runner/modules/logical_words_test.o build/amd64/standard/test_runner/modules/mama_forth_words_test.o build/amd64/standard/test_runner/modules/memory_words_test.o build/amd64/standard/test_runner/modules/mixed_arithmetic_words_test.o build/amd64/standard/test_runner/modules/physics_freeze_words_test.o build/amd64/standard/test_runner/modules/q48_words_test.o build/amd64/standard/test_runner/modules/return_stack_words_test.o build/amd64/standard/test_runner/modules/stack_words_test.o build/amd64/standard/test_runner/modules/starforth_words_test.o build/amd64/standard/test_runner/modules/stress_tests.o build/amd64/standard/test_runner/modules/string_words_test.o build/amd64/standard/test_runner/modules/system_words_test.o build/amd64/standard/test_runner/modules/vocabulary_words_test.o build/amd64/standard/platform/linux/time.o build/amd64/standard/platform/linux/io.o build/amd64/standard/platform/platform_init.o build/amd64/standard/platform/threading.o build/amd64/standard/platform/alloc_host.o -Wl,--gc-sections -s -flto=auto -fuse-linker-plugin -static -pthread
python3 /home/user/LithosAnanke/v4/tools/mkpost.py --v3 /home/user/LithosAnanke/build/amd64/standard/starforth
POST cases: 539, in v4/system/post_cases.c
from v3 unchanged: 432
from v3, address-dependent (post79_rules.ADDRESS): 20
rewritten or dropped for FORTH-79 (post79_rules.STANDARD): 86, of which dropped 27
written by hand (post79_rules.EXTRA): 28
Required words with at least one case: 126 of 130
Required words with no case: KEY EXPECT QUERY QUIT
Left out (39):
EXPECT.zero_length reads the keyboard
EXPECT.one_item reads the keyboard
EXPECT.empty_stack reads the keyboard
FORGET.nonexistent forgets a word of the system
FORGET.protected forgets a word of the system
CONTEXT.modify damages the system on purpose
CURRENT.protect damages the system on purpose
QUIT.in_definition v3 did not get through it in one session
:.nested v3 did not get through it in one session
].basic v3 did not get through it in one session
ELSE.double v3 did not get through it in one session
THEN.extra v3 did not get through it in one session
C!.basic OPEN: HERE is a cell address on v4 and this word takes a byte address (D-1): the case wrote to or read from the nucleus's code at cell HERE/4
C!.zero OPEN: HERE is a cell address on v4 and this word takes a byte address (D-1): the case wrote to or read from the nucleus's code at cell HERE/4
C!.high_byte OPEN: HERE is a cell address on v4 and this word takes a byte address (D-1): the case wrote to or read from the nucleus's code at cell HERE/4
C!.truncation OPEN: HERE is a cell address on v4 and this word takes a byte address (D-1): the case wrote to or read from the nucleus's code at cell HERE/4
C@.after_cstore OPEN: HERE is a cell address on v4 and this word takes a byte address (D-1): the case wrote to or read from the nucleus's code at cell HERE/4
C@.zero_byte OPEN: HERE is a cell address on v4 and this word takes a byte address (D-1): the case wrote to or read from the nucleus's code at cell HERE/4
FILL.basic OPEN: HERE is a cell address on v4 and this word takes a byte address (D-1): the case wrote to or read from the nucleus's code at cell HERE/4
FILL.zero_byte OPEN: HERE is a cell address on v4 and this word takes a byte address (D-1): the case wrote to or read from the nucleus's code at cell HERE/4
COUNT.string_bounds OPEN: HERE is a cell address on v4 and this word takes a byte address (D-1): the case wrote to or read from the nucleus's code at cell HERE/4
CMOVE.overlap OPEN: HERE is a cell address on v4 and this word takes a byte address (D-1): the case wrote to or read from the nucleus's code at cell HERE/4
CMOVE.bounds moves 1000 bytes over the system; v3 refuses by a bounds rule FORTH-79 has not got
TYPE.single_char OPEN: HERE is a cell address on v4 and this word takes a byte address (D-1): the case wrote to or read from the nucleus's code at cell HERE/4
COUNT.zero_addr_plus_one OPEN: HERE is a cell address on v4 and this word takes a byte address (D-1): the case wrote to or read from the nucleus's code at cell HERE/4
WORD.empty_input v3's WORD does not take the next word from the input, as FORTH-79's does; see the WORD cases written by hand
WORD.space_delim v3's WORD does not take the next word from the input, as FORTH-79's does; see the WORD cases written by hand
WORD.newline_delim v3's WORD does not take the next word from the input, as FORTH-79's does; see the WORD cases written by hand
WORD.tab_delim v3's WORD does not take the next word from the input, as FORTH-79's does; see the WORD cases written by hand
WORD.comma_delim v3's WORD does not take the next word from the input, as FORTH-79's does; see the WORD cases written by hand
WORD.skip_leading v3's WORD does not take the next word from the input, as FORTH-79's does; see the WORD cases written by hand
WORD.single_char v3's WORD does not take the next word from the input, as FORTH-79's does; see the WORD cases written by hand
WORD.long_word v3's WORD does not take the next word from the input, as FORTH-79's does; see the WORD cases written by hand
WORD.zero_delim v3's WORD does not take the next word from the input, as FORTH-79's does; see the WORD cases written by hand
WORD.high_ascii v3's WORD does not take the next word from the input, as FORTH-79's does; see the WORD cases written by hand
WORD.count_format v3's WORD does not take the next word from the input, as FORTH-79's does; see the WORD cases written by hand
WORD.count_value v3's WORD does not take the next word from the input, as FORTH-79's does; see the WORD cases written by hand
WORD.multi_delim v3's WORD does not take the next word from the input, as FORTH-79's does; see the WORD cases written by hand
PAD.usable OPEN: PAD 42 OVER ! faults on v4 -- PAD is a byte address and ! takes a cell address (D-1)
v3 did not do what its own table expects (6):
+!.basic v3's table says no error, v3 raised one
+!.by_zero v3's table says no error, v3 raised one
+!.negative v3's table says no error, v3 raised one
+!.accumulate v3's table says no error, v3 raised one
HERE.after_comma~2 v3's table says no error, v3 raised one
CREATE.long_name v3's table says error, v3 raised none