Skip to content

Compatibility with new emscripten #159

@AlexanderSaydakov

Description

@AlexanderSaydakov

Something must have changed in emscripten after version 4.0.7.
I did not test with 4.0.8, but I tested with 4.0.9 and with 4.0.13 (the latest at the moment).
Many tests fail with different errors.

A large number of errors were about conversion to BigInt such as: "Cannot convert 9001 to a BigInt".
They disappeared after adding -sMEMORY64=1 option (-sWASM_BIGINT=1 option was set already).

Another type of error seems to be about random numbers in the REQ sketch (perhaps KLL sketch as well, but the tests don't hit that problem).
The error is as follows: "Error thrown: ReferenceError: os is not defined". It seems that some dependency is not satisfied such as "require('os')" statement is not added anymore that might have been the default before. I don't know yet how to solve this problem.

In the frequent_strings_sketch three tests fail with some discrepancy. I did not have time yet to figure out why that happens.

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