WG: [yocto] #golang Build tools required during go generate #golang


Sebastian Rühl
 

There is literaly no stacktrace just a segmentation fault pretty early in the execution (like 3rd instruction or something). I will send more outputs as soon as my dual-core has finished compiling stuff again :/

 

Von: Khem Raj <raj.khem@...>
Datum: Freitag, 5. November 2021 um 18:29
An: Sebastian Rühl <sebastian@...>, yocto@... <yocto@...>
Betreff: Re: [yocto] #golang Build tools required during go generate



On 11/5/21 7:32 AM, sebastian@... wrote:
> Hi yoto-devs/users,
>
> in order to get a golang application to run which relies on `go
> generate` calls I wrote special recipes for this tools and include them
> in my original recipe. However I always get a segmentation fault.
> In the tools (which happens to be based on golang too) I use [1] in the
> recipes and in the recipe I want to use them I include them via [2].
> However if for example enter the dev-shell or during build I get a
> segmentation fault although the binary seems to be compiled for the
> right architecture (host-amd64).
> Is there something wrong I try to use that?

do you have stack trace ? that might give some more info on whats going on

>
> Sebastian
>
> [1]
> inherit go-mod
> BBCLASSEXTEND = "native"
> [2]
> DEPENDS += "random-go-tool-needed-by-recipe-native"
>
>
>
>

Join yocto@lists.yoctoproject.org to automatically receive all group messages.