emscripten-core / emscripten-core/emscripten

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

Open
#20,275 12 comments 3 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

Hello,

Recently i posted the bug, that i cannot use any emsdk versions after 3.1.41.
https://github.com/emscripten-core/emscripten/issues/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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.