Skip to content

Building Binaryen.js fails with Emscripten upstream (on CI only) #10673

@dcodeIO

Description

@dcodeIO

When I flipped the switch from fastcomp to upstream a couple months ago on the Binaryen.js buildbot, I noticed that builds produced by upstream on any CI setup (Travis, GitHub Actions, various OS versions, with and without Docker) yield a broken JS file reliably, which I cannot reproduce locally (Windows, Ubuntu VM in WSL) using the same versions of Emsdk/Emscripten/etc., Something about the CI environments appears special.

I made an issue on the buildbot at that time describing the problem in more detail, but haven't been able to pinpoint what's going on since then. The same problem affects the Binaryen testsuite itself btw, which still uses fastcomp for that reason and hasn't ever seen a successful CI run against upstream.

There are quite a few build logs for reference meanwhile as I made the buildbot run both fastcomp and upstream since then in the hope that upstream magically unbreaks, which it didn't. The interesting ones are those where fastcomp passes and upstream does not.

Now i worry that letting this issue slip while slowly fading out fastcomp will become problematic at some point, so any help to resolve this for good would be much appreciated :)

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