<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
Check if you meet minimal requirements fir LLVM <a href="https://llvm.org/docs/GettingStarted.html#requirements">https://llvm.org/docs/GettingStarted.html#requirements</a>
<div><br>
</div>
<div>Also, would be good to see the build log. <br>
<br>
<div id="AppleMailSignature" dir="ltr">Best regards,
<div>Alexey Bataev</div>
</div>
<div dir="ltr"><br>
16 авг. 2019 г., в 3:27, Itaru Kitayama <<a href="mailto:itaru.kitayama@gmail.com">itaru.kitayama@gmail.com</a>> написал(а):<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div>I'm trying to build the trunk which now requires C++14, but a build configured below keeps failing on POWER8:</div>
<div> </div>
cmake -DCMAKE_INSTALL_PREFIX=/tmp -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS="-std=c++14" -DLLVM_ENABLE_PROJECTS="openmp;clang" -DCLANG_OPENMP_NVPTX_DEFAULT_ARCH=sm_60 -DLIBOMPTARGET_NVPTX_COMPUTE_CAPABILITIES=60 -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=TRUE
 -DLLVM_TARGETS_TO_BUILD="PowerPC;NVPTX" ../llvm<br>
<div><br>
</div>
<div>can someone point out what I am doing wrong?</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Aug 16, 2019 at 2:26 AM Alexey Bataev <<a href="mailto:a.bataev@outlook.com">a.bataev@outlook.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>Hi Itaru, the problem was fixed in trunk, you can try it.<br>
<br>
</div>
<pre class="gmail-m_-7551457736312207247moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div class="gmail-m_-7551457736312207247moz-cite-prefix">13.08.2019 4:49, Alexey Bataev пишет:<br>
</div>
<blockquote type="cite">There is no such entry, just a patch to fix the problem.<br>
<br>
<div id="gmail-m_-7551457736312207247AppleMailSignature" dir="ltr">Best regards,
<div>Alexey Bataev</div>
</div>
<div dir="ltr"><br>
12 авг. 2019 г., в 21:40, Itaru Kitayama <<a href="mailto:itaru.kitayama@gmail.com" target="_blank">itaru.kitayama@gmail.com</a>> написал(а):<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">Alexey,
<div>Could you point us to the corresponding LLVM Bug entry?</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Aug 7, 2019 at 1:25 AM Alexey Bataev <<a href="mailto:a.bataev@outlook.com" target="_blank">a.bataev@outlook.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>Hi Itary, I identified the cause of the problem with your app. The compiler works correctly, but one of the tools, clang-offload-bundler, produces a lot of junk in the bundled object files and it breaks linking. I'm working on the fix.<br>
<br>
</div>
<pre class="gmail-m_-7551457736312207247gmail-m_5927179500474864367moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div class="gmail-m_-7551457736312207247gmail-m_5927179500474864367moz-cite-prefix">
04.08.2019 22:25, Alexey Bataev via Openmp-dev пишет:<br>
</div>
<blockquote type="cite">I did not agreed that this is the bug in clang, I'm still investigating the problem.<br>
<br>
<div id="gmail-m_-7551457736312207247gmail-m_5927179500474864367AppleMailSignature" dir="ltr">
Best regards,
<div>Alexey Bataev</div>
</div>
<div dir="ltr"><br>
4 авг. 2019 г., в 22:01, Itaru Kitayama via Openmp-dev <<a href="mailto:openmp-dev@lists.llvm.org" target="_blank">openmp-dev@lists.llvm.org</a>> написал(а):<br>
<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">All,
<div>Alexey agreed this is a bug of Clang and is working on a fix, as during the global initialization phase, the instance's pointer to the vtable is never set.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Jul 25, 2019 at 1:47 PM Itaru Kitayama <<a href="mailto:itaru.kitayama@gmail.com" target="_blank">itaru.kitayama@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi,
<div>I am revisiting this possible compiler bug in Clang 8.0.0.</div>
<div><br>
</div>
<div>In the source code I am developing, there's a global static variable, nest::sli_neuron::recordablesMap_ put in the BSS section and it is expected to be fully initialized by the time nest::sli_neuron::sli_neuron() gets called, however in a gdb session:</div>
<div><br>
</div>
<div>(gdb) p nest::sli_neuron::recordablesMap_</div>
Python Exception <type 'exceptions.AttributeError'> 'gdb.Type' object has no attribute 'name':<br>
$1 = {<std::map<Name, double (nest::sli_neuron::*)() const, std::less<Name>, std::allocator<std::pair<Name const, double (nest::sli_neuron::*)() const> > >> = std::map with 0 elements, _vptr$RecordablesMap = 0x0}
<div><br>
</div>
<div>this doesn't happen when -fopenmp-targets is _not_ used, is it not trivial to come up a reproducer, thus I am sending a work-in-progress report hoping someone will shed some light on this.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Itaru.</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<blockquote type="cite">
<div dir="ltr"><span>_______________________________________________</span><br>
<span>Openmp-dev mailing list</span><br>
<span><a href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a></span><br>
<span><a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a></span><br>
</div>
</blockquote>
<br>
<fieldset class="gmail-m_-7551457736312207247gmail-m_5927179500474864367mimeAttachmentHeader">
</fieldset>
<pre class="gmail-m_-7551457736312207247gmail-m_5927179500474864367moz-quote-pre">_______________________________________________
Openmp-dev mailing list
<a class="gmail-m_-7551457736312207247gmail-m_5927179500474864367moz-txt-link-abbreviated" href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a>
<a class="gmail-m_-7551457736312207247gmail-m_5927179500474864367moz-txt-link-freetext" href="https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a>
</pre>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</body>
</html>