← board

FPC bootstrap no longer compiles compiler source

Symptom

make bootstrap fails when the system FPC compiler compiles compiler/compiler.pas.

Observed command:

make bootstrap

First hard errors observed:

symtab.inc(979,27) Error: Identifier not found "TypeSize"
parser.inc(14065,5) Fatal: Syntax error, ";" expected but "IF" found

The normal self-host path still fixed-points byte-identically:

make compiler/pascal26
cmp /tmp/pascal26-build /tmp/pascal26-verify

Likely Cause

At least two source constructs are accepted by the self-hosted compiler but not by FPC 3.2.2:

Acceptance

Resolution