A bit debug, found out that the go-native.inc depends on
go1.4-bootstrap which does not have arm64/aarch64 support.
Found out a reference on
- https://golang.org/doc/install/source#bootstrapFromSource
- https://golang.org/doc/install/source#bootstrapFromCrosscompiledSource

To cross-compile a bootstrap toolchain from source, which is necessary
on systems Go 1.4 did not target (for example, linux/ppc64le), install
Go on a different system and run
bootstrap.bash(https://golang.org/src/bootstrap.bash)

When run as (for example)

$ GOOS=linux GOARCH=ppc64 ./bootstrap.bash

How to add this in yocto I am not sure...
any pointers please help

On Wed, 18 Dec 2019 at 05:18, learning yocto via
Lists.Yoctoproject.Org
<[email protected]> wrote:
>
> Hello List,
>
> I am a newbie to yocto world, trying to build poky (zeus) for
>  qemuarm64 machine on an arm64 board.
>
> When I included meta-virtualization layer and add docker-ce
>
> local.conf
> -----------
> DISTRO_FEATURES_append = " virtualization"
> IMAGE_INSTALL_append = " docker"
> -----------
>
> bitbake core-image-minimal / bitbake -c configure go-native
> throws the error
>
> ---------------
> DEBUG: Executing shell function do_configure
> # Building C bootstrap tool.
> cmd/dist
> go tool dist: unknown architecture: aarch64
> WARNING: exit code 1 from a shell command.
> ERROR: Execution of
> '/mnt1/yocto_kb/build-rpi/tmp/work/aarch64-linux/go-native/1.12.9-r0/temp/run.do_configure.31724'
> failed with exit code 1:
> # Building C bootstrap tool.
> cmd/dist
> go tool dist: unknown architecture: aarch64
> WARNING: exit code 1 from a shell command.
> ---------
>
> Not sure how to fix this error.  Please advice
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
>
> View/Reply Online (#47741): 
> https://lists.yoctoproject.org/g/yocto/message/47741
> Mute This Topic: https://lists.yoctoproject.org/mt/68784558/4043142
> Group Owner: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
> [[email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#47746): https://lists.yoctoproject.org/g/yocto/message/47746
Mute This Topic: https://lists.yoctoproject.org/mt/68784558/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to