[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed for node-quickjs-emscripten



On 4/14/25 11:24, Jérémy Lal wrote:


Le lun. 14 avr. 2025 à 10:45, Jérémy Lal <kapouer@melix.org <mailto:kapouer@melix.org>> a écrit :



    Le lun. 14 avr. 2025 à 10:25, Yadd <yadd@debian.org
    <mailto:yadd@debian.org>> a écrit :

        Hi all,

        I'm unable to fix build/test issue of node-quickjs-emscripten.
        We need
        to fix this because it's a reverse dependency of the whole node
        stack
        (via src:node-proxy-agents -> node-undici)
        [...]

    Here's what I found so far:
    node-quickjs-emscripten 0.23 is not compatible with emscripten 3.1.69.
    The latest version 0.31 is compatible with emscripten 3.1.65, which
    is close enough that
    backporting the emcc build flags could make it work.

    https://github.com/justjake/quickjs-emscripten/blob/v0.31.0/
    packages/variant-quickjs-wasmfile-release-sync/Makefile <https://
    github.com/justjake/quickjs-emscripten/blob/v0.31.0/packages/
    variant-quickjs-wasmfile-release-sync/Makefile>
    compared to
    https://github.com/justjake/quickjs-emscripten/blob/v0.23.0/Makefile
    <https://github.com/justjake/quickjs-emscripten/blob/v0.23.0/Makefile>

    Observe that:
    - The source directory layout has changed a lot between versions
    - The variants that are actually compiled in the debian package are
    only a small subset
    - emscripten build flags change a lot between versions, and have
    huge effects on the executability of the resulting wasm.

Found it :)

Thank you !!!


Reply to: