<div dir="ltr">Hi Andrew,<div><br></div><div>I replied to you on the bug report thread. A suspicious thing I found in lld/wasm is that it calls parallelForEach from a callback function of parallelForEach, although that function is not reentrant.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 16, 2019 at 4:35 PM Andrew Kelley via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Greetings,<br>
<br>
I would like to bring attention to this bug report:<br>
<a href="https://bugs.llvm.org/show_bug.cgi?id=41508" rel="noreferrer" target="_blank">https://bugs.llvm.org/show_bug.cgi?id=41508</a><br>
<br>
WebAssembly is getting quite some attention in the 8.0.0 release cycle<br>
of LLVM thanks to the target being promoted to non-experimental.<br>
Consequently the WASM linker code in LLD is getting some more broad testing.<br>
<br>
In the Zig frontend I've added --no-threads for now, to work around the bug.<br>
<br>
Please let me know if there is more information I can provide to help<br>
diagnose and fix this bug in LLD. The repro case I uploaded in the issue<br>
tracker triggers the deadlock about 1 in 6 times for me.<br>
<br>
Regards,<br>
Andrew<br>
<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>