<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Clang gets stuck indefinitely while building source file from ICU4C (International Components for Unicode)"
href="https://llvm.org/bugs/show_bug.cgi?id=28863">28863</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Clang gets stuck indefinitely while building source file from ICU4C (International Components for Unicode)
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.9
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>FreeBSD
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>release blocker
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ed@80386.nl
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=16886" name="attach_16886" title="dtptngen.cpp: source file that causes Clang to get stuck">attachment 16886</a> <a href="attachment.cgi?id=16886&action=edit" title="dtptngen.cpp: source file that causes Clang to get stuck">[details]</a></span>
dtptngen.cpp: source file that causes Clang to get stuck
Attached is a preprocessed copy of a source file from the International
Components for Unicode (ICU4C), called dtptngen.cpp. If built with LLVM/Clang
3.9.0rc1, it will get stuck indefinitely, at least on FreeBSD 10.3. This cannot
be reproduced with LLVM/Clang 3.9 SVN revision 269026 (three months older),
making me assume it is very likely an LLVM/Clang bug.
For the first 20 seconds, it will use up a single CPU core. After 20 seconds it
stalls indefinitely, being stuck on wait queue "umtxn", which is FreeBSDish for
saying: stuck on acquiring a pthreads mutex.
Clang is being invoked as follows:
/usr/obj/cloudabi-ports/bin/clang-3.9 -cc1 -triple x86_64-unknown-cloudabi
-emit-obj -disable-free -disable-llvm-verifier -discard-value-names
-main-file-name dtptngen.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie
-mthread-model posix -mdisable-fp-elim -masm-verbose -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb
-ffunction-sections -fdata-sections -O2 -std=c++11 -fdeprecated-macro
-ferror-limit 19 -fmessage-length 185 -fsanitize=safe-stack
-fobjc-runtime=gnustep -fcxx-exceptions -fexceptions -fdiagnostics-show-option
-fcolor-diagnostics -vectorize-loops -vectorize-slp -o /tmp/dtptngen-7b4c79.o
-x c++ dtptngen.cpp</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>