Stream: git-wasmtime

Topic: wasmtime / issue #1159 undefined reference to `__cranelif...


view this post on Zulip Wasmtime GitHub notifications bot (May 04 2022 at 22:26):

cfallin commented on issue #1159:

This is an old issue that I think is "working as expected" (one needs to provide an external stack-probe function), so I will go ahead and close.

view this post on Zulip Wasmtime GitHub notifications bot (May 04 2022 at 22:26):

cfallin closed issue #1159:

function u0:0() -> i32 system_v {
    ss0 = explicit_slot 10000
    ss1 = explicit_slot 10000

ebb0:
    v0 = iconst.i32 0
    return v0
}

I expect this to compile and return 0. Instead I get a linker error:
/usr/local/bin/ld: /tmp/.tmpK629Dc: in function `main': intcode.c:(.text.main+0xc): undefined reference to `__cranelift_probestack'

Cranelift 0.49.0


Last updated: Dec 23 2024 at 12:05 UTC