This repository was archived by the owner on Aug 2, 2022. It is now read-only.
please disable multi-threaded linking or port upstream patch for LLVM wasm-ld threadpool deadlock issue #741
Labels
bug
Something isn't working
A brief follow-up on my note in #123 - eosio.cdt 1.6.1 runs with parallel linking enabled, but there's a deadlock in LLVM's threadpool that doesn't allow the parallel writing of sections and custom sections in the WASM backend. See here for the upstream bug that was fixed in LLVM 8.0.1.
Other projects affected by it have disabled parallel linking, e.g.
ziglang
disabled parallel linking, see here for their bugfix. You can do the same, or possibly backport their fix - which is just a few lines of code.I've copied and pasted more details, including a backtrace of when eosio-cpp deadlocks, here
The text was updated successfully, but these errors were encountered: