Hi Khem, GO_DYNLINK_x86-64 = "" solution works as well,
Best regards, Vincent Le jeu. 28 févr. 2019 à 14:14, Khem Raj <raj.k...@gmail.com> a écrit : > On Thu, Feb 28, 2019 at 1:35 AM Vincent Prince > <vincent.prince...@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.rie...@gmail.com> > a écrit : > >> > >> On Wed, 27 Feb 2019 at 12:10, Vincent Prince > >> <vincent.prince...@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 >
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core