<div dir="ltr"><div>Hi Khem,</div><div><br></div><div>
GO_DYNLINK_x86-64 = "" solution works as well,</div><div><br></div><div>Best regards,</div><div>Vincent<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le jeu. 28 févr. 2019 à 14:14, Khem Raj <<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>> 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 Thu, Feb 28, 2019 at 1:35 AM Vincent Prince<br>
<<a href="mailto:vincent.prince.fr@gmail.com" target="_blank">vincent.prince.fr@gmail.com</a>> wrote:<br>
><br>
> Hi Damien,<br>
><br>
> With GO_LINKSHARED = "" it work fine.<br>
><br>
<br>
Please set<br>
GO_DYNLINK_x86-64 = "1"<br>
to<br>
GO_DYNLINK_x86-64 = ""<br>
in goarch.bbclass<br>
<br>
> I'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>
><br>
> Thanks for the quickfix,<br>
> Vincent<br>
><br>
><br>
><br>
><br>
> Le mer. 27 févr. 2019 à 23:22, Damien Riegel <<a href="mailto:damien.riegel@gmail.com" target="_blank">damien.riegel@gmail.com</a>> a écrit :<br>
>><br>
>> On Wed, 27 Feb 2019 at 12:10, Vincent Prince<br>
>> <<a href="mailto:vincent.prince.fr@gmail.com" target="_blank">vincent.prince.fr@gmail.com</a>> wrote:<br>
>> ><br>
>> > Hello everyone,<br>
>> ><br>
>> > I'm trying to add node_exporter from Prometheus project to an Intel x86-64 machine.<br>
>> > I made the following recipe:<br>
>> ><br>
>> > <a href="https://github.com/nefethael/meta-random/blob/master/recipes-connectivity/prometheus/go-nodeexporter_0.18.0.bb" rel="noreferrer" target="_blank">https://github.com/nefethael/meta-random/blob/master/recipes-connectivity/prometheus/go-nodeexporter_0.18.0.bb</a><br>
>> ><br>
>> > node_exporter is crashing with multiple different runtime errors, so I raised an issue on github:<br>
>> > <a href="https://github.com/prometheus/node_exporter/issues/1244" rel="noreferrer" target="_blank">https://github.com/prometheus/node_exporter/issues/1244</a><br>
>><br>
>> I've faced the same kind of issue with a custom application of ours.<br>
>> The fix was to add the following line to the recipe:<br>
>> GO_LINKSHARED = ""<br>
>><br>
>> Let me know if that helps.<br>
>><br>
>> Cheers,<br>
>> Damien<br>
</blockquote></div>