[llvm-bugs] [Bug 37064] New: Deadlock in wasm-ld when linking large archive with object
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Apr 9 15:15:28 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=37064
Bug ID: 37064
Summary: Deadlock in wasm-ld when linking large archive with
object
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedbugs at nondot.org
Reporter: tyler at fastly.com
CC: llvm-bugs at lists.llvm.org
Created attachment 20174
--> https://bugs.llvm.org/attachment.cgi?id=20174&action=edit
tar file of musl.a and stdio_test.o
wasm-ld occasionally hits what I assume is a deadlocking race condition when
linking a large wasm archive file with a small wasm object file. It sees to
occur more frequently on slower machines. The issue vanishes when wasm-ld is
run with "--no-threads".
I am using llvm 6.0.0 and invoking wasm-ld like so:
wasm-ld --no-entry --allow-undefined stdio_test.o musl.a -o stdio_test.wasm
Backtraces of all running threads can be found here, however I don't have a
debug build of LLVM handy so it's of limited use:
https://gist.github.com/tyler/94beafc2929b14196fa92c4d334432c2
stdio_test.o and musl.a are attached.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180409/9c66bdc3/attachment-0001.html>
More information about the llvm-bugs
mailing list