9front - general discussion about 9front
 help / color / mirror / Atom feed
From: "Sigrid Solveig Haflínudóttir" <sigrid@ftrv.se>
To: 9front@9front.org
Subject: [9front] arm64 possible breakage after sysupdate
Date: Fri, 15 Sep 2023 00:38:10 +0200	[thread overview]
Message-ID: <FA8EE41FFB28B8FDF674D47F1D24CCFE@ftrv.se> (raw)

Hello.  With a few recent changes in arm64 compiler and linker it's of
high importance to rebuild /sys/src after sysupdate in the *correct*
manner, in order to make sure the updated linker is installed before
the compiler:

	sysupdate
	cd /sys/src/cmd/7l
	mk install
	# consider yourself PITA-free

*If* you get shit like this:

	pipe: unknown relation: TBZ
	execve: unknown relation: TBZ
	execve: unknown relation: TBZ
	execve: unknown relation: TBZ
	diff_dirs: unknown relation: TBNZ
	format_group: unknown relation: TBZ
	format_group: unknown relation: TBZ
	re_search_2: unknown relation: TBZ
	main: unknown relation: TBNZ
	pipe: unknown relation: TBZ
	execve: unknown relation: TBZ
	execve: unknown relation: TBZ
	execve: unknown relation: TBZ

pick the older 7c from the [9fs dump] and put it in /arm64/bin/7c,
then proceed with the recommended steps after sysupdate.  In case you
used hjfs with zero dumps or (worse) were stupid enough to completely
disable dumps with cwfs, feel free to get the fresh linker:

	hget https://ftrv.se/_/7l > /tmp/7l
	md5sum /arm64/bin/7l # → 1b9d6aa2092be60af7d3f5c856adc112
	cat /tmp/7l > /arm64/bin/7l

I apologize for the hassle, if any. Also no refunds.

                 reply	other threads:[~2023-09-14 22:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FA8EE41FFB28B8FDF674D47F1D24CCFE@ftrv.se \
    --to=sigrid@ftrv.se \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).