Skip to content

Synth is unable to compile a recent falcon-cascade binary #1318

Description

@cpetig

A meld'ed falcon-cascade.wasm is rejected by synth compile in.wasm --target cortex-m7 --relocatable --all-exports --embedder-data-init --embedder-global-init -o out.wasm
with

warning: skipping function 'pulseengine:falcon-cascade/controller@0.10.0#step': backend 'arm' failed: compilation failed: instruction selection failed: Synthesis failed: #1069: spill-slot pool exhausted while frame-homing a VFP local — more frame-resident float locals than the pool holds; the backend retries with a pool sized from the function's local count and this surfaces only if that also fails

A wasm-optimized version gives more errors

warning: skipping function 'pulseengine:falcon-cascade/controller@0.10.0#step': backend 'arm' failed: compilation failed: instruction selection failed: Synthesis failed: #1069: spill-slot pool exhausted while frame-homing a VFP local — more frame-resident float locals than the pool holds; the backend retries with a pool sized from the function's local count and this surfaces only if that also fails
warning: skipping function 'func_4': backend 'arm' failed: compilation failed: instruction selection failed: Synthesis failed: GI-FPU-002: an integer operation peeked an f32 (VFP) stack value — invalid wasm or an unlowered float op reached the integer path

errors.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions