<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 31, 2017 at 10:48 AM, Martin J. O'Riordan via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-IE"><div class="gmail-m_-29736127735713464WordSection1"><p class="MsoNormal"><span style="font-size:12pt;font-family:"book antiqua",serif">I have started testing our LibC++ v4.0 implementation, and I am seeing a very large number of tests failing because the test uses ‘</span><span style="font-size:12pt;font-family:"courier new"">try</span><span style="font-size:12pt;font-family:"book antiqua",serif">’ or some other EH related feature.  However, my platform does not (and cannot) support Exception Handling.  Previous releases used ‘</span><span style="font-size:12pt;font-family:"courier new"">_LIBCPP_NO_EXCEPTIONS</span><span style="font-size:12pt;font-family:"book antiqua",serif">’ in the tests to determine if the implementation supported EH or not, but this seems not to be the case for the most recent v4.0 RC1 release.</span></p></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-IE"><div class="gmail-m_-29736127735713464WordSection1"><p class="MsoNormal"><span style="font-size:12pt;font-family:"book antiqua",serif"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:12pt;font-family:"book antiqua",serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:12pt;font-family:"book antiqua",serif">At the moment this appears to be the cause of 309 regressions I am seeing.  Has LibC++ dropped support for platforms that do not support EH?</span></p></div></div></blockquote><div><br></div><div>No, Libc++ has not dropped support for compiling without exceptions. Did you provide `-DLIBCXX_ENABLE_EXCEPTIONS=OFF` when configuring libc++?  </div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="font-size:12pt;font-family:"book antiqua",serif;color:rgb(148,54,52)">Others are failing because of ‘</span><span style="font-size:12pt;font-family:"courier new";color:rgb(0,32,96)">align_val_t</span><span style="font-size:12pt;font-family:"book antiqua",serif;color:rgb(148,54,52)">’ - it looks to be like these are C++17 tests, but the tests are not being disabled when I use ‘</span><span style="font-size:12pt;font-family:"courier new";color:rgb(0,32,96)">-std=c++14</span><span style="font-size:12pt;font-family:"book antiqua",serif;color:rgb(148,54,52)">’.  </span></blockquote><div> </div><div>How are you running the tests and how are you passing -std=c++14 to them? Libc++ has buildbots for all C++ dialects and -fno-exceptions mode and they are currently</div><div>all green. <a href="http://lab.llvm.org:8011/console">http://lab.llvm.org:8011/console</a></div><div><br></div><div>/Eric</div></div></div></div>