<div dir="ltr">I'm pretty sure that's another instance of <a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D17409&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=CnzuN65ENJ1H9py9XLiRvC_UQz6u3oG6GUNn7_wosSM&m=GrBc6UYGZsicVBmLgR7yIG36v6dWC0_UCbGK4611U8w&s=OSzBilhpFK8kLbI4fqRK71lSOCa3cRFv68eJ0ljtsn0&e=">https://llvm.org/bugs/show_bug.cgi?id=17409</a>, which is not yet fixed :(<div>I don't have good suggestions, other than lower optimization level, or reduce the file size, or reduce the set of enabled UBSan checks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 23, 2015 at 6:05 PM, Dingbao Xie <span dir="ltr"><<a href="mailto:xiedingbao@gmail.com" target="_blank">xiedingbao@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I attempted to  build perl with clang-3.6 and encountered an issue.<div>When building the source code with flag -fsanitize=undefined, clang</div><div>got stuck in compiling some files. </div><div>If remove the flag, clang can compile it in 3 seconds. </div><div>For example, clang can't compile the following file for 30 mins.</div><div><div>clang -fsanitize=undefined -c   -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings -O2   -DVERSION=\"0.32\" -DXS_VERSION=\"0.32\" -fPIC "-I../.."  -DPERL_EXT_RE_BUILD -DPERL_EXT_RE_DEBUG -DPERL_EXT re_exec.c</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div>-- <br><div><div dir="ltr"><div>Dingbao Xie<br></div></div></div>
</font></span></div></div>
<br>_______________________________________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Alexey Samsonov<br><a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a></div></div>
</div>