From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4126 invoked from network); 16 Jan 2022 13:25:58 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 16 Jan 2022 13:25:58 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob0.topicbox.com (Postfix) with ESMTP id 64EDE1D802 for ; Sun, 16 Jan 2022 08:25:57 -0500 (EST) (envelope-from bounce.mM03b63d41e5eefa192b97b1d4.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 5D92E10E4CB9; Sun, 16 Jan 2022 08:25:57 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=from:to :message-id:date:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:subject:list-unsubscribe; s=dkim-1; bh= c3aKde9zlxDpCTDgcAbL0xlbMv1l5T8DfsnnDgcvLK4=; b=rHc5U1snmcSQrymg m/+H7AfufaM+deEFJHuvz3E9ap5h9n77brnVcVwIZ48X2d4aTE9Zx8jrECyEOCs2 kL7RCLL0YVDHI9VGjXZcdOyUsdvZAiIqtBOJZdXrpyMzF+6fLvOPWjDwvwnoRz5M XJC+24Bq1wAC1mmRC2vbAX9/ddE= From: mjl@altq.se To: 9fans <9fans@9fans.net> Message-Id: <16423395520.07A520f.886322@composer.9fans.topicbox.com> Date: Sun, 16 Jan 2022 08:25:52 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=16423395521.188E22F.886322 Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: d3a211b2-76cf-11ec-8f06-2dcd1d2d11b0 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UOTI0NWU0YTBlZTg3ZjEwYi1NMDNiNjNkNDFlNWVlZmExOTJiOTdi?= =?UTF-8?B?MWQ0Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] Cross compiling golang from amd64 to arm64 List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M03b63d41e5eefa192b97b1d4:1:NEbmIlGAkLuDNEdMA_jsOas8bfgXmIWBk1N52ztr_OQ --16423395521.188E22F.886322 Date: Sun, 16 Jan 2022 08:25:52 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I am trying to cross compile golang to arm64 on a amd64 machine running 9fr= ont. I am using the amd64 1.16.3 bootstrap package from 9legacy.org. toolchain1, 2, and 3 builds cleanly, as could be expected. However, it all = falls apart in the end, stating that the combination plan9/arm64 is not sup= ported. This is what it looks like (I am following the steps from=C2=A0https://9lab= .org/plan9/go/). cpu% GOARCH=3Darm64 make.rc Building Go cmd/dist using /tmp/go-plan9-amd64-bootstrap Building Go toolchain1 using /tmp/go-plan9-amd64-bootstrap. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for host, plan9/amd64. Building packages and commands for target, plan9/arm64. cmd/go: unsupported GOOS/GOARCH pair plan9/arm64 go tool dist: FAILED: /sys/lib/go/arm64-1.17.6/pkg/tool/plan9_amd64/go_boot= strap install -gcflags=3Dall=3D -ldflags=3Dall=3D std cmd: exit status: 'go= _bootstrap 24113: 2' I will try to dig into the failure a bit more on my own, but any additional= input, suggestions, or knowledge would be greatly appreciated. Cheers, /mjl ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T9245e4a0ee87f10b-M03b63= d41e5eefa192b97b1d4 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription --16423395521.188E22F.886322 Date: Sun, 16 Jan 2022 08:25:52 -0500 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I am trying to cross compile golang to arm64 o= n a amd64 machine running 9front. I am using the amd64 1.16.3 bootstrap pac= kage from 9legacy.org.

toolchain1, 2, and = 3 builds cleanly, as could be expected. However, it all falls apart in the = end, stating that the combination plan9/arm64 is not supported.
=

This is what it looks like (I am following the steps = from https://9lab.org/plan9/go/= ).

cpu% GOARCH=3Darm64 make.rc
Building Go cmd/dist using /tmp/go-plan9-amd64-bootstrap
Building Go toolchain1 using /tmp/go-plan9-amd64-bootstrap.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.<= br />
Building Go toolchain3 using go_bootstrap and Go toolchain2= .
Building packages and commands for host, plan9/amd64.
Building packages and commands for target, plan9/arm64.
<= /div>
cmd/go: unsupported GOOS/GOARCH pair plan9/arm64
= go tool dist: FAILED: /sys/lib/go/arm64-1.17.6/pkg/tool/plan9_amd64/go_boot= strap install -gcflags=3Dall=3D -ldflags=3Dall=3D std cmd: exit status: = 9;go_bootstrap 24113: 2'

I will try to= dig into the failure a bit more on my own, but any additional input, sugge= stions, or knowledge would be greatly appreciated.


Cheers,

/mjl = --16423395521.188E22F.886322--