<div dir="ltr">Why don't you verify that it works when that flag is omitted and then submit a patch upstream?<br><br>Jeff</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 2, 2018 at 5:02 PM, Simone Atzeni <span dir="ltr"><<a href="mailto:simone@cs.utah.edu" target="_blank">simone@cs.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">I was wondering because for our tool Archer (OpenMP data race detector) we run the OMPT tests to make sure that we are using the correct OpenMP version and those two failures make fail our Travis CI.<div><br></div><div>It would be great if it could be fixed.</div><div><br></div><div>Thanks.</div><div><span class="HOEnZb"><font color="#888888">Simone</font></span><div><div class="h5"><br><div><br><blockquote type="cite"><div>On Jul 2, 2018, at 5:58 PM, Jeff Hammond <<a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a>> wrote:</div><br class="m_-5830283772486097912Apple-interchange-newline"><div><div dir="ltr">The fix appears to be "don't use that option", as demonstrated by <a href="https://github.com/pytorch/pytorch/issues/3436" target="_blank">https://github.com/pytorch/<wbr>pytorch/issues/3436</a>.  I have not verified this, although I am a Mac user and can do so if necessary.<div><br></div><div>Jeff</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 2, 2018 at 4:41 PM, Simone Atzeni via Openmp-dev <span dir="ltr"><<a href="mailto:openmp-dev@lists.llvm.org" target="_blank">openmp-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
On Mac two OMPT tests (see below) fail because the linking option "--no-as-needed” is not recognized (using LLVM/Clang 6.0.1)<br>
Does anyone know a workaround for this?<br>
<br>
Failing Tests (2):<br>
    libomp :: ompt/loadtool/tool_available/t<wbr>ool_available.c<br>
    libomp :: ompt/loadtool/tool_not_availab<wbr>le/tool_not_available.c<br>
<br>
Thanks.<br>
Simone<br>
<br>
______________________________<wbr>_________________<br>
Openmp-dev mailing list<br>
<a href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/openmp-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-5830283772486097912gmail_signature" data-smartmail="gmail_signature">Jeff Hammond<br><a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a><br><a href="http://jeffhammond.github.io/" target="_blank">http://jeffhammond.github.io/</a></div>
</div>
</div></blockquote></div><br></div></div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Jeff Hammond<br><a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a><br><a href="http://jeffhammond.github.io/" target="_blank">http://jeffhammond.github.io/</a></div>
</div>