<div dir="ltr"><div dir="ltr"><div>Khem, you can find some backtraces here: <a href="https://github.com/prometheus/node_exporter/issues/1244">https://github.com/prometheus/node_exporter/issues/1244</a>, don&#39;t know if this is enough?</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le dim. 3 mars 2019 à 16:43, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, Mar 3, 2019 at 2:45 AM Vincent Prince<br>
&lt;<a href="mailto:vincent.prince.fr@gmail.com" target="_blank">vincent.prince.fr@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Khem,<br>
&gt;<br>
&gt; I&#39;m not sure if we considere this issue as closed or if we need to dig root-cause here?<br>
&gt;<br>
&gt; I don&#39;t have any Go stuff on my build machine nor build docker.<br>
&gt; Also, those random crashes came with Thud version, I didn&#39;t have any in Sumo, but there was a lot of changes between these two versions.<br>
&gt;<br>
&gt; Please tell me if I can help,<br>
<br>
I think it needs some root causing, but we know the symptoms. So<br>
debugging to crash and some backtraces might help<br>
<br>
&gt; Vincent<br>
&gt;<br>
&gt;<br>
&gt; Le jeu. 28 févr. 2019 à 19:24, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt; a écrit :<br>
&gt;&gt;<br>
&gt;&gt; On Thu, Feb 28, 2019 at 10:19 AM Damien Riegel &lt;<a href="mailto:damien.riegel@gmail.com" target="_blank">damien.riegel@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Hi,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; On Thu, 28 Feb 2019 at 09:04, Vincent Prince<br>
&gt;&gt; &gt; &lt;<a href="mailto:vincent.prince.fr@gmail.com" target="_blank">vincent.prince.fr@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; Hi Khem,<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; GO_DYNLINK_x86-64 = &quot;&quot; solution works as well,<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; Best regards,<br>
&gt;&gt; &gt; &gt; Vincent<br>
&gt;&gt; &gt; &gt;<br>
&gt;&gt; &gt; &gt; Le jeu. 28 févr. 2019 à 14:14, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt; a écrit :<br>
&gt;&gt; &gt; &gt;&gt;<br>
&gt;&gt; &gt; &gt;&gt; On Thu, Feb 28, 2019 at 1:35 AM Vincent Prince<br>
&gt;&gt; &gt; &gt;&gt; &lt;<a href="mailto:vincent.prince.fr@gmail.com" target="_blank">vincent.prince.fr@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt; &gt;&gt; &gt; Hi Damien,<br>
&gt;&gt; &gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt; &gt;&gt; &gt; With GO_LINKSHARED = &quot;&quot; it work fine.<br>
&gt;&gt; &gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt; &gt;&gt;<br>
&gt;&gt; &gt; &gt;&gt; Please set<br>
&gt;&gt; &gt; &gt;&gt; GO_DYNLINK_x86-64 = &quot;1&quot;<br>
&gt;&gt; &gt; &gt;&gt; to<br>
&gt;&gt; &gt; &gt;&gt; GO_DYNLINK_x86-64 = &quot;&quot;<br>
&gt;&gt; &gt; &gt;&gt; in goarch.bbclass<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Well, making a change in the goarch.bbclass is way more intrusive than<br>
&gt;&gt; &gt; changing the value in a single recipe, so it would be nice to (at least)<br>
&gt;&gt; &gt; give some justification about this solution.<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; this will make static binaries instead, so I wonder if its doing some<br>
&gt;&gt; linking from host.<br>
&gt;&gt;<br>
&gt;&gt; &gt; &gt;&gt;<br>
&gt;&gt; &gt; &gt;&gt; &gt; I&#39;m very new to Go, does it mean that there is a mixing issue in go modules from Yocto and from node_exporter vendor folder, so it links wrongly at runtime?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; As to why the GO_LINKSHARED =&quot;&quot; works, I cannot tell. I just noticed<br>
&gt;&gt; &gt; that our application was linked differently on my machine (where it<br>
&gt;&gt; &gt; worked) and in Yocto (where it didn&#39;t work), so I tweaked link flags<br>
&gt;&gt; &gt; until I got it to work.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Cheers,<br>
&gt;&gt; &gt; Damien<br>
</blockquote></div>