Skip to content

Tests don't build locally #485

Open
Open
@abrown

Description

@abrown

While building wasi-sdk locally, I observed that some of the compile tests fail:

$ build.sh
FAILED: tests/compile-only/wasm32-wasip2.-O0.addresses.c.wasm
: && /home/abrown/Code/wasi-sdk/build/install/share/cmake/../..//bin/clang --target=wasm32-wasi -O2 -g -DNDEBUG
--sysroot=/home/abrown/Code/wasi-sdk/build/sysroot/install/share/wasi-sysroot -resource-dir
/home/abrown/Code/wasi-sdk/build/sysroot/install/wasi-resource-dir --target=wasm32-wasip2
tests/compile-only/CMakeFiles/wasm32-wasip2.-O0.addresses.c.dir/addresses.c.obj -o tests/compile-only/wasm32-wasip2.-O0.addresses.c.wasm   && :
[parse exception: surprising value (at 0:8)]
Fatal: error parsing wasm (try --debug for more info)
clang: error: linker command failed with exit code 1 (use -v to see invocation)

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