<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">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_5927179500474864367moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div class="gmail-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_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_5927179500474864367mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_5927179500474864367moz-quote-pre">_______________________________________________
Openmp-dev mailing list
<a class="gmail-m_5927179500474864367moz-txt-link-abbreviated" href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a>
<a class="gmail-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>