[OE-core] GO runtime crashes
raj.khem at gmail.com
Thu Feb 28 13:13:35 UTC 2019
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.
GO_DYNLINK_x86-64 = "1"
GO_DYNLINK_x86-64 = ""
> 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,
> 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.
More information about the Openembedded-core