[OE-core] GO runtime crashes

Vincent Prince vincent.prince.fr at gmail.com
Mon Mar 4 10:52:48 UTC 2019


Khem, you can find some backtraces here:
https://github.com/prometheus/node_exporter/issues/1244, don't know if this
is enough?

Le dim. 3 mars 2019 à 16:43, Khem Raj <raj.khem at gmail.com> a écrit :

> On Sun, Mar 3, 2019 at 2:45 AM Vincent Prince
> <vincent.prince.fr at gmail.com> wrote:
> >
> > Khem,
> >
> > I'm not sure if we considere this issue as closed or if we need to dig
> root-cause here?
> >
> > I don't have any Go stuff on my build machine nor build docker.
> > Also, those random crashes came with Thud version, I didn't have any in
> Sumo, but there was a lot of changes between these two versions.
> >
> > Please tell me if I can help,
>
> I think it needs some root causing, but we know the symptoms. So
> debugging to crash and some backtraces might help
>
> > Vincent
> >
> >
> > Le jeu. 28 févr. 2019 à 19:24, Khem Raj <raj.khem at gmail.com> a écrit :
> >>
> >> On Thu, Feb 28, 2019 at 10:19 AM Damien Riegel <damien.riegel at gmail.com>
> wrote:
> >> >
> >> > Hi,
> >> >
> >> > On Thu, 28 Feb 2019 at 09:04, Vincent Prince
> >> > <vincent.prince.fr at gmail.com> wrote:
> >> > >
> >> > > 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
> >> >
> >> > Well, making a change in the goarch.bbclass is way more intrusive than
> >> > changing the value in a single recipe, so it would be nice to (at
> least)
> >> > give some justification about this solution.
> >> >
> >>
> >> this will make static binaries instead, so I wonder if its doing some
> >> linking from host.
> >>
> >> > >>
> >> > >> > 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?
> >> >
> >> > As to why the GO_LINKSHARED ="" works, I cannot tell. I just noticed
> >> > that our application was linked differently on my machine (where it
> >> > worked) and in Yocto (where it didn't work), so I tweaked link flags
> >> > until I got it to work.
> >> >
> >> > Cheers,
> >> > Damien
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190304/5e240f13/attachment.html>


More information about the Openembedded-core mailing list