[OE-core] GO runtime crashes

Vincent Prince vincent.prince.fr at gmail.com
Thu Feb 28 09:35:42 UTC 2019


 Hi Damien,

With GO_LINKSHARED = "" it work fine.

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?

Thanks for the quickfix,
Vincent




Le mer. 27 févr. 2019 à 23:22, Damien Riegel <damien.riegel at gmail.com> a
écrit :

> On Wed, 27 Feb 2019 at 12:10, Vincent Prince
> <vincent.prince.fr at gmail.com> wrote:
> >
> > Hello everyone,
> >
> > I'm trying to add node_exporter from Prometheus project to an Intel
> x86-64 machine.
> > I made the following recipe:
> >
> >
> https://github.com/nefethael/meta-random/blob/master/recipes-connectivity/prometheus/go-nodeexporter_0.18.0.bb
> >
> > node_exporter is crashing with multiple different runtime errors, so I
> raised an issue on github:
> > https://github.com/prometheus/node_exporter/issues/1244
>
> I've faced the same kind of issue with a custom application of ours.
> The fix was to add the following line to the recipe:
> GO_LINKSHARED = ""
>
> Let me know if that helps.
>
> Cheers,
> Damien
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190228/36af2986/attachment-0001.html>


More information about the Openembedded-core mailing list