[OE-core] GO runtime crashes

Vincent Prince vincent.prince.fr at gmail.com
Thu Feb 28 14:03:53 UTC 2019


Hi Khem,

GO_DYNLINK_x86-64 = "" solution works as well,

Best regards,
Vincent

Le jeu. 28 févr. 2019 à 14:14, Khem Raj <raj.khem at gmail.com> a écrit :

> On Thu, Feb 28, 2019 at 1:35 AM Vincent Prince
> <vincent.prince.fr at gmail.com> wrote:
> >
> > Hi Damien,
> >
> > With GO_LINKSHARED = "" it work fine.
> >
>
> Please set
> GO_DYNLINK_x86-64 = "1"
> to
> GO_DYNLINK_x86-64 = ""
> in goarch.bbclass
>
> > 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/f1156b81/attachment-0001.html>


More information about the Openembedded-core mailing list