Skip to content

Still cannot switch to new emsdk because of linker errors with LTO... #20275

@Honya2000

Description

@Honya2000

Hello,

Recently i posted the bug, that i cannot use any emsdk versions after 3.1.41.
#19781

The issue was closed apparently.
So today i tried to install new emsdk 3.1.46. And unfortunatelly it still fails... But with another error:

wasm-ld: error: C:\Projects\emsdk\upstream\emscripten\cache\sysroot\lib\wasm32-emscripten\lto\libc-mt-debug.a(proxying_legacy.o): attempt to add bitcode file after LTO (single-threaded project - compiled, multi-threaded - fails).

Before 3.1.41 i updated emsdk for about 3 years and it was almost never fail for me compiling the project.
But now I cannot upgrade to new emsdk since over 2 month.

Any thoughts how to fix the issue?

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