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=-0.0 required=5.0 tests=HTML_MESSAGE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19581 invoked from network); 13 Mar 2022 20:50:23 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 13 Mar 2022 20:50:23 -0000 Received: from firstpost.pub ([46.23.91.149]) by 4ess; Sun Mar 13 16:13:02 -0400 2022 Received: from smtpclient.apple ( [2a02:8071:a5bb:ae00:8d45:dd7a:b4c5:d1c5]) by firstpost.pub (OpenSMTPD) with ESMTPSA id bccbb5dd (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for <9front@9front.org>; Sun, 13 Mar 2022 20:40:51 +0100 (CET) From: sml Content-Type: multipart/alternative; boundary="Apple-Mail=_53B2C524-C1E5-4B56-AAB6-CC877640A42D" Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Message-Id: Date: Sun, 13 Mar 2022 20:40:49 +0100 To: 9front@9front.org X-Mailer: Apple Mail (2.3693.60.0.1.1) List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: cache-aware firewall metadata Subject: [9front] Go: "exec header invalid" Reply-To: 9front@9front.org Precedence: bulk --Apple-Mail=_53B2C524-C1E5-4B56-AAB6-CC877640A42D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi,=20 I tried to build Go according to the instructions on = https://9lab.org/plan9/go/ . I=E2=80=99m running the pi3 image of 9front on a Raspberry 4 and try to = bootstrap the Go source 1.17.8 with the binary "Go 1.17.6 on plan9/arm = (ARMv7)=E2=80=9C from 9legacy.org .=20 When I try to run: ./make.rc I get this message: Building Go cmd/dist using /tmp/go-plan9-arm-bootstrap /tmp/go-plan9-arm-bootstrap/bin/go: exec header invalid Does anyone have any idea what I'm doing wrong? Thank you very much and best regards,=20 sml= --Apple-Mail=_53B2C524-C1E5-4B56-AAB6-CC877640A42D Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi, 

I= tried to build Go according to the instructions on https://9lab.org/plan9/go/.

I=E2=80=99m running the pi3 image of = 9front on a Raspberry 4 and try to bootstrap the Go source 1.17.8 with = the binary "Go 1.17.6 on plan9/arm (ARMv7)=E2=80=9C from 9legacy.org

When I try to = run:

./make.rc

I get this message:

Building Go cmd/dist using = /tmp/go-plan9-arm-bootstrap
/tmp/go-plan9-arm-bootstrap/bin/go: exec header = invalid

Does = anyone have any idea what I'm doing wrong?

Thank you very much and best = regards, 
sml
= --Apple-Mail=_53B2C524-C1E5-4B56-AAB6-CC877640A42D-- 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=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22931 invoked from network); 13 Mar 2022 21:16:51 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 13 Mar 2022 21:16:51 -0000 Received: from duke.felloff.net ([216.126.196.34]) by 4ess; Sun Mar 13 17:10:36 -0400 2022 Message-ID: <16D8A4EEA70350CEFEF0F167EE3C4130@felloff.net> Date: Sun, 13 Mar 2022 22:10:26 +0100 From: cinap_lenrek@felloff.net To: 9front@9front.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: non-blocking self-healing enhancement hypervisor-scale engine realtime-java-scale browser-based optimizer Subject: Re: [9front] Go: "exec header invalid" Reply-To: 9front@9front.org Precedence: bulk no surprise. the pi3 and pi4 kernels are arm64 (armv8). -- cinap 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=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16132 invoked from network); 14 Mar 2022 00:26:57 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 14 Mar 2022 00:26:57 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 4ess; Sun Mar 13 19:59:57 -0400 2022 Received: from abbatoir.myfiosgateway.com (pool-74-108-56-225.nycmny.fios.verizon.net [74.108.56.225]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id b99f9998 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Sun, 13 Mar 2022 16:59:32 -0700 (PDT) Message-ID: <572D50328BF67CF5FBD305CD8BD0E25B@eigenstate.org> To: 9front@9front.org Date: Sun, 13 Mar 2022 19:59:30 -0400 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: distributed information content-driven element-aware session reduce/map interface Subject: Re: [9front] Go: "exec header invalid" Reply-To: 9front@9front.org Precedence: bulk Quoth sml : > Hi, > > I tried to build Go according to the instructions on https://9lab.org/plan9/go/ . > > I’m running the pi3 image of 9front on a Raspberry 4 and try to bootstrap the Go source 1.17.8 with the binary "Go 1.17.6 on plan9/arm (ARMv7)“ from 9legacy.org . > > When I try to run: > > ./make.rc > > I get this message: > > Building Go cmd/dist using /tmp/go-plan9-arm-bootstrap > /tmp/go-plan9-arm-bootstrap/bin/go: exec header invalid > > Does anyone have any idea what I'm doing wrong? > At a guess, you're trying to run a 32 bit arm binary on a 64 bit 9front. Go currently doesn't support arm64. I expect that it won't be a huge effort to change that, but nobody has done the work yet. 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=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16151 invoked from network); 14 Mar 2022 08:50:54 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 14 Mar 2022 08:50:54 -0000 Received: from firstpost.pub ([46.23.91.149]) by 4ess; Mon Mar 14 02:38:05 -0400 2022 Received: from smtpclient.apple ( [2a02:8071:a5bb:ae00:5095:b8a:e34a:1dc0]) by firstpost.pub (OpenSMTPD) with ESMTPSA id 65bf9318 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for <9front@9front.org>; Mon, 14 Mar 2022 07:37:54 +0100 (CET) From: sml Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Date: Mon, 14 Mar 2022 07:37:53 +0100 References: <16D8A4EEA70350CEFEF0F167EE3C4130@felloff.net> To: 9front@9front.org In-Reply-To: <16D8A4EEA70350CEFEF0F167EE3C4130@felloff.net> Message-Id: X-Mailer: Apple Mail (2.3693.60.0.1.1) List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: generic firewall-scale lifecycle map/reduce framework Subject: Re: [9front] Go: "exec header invalid" Reply-To: 9front@9front.org Precedence: bulk thank you cinap and Ori.=20 what steps would be required to add support to armv8? would this be a = good beginner project?=20 if this is not the case, would it be possible to add a bounty? thank you and best regards,=20 sml 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=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 685 invoked from network); 14 Mar 2022 10:58:31 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 14 Mar 2022 10:58:31 -0000 Received: from firstpost.pub ([46.23.91.149]) by 4ess; Mon Mar 14 06:47:48 -0400 2022 Received: from smtpclient.apple ( [2a02:8071:a5bb:ae00:5883:33d:9abc:6eaa]) by firstpost.pub (OpenSMTPD) with ESMTPSA id 206daa0e (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for <9front@9front.org>; Mon, 14 Mar 2022 11:47:44 +0100 (CET) From: sml Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Date: Mon, 14 Mar 2022 11:47:43 +0100 References: <16D8A4EEA70350CEFEF0F167EE3C4130@felloff.net> To: 9front@9front.org In-Reply-To: Message-Id: <927B69C9-12C1-4154-AFA0-5FECE5A74C67@firstpost.pub> X-Mailer: Apple Mail (2.3693.60.0.1.1) List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: lossless structured event Subject: Re: [9front] Go: "exec header invalid" Reply-To: 9front@9front.org Precedence: bulk when trying to cross-compile a toolchain for plan9/arm64 i get the = message: cmd/go: unsupported GOOS/GOARCH pair plan9/arm64 go tool dist: FAILED: = /usr/local/Cellar/go/1.17/go-plan9-arm64-bootstrap/pkg/tool/darwin_amd64/g= o_bootstrap install -gcflags=3Dall=3D -ldflags=3Dall=3D std cmd: exit = status 2 but as Ori said, there is no support for plan9/arm64 listed on = https://go.dev/doc/install/source. > Am 14.03.2022 um 07:37 schrieb sml : >=20 > thank you cinap and Ori.=20 >=20 > what steps would be required to add support to armv8? would this be a = good beginner project?=20 >=20 > if this is not the case, would it be possible to add a bounty? >=20 > thank you and best regards,=20 > sml >=20 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=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3853 invoked from network); 14 Mar 2022 15:31:15 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 14 Mar 2022 15:31:15 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 4ess; Mon Mar 14 11:25:07 -0400 2022 Received: from abbatoir.myfiosgateway.com (pool-74-108-56-225.nycmny.fios.verizon.net [74.108.56.225]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 64c0a84f (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Mon, 14 Mar 2022 08:18:02 -0700 (PDT) Message-ID: To: 9front@9front.org Date: Mon, 14 Mar 2022 11:18:00 -0400 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: structured blockchain browser Subject: Re: [9front] Go: "exec header invalid" Reply-To: 9front@9front.org Precedence: bulk Quoth sml : > thank you cinap and Ori. > > what steps would be required to add support to armv8? would this be a good beginner project? > > if this is not the case, would it be possible to add a bounty? > > thank you and best regards, > sml > It wouldn't be particularly difficult -- arm64 support already exists for unix; the bulk of the work would be to add the plan 9 flavored assembly for doing system calls. Between a week for someone who's vaguely familiar with the code to a month or two for someone learning about the go internals as they go, at a guess. 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=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17820 invoked from network); 15 Mar 2022 09:10:11 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 15 Mar 2022 09:10:11 -0000 Received: from firstpost.pub ([46.23.91.149]) by 4ess; Tue Mar 15 02:32:20 -0400 2022 Received: from smtpclient.apple ( [2a02:8071:a5bb:ae00:e5e8:72a1:5821:9704]) by firstpost.pub (OpenSMTPD) with ESMTPSA id 3b6b4ed5 (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for <9front@9front.org>; Tue, 15 Mar 2022 07:18:59 +0100 (CET) From: sml Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Date: Tue, 15 Mar 2022 07:19:03 +0100 References: To: 9front@9front.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3693.60.0.1.1) List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: abstract content-addressed package storage ActivityPub injection content-driven-based content-driven database Subject: Re: [9front] Go: "exec header invalid" Reply-To: 9front@9front.org Precedence: bulk Again, thank you very much Ori.=20 This doesn't sound that simple to me, but it may be a good opportunity = to understand both plan 9 and go a little better. If anyone knows of any = helpful resources on this, I would appreciate a quick note.=20 Thank you and best regards,=20 sml > Am 14.03.2022 um 16:18 schrieb ori@eigenstate.org: >=20 > Quoth sml : >> thank you cinap and Ori.=20 >>=20 >> what steps would be required to add support to armv8? would this be a = good beginner project?=20 >>=20 >> if this is not the case, would it be possible to add a bounty? >>=20 >> thank you and best regards,=20 >> sml >>=20 >=20 > It wouldn't be particularly difficult -- arm64 support > already exists for unix; the bulk of the work would be > to add the plan 9 flavored assembly for doing system > calls. >=20 > Between a week for someone who's vaguely familiar with > the code to a month or two for someone learning about > the go internals as they go, at a guess. >=20 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=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FROM,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 16936 invoked from network); 15 Mar 2022 13:13:15 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 15 Mar 2022 13:13:15 -0000 Received: from mail-4321.protonmail.ch ([185.70.43.21]) by 4ess; Tue Mar 15 07:23:38 -0400 2022 Received: from mail-0301.mail-europe.com (mail-0301.mail-europe.com [188.165.51.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail-4321.protonmail.ch (Postfix) with ESMTPS id 4KHrSW0GSMz4y4l6 for <9front@9front.org>; Tue, 15 Mar 2022 11:16:11 +0000 (UTC) Authentication-Results: mail-4321.protonmail.ch; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="MiuIV+An" Date: Tue, 15 Mar 2022 11:15:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1647342951; bh=G1W4jcRxA6gJTOaQqecJ09S3UIVCCufFetKkCDfVcbA=; h=Date:To:From:Reply-To:Subject:Message-ID:In-Reply-To:References: From:To:Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=MiuIV+AnvuKWNvXm+pLbkSsS9ZMldQqJIerRZDSsEcIV4S9mIdYtNVWcb6oVOdNHj iWLzmtCsG/pNVlyJKFF/9UJCD15obpO3vpeD1DTmB3tN91rLeMit6A+cNLI+uqRw5p Dqr/+UFzOKyNkyh5x5hEb/Qw7BKNmaOw0J6KnQXWkghW0YLC4O8+PUBUn1ZfpAx/lc 13qETnkkkME09RUnAs/0BgdgRngYAMcgqUXX6mt3dcRkU0JWJo4ghG1L2oKvgM2Zws XJBs43T3Thc3BWdYfi3tgcKMpoY4QftEh3uTxBf+P3DeCXaD6zXbiqrOYlPNDa/a7R VLeuvkA6vegJQ== To: 9front@9front.org From: Philip Silva Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: reduce/map-based high-performance-aware layer Subject: Re: [9front] Go: "exec header invalid" Reply-To: 9front@9front.org Precedence: bulk Actually there's also a 500$ bounty for this http://fqa.9front.org/appendixb.html 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=DATE_IN_PAST_12_24, DKIM_INVALID,DKIM_SIGNED,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 30540 invoked from network); 16 Mar 2022 07:28:40 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 16 Mar 2022 07:28:40 -0000 Received: from wopr.sciops.net ([216.126.196.60]) by 4ess; Tue Mar 15 12:33:05 -0400 2022 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sciops.net; s=20210706; t=1647361978; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JnMR4yvX9/gbT4pVw5uHdHMNoCBXyXaYT6QUCtlcFFI=; b=cC429V1UhH1MBs9+vx6Zc/55wHnWbGioFF2Mtgcg8wrH2IjMLGBP+Tw+0SGhEbvck8TuHZ 9XYMrYyze3CILS//hw7sfTm6wQtruTfApoDrSp4eX9ZZEcc88m+uQJfB5sfkTQYpouH3J8 3LurYjZBtNchUIfGYhNTmLd/wpUvhPo= Received: from localhost (wopr.sciops.net [local]) by wopr.sciops.net (OpenSMTPD) with ESMTPA id a380b25d for <9front@9front.org>; Tue, 15 Mar 2022 09:32:58 -0700 (PDT) Date: Tue, 15 Mar 2022 09:32:58 -0700 From: Kurt H Maier To: 9front@9front.org Message-ID: Mail-Followup-To: 9front@9front.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: app database Subject: Re: [9front] Go: "exec header invalid" Reply-To: 9front@9front.org Precedence: bulk On Tue, Mar 15, 2022 at 11:15:50AM +0000, Philip Silva wrote: > Actually there's also a 500$ bounty for this > > http://fqa.9front.org/appendixb.html I wonder if all the contributors to that bounty are still interested. khm 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=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12333 invoked from network); 16 Mar 2022 09:10:10 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 16 Mar 2022 09:10:10 -0000 Received: from firstpost.pub ([46.23.91.149]) by 4ess; Wed Mar 16 03:43:28 -0400 2022 Received: from smtpclient.apple ( [2a02:8071:a5bb:ae00:905d:7403:549:7011]) by firstpost.pub (OpenSMTPD) with ESMTPSA id 02e5dafd (TLSv1.2:ECDHE-ECDSA-AES256-GCM-SHA384:256:NO) for <9front@9front.org>; Wed, 16 Mar 2022 08:43:20 +0100 (CET) From: sml Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.60.0.1.1\)) Date: Wed, 16 Mar 2022 08:43:23 +0100 References: To: 9front@9front.org In-Reply-To: Message-Id: <983983D5-BCC6-4187-9F01-70C81C81ABE0@firstpost.pub> X-Mailer: Apple Mail (2.3693.60.0.1.1) List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: shared transactional configuration-based DOM interface Subject: Re: [9front] Go: "exec header invalid" Reply-To: 9front@9front.org Precedence: bulk > Am 15.03.2022 um 12:15 schrieb Philip Silva = : >=20 > Actually there's also a 500$ bounty for this >=20 > http://fqa.9front.org/appendixb.html I would like to add 50$ for this. At the moment, I=E2=80=99m trying to understand how plan9/arm is = implemented, to get an idea what needs to be done for plan9/arm64.=20 As far as I understand, /src/syscall/mksysnum_plan9.sh in go is used to = get the information from /src/libc/9syscall/sys.h from plan9, using it = in /src/syscall/zsysnum_plan9.go and at the beginning of = /src/runtime/sys_plan9_arm.s. /src/runtime/defs_plan9_arm.go is the information from = /arm/include/ureg.h with getter and setter functions. But there are files like: /src/runtime/os_plan9_arm.go /src/runtime/rt0_plan9_arm.s /src/runtime/sys_plan9_arm.s (the part below the sysnums) /src/syscall/asm_plan9_arm.s /src/syscall/syscall_plan9.go /src/syscall/zsyscall_plan9_arm.go for which I cannot find the source in the plan9 code. Is there documentation about the go code itself, regarding the machine = dependent parts? And do you know where I can find the plan9 counterparts to some of the = files listed above? Thank you very much in advance! Best regards,=20 sml 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=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 32160 invoked from network); 16 Mar 2022 19:41:22 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 16 Mar 2022 19:41:22 -0000 Received: from balrog.mythic-beasts.com ([46.235.227.24]) by 4ess; Wed Mar 16 15:29:51 -0400 2022 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=quintile.net; s=mythic-beasts-k1; h=To:Date:Subject:From; bh=bPLD4nX48Lnxq+4D2xti806LUZH1XcYXDIDNiiNd73U=; b=Y39YLcjeC2WqQbAgAkQiCyug27 NQYCpyhH/9wM+5ppvNHvgMI6eeDzkJOQvK6tJYK6Gx1p0KEI34L7VrlRPIAk02hplvpTFcuEFcyeR aPSXPXrfvxVBLA5/sN2wz7nrNbNMUZMNs6kigo+ull6bKbo9rrN0AGDTz3Tfiv4abnondNReHun1u x3pw+a4OHWnuQhSUYG1wrEntA2UXVTqwAZXhMiGsar/Itr9JwE272s8Mr/umhsaW4OMUEV1GsMb4Z +HBmzJeQWUcFGfDGp+cOssPW3yBBxTUexa3T+/aQES187v3GT5Lh1UjZLzq+PgysrSGEtDlUL8hyF C0pC5z/Q==; Received: from [81.187.198.132] (port=50722 helo=smtpclient.apple) by balrog.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1nUZL7-0008Va-E5 for 9front@9front.org; Wed, 16 Mar 2022 19:29:49 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Steve Simon Mime-Version: 1.0 (1.0) Date: Wed, 16 Mar 2022 19:29:43 +0000 Message-Id: References: <983983D5-BCC6-4187-9F01-70C81C81ABE0@firstpost.pub> In-Reply-To: <983983D5-BCC6-4187-9F01-70C81C81ABE0@firstpost.pub> To: 9front@9front.org X-Mailer: iPhone Mail (19D52) X-BlackCat-Spam-Score: 4 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: decentralized just-in-time session core layer Subject: Re: [9front] Go: "exec header invalid" Reply-To: 9front@9front.org Precedence: bulk i would ask in gonuts google group, and ask richard miller who did the plan9= arm32 port i believe - they are likely to be able tobhelp. -Steve > On 16 Mar 2022, at 5:07 pm, sml wrote: >=20 > =EF=BB=BF >>=20 >> Am 15.03.2022 um 12:15 schrieb Philip Silva = : >>=20 >> Actually there's also a 500$ bounty for this >>=20 >> http://fqa.9front.org/appendixb.html >=20 > I would like to add 50$ for this. >=20 >=20 > At the moment, I=E2=80=99m trying to understand how plan9/arm is implement= ed, to get an idea what needs to be done for plan9/arm64.=20 >=20 > As far as I understand, /src/syscall/mksysnum_plan9.sh in go is used to g= et the information from /src/libc/9syscall/sys.h from plan9, using it in /sr= c/syscall/zsysnum_plan9.go and at the beginning of /src/runtime/sys_plan9_ar= m.s. >=20 > /src/runtime/defs_plan9_arm.go is the information from /arm/include/ureg.h= with getter and setter functions. >=20 > But there are files like: > /src/runtime/os_plan9_arm.go > /src/runtime/rt0_plan9_arm.s > /src/runtime/sys_plan9_arm.s (the part below the sysnums) > /src/syscall/asm_plan9_arm.s > /src/syscall/syscall_plan9.go > /src/syscall/zsyscall_plan9_arm.go > for which I cannot find the source in the plan9 code. >=20 > Is there documentation about the go code itself, regarding the machine dep= endent parts? >=20 > And do you know where I can find the plan9 counterparts to some of the fil= es listed above? >=20 > Thank you very much in advance! >=20 > Best regards,=20 > sml >=20 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=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8522 invoked from network); 17 Mar 2022 09:08:01 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 17 Mar 2022 09:08:01 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 4ess; Wed Mar 16 11:23:50 -0400 2022 Received: from abbatoir.myfiosgateway.com (pool-74-108-56-225.nycmny.fios.verizon.net [74.108.56.225]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 47ff0367 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Wed, 16 Mar 2022 08:16:45 -0700 (PDT) Message-ID: <8AC8824D6BC53647BD53EA247C485993@eigenstate.org> To: 9front@9front.org Date: Wed, 16 Mar 2022 11:16:44 -0400 From: ori@eigenstate.org In-Reply-To: <983983D5-BCC6-4187-9F01-70C81C81ABE0@firstpost.pub> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: generic ACPI cache pipelining hosting-based high-performance control Subject: Re: [9front] Go: "exec header invalid" Reply-To: 9front@9front.org Precedence: bulk Quoth sml : > > Am 15.03.2022 um 12:15 schrieb Philip Silva : > > > > Actually there's also a 500$ bounty for this > > > > http://fqa.9front.org/appendixb.html > > I would like to add 50$ for this. > > > At the moment, I’m trying to understand how plan9/arm is implemented, to get an idea what needs to be done for plan9/arm64. > > As far as I understand, /src/syscall/mksysnum_plan9.sh in go is used to get the information from /src/libc/9syscall/sys.h from plan9, using it in /src/syscall/zsysnum_plan9.go and at the beginning of /src/runtime/sys_plan9_arm.s. > > /src/runtime/defs_plan9_arm.go is the information from /arm/include/ureg.h with getter and setter functions. There's no direct translation for most of them. > > But there are files like: > src/runtime/os_plan9_arm.go This just looks like it papers over the fact that arm32 has no cycle counter; not sure if arm64 has it -- if it does, we should use it, if not, we should keep this hack. > src/runtime/rt0_plan9_arm.s This code jumps into the runtime, after setting up the arguments in a way that rt0_go expects. Roughly the equivalent of /sys/src/libcarm64/main9.s, though the work is split differently, and go does a lot more. > / src/runtime/sys_plan9_arm.s (the part below the sysnums) this is the glue that the go runtime uses to talk to the OS; a thin abstraction layer over the system calls. > /src/syscall/asm_plan9_arm.s A generic wrapper to do syscalls. Plan 9 has a wrapper per syscall, generated in /sys/src/libc/9syscall/mkfile, go has a generic 'Syscall(num, args...)' func. > /src/syscall/syscall_plan9.go The actual syscall package -- it's not arm specific, so you shouldn't need to touch it. > /src/syscall/zsyscall_plan9_arm.go Looks like generated code, don't see why it'd need to be adjusted, since our types are the same across all archs. > for which I cannot find the source in the plan9 code. > > Is there documentation about the go code itself, regarding the machine dependent parts? Read the code, read the comments, ask quesstions. Not aware of any good docs. 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=0.8 required=5.0 tests=DATE_IN_PAST_12_24, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 8624 invoked from network); 17 Mar 2022 09:08:50 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 17 Mar 2022 09:08:50 -0000 Received: from duke.felloff.net ([216.126.196.34]) by 4ess; Wed Mar 16 13:01:40 -0400 2022 Message-ID: <0AAA796053C8B81FC53DE3A5032171BC@felloff.net> Date: Wed, 16 Mar 2022 18:01:30 +0100 From: cinap_lenrek@felloff.net To: 9front@9front.org In-Reply-To: <8AC8824D6BC53647BD53EA247C485993@eigenstate.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: virtual abstract app hypervisor-aware strategy dependency locator Subject: Re: [9front] Go: "exec header invalid" Reply-To: 9front@9front.org Precedence: bulk use plan9 libc as a reference. it has the assembly for reading the user accessible cycle counter for example. -- cinap