Skip to content

Self-host M2: spine +1 batch — first link failure after next-includes #2652

@PurHur

Description

@PurHur

Milestone

M2

Problem

After promoting the next bootstrap-selfhost-next-includes.php batch into compiler_lib_spine_smoke, native link may fail on the first new unit (JIT lowering / self-host stub).

Scope

  • test/selfhost/compiler_lib_spine_smoke/main.php
  • lib/JIT.php, lib/JIT/SelfHostBuiltinPolicy.php
  • First failing ext/standard/Jit*.php from batch

Repro

./script/docker-exec.sh -- bash -lc '
  php script/bootstrap-selfhost-next-includes.php --bundle=test/selfhost/compiler_lib_spine_smoke/main.php --limit=10
  # apply printed require_once lines
  BOOTSTRAP_LIB_SPINE_SMOKE=1 make bootstrap-selfhost-lib-spine-smoke
'

Done when

  • Batch applied; bootstrap-selfhost-lib-spine-smoke-link.sh exit 0
  • Coverage sync missing count decreased

Links

#2632 #1492

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions