Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Apr 2023 00:32:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 258358] Fails to build on riscv: arm_bf16.h: sh: clang-tblgen: Exec format error
Message-ID:  <bug-258358-29464-Nyb01HgTqb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258358-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258358-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258358

--- Comment #19 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Robert Clausecker from comment #18)

https://docs.freebsd.org/en/articles/committers-guide/#archs
reports for tier 2:

QUOTE
Tier 2 platforms should be self-hosting either via the in-tree toolchain or=
 an
external toolchain. If an external toolchain is required, official binary
packages for an external toolchain will be provided.
END QUOTE

riscv64, riscv64sf are listed as tier 2 for 13.x and later on
https://www.freebsd.org/platforms/ . (There are notes around for
riscv64sf possibly being dropped.)

As for my cross builds/installs notes . . .

Definitely true that I have not been through all the steps
for cross builds/installs in some time. Do not take the
below as an overall claim that there would not be problems.

Having poor access to the media would be a pain for sure.
Nothing here deals with that.

As I remember, some activities like etcupdate (these days)
work from the builder/installer machine when done
appropriately (referencing the propriate source tree, told
the architecture, and target's mount and the like). For
example, etcupdate has:

     -M options     Pass options as additional parameters to make(1) when
                    building a =E2=80=9Ccurrent=E2=80=9D tree.  This can be=
 used for to set
                    the TARGET or TARGET_ARCH variables for a cross-build.

(not just the likes of -s and -D and -d for where to get
or put information).

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258358-29464-Nyb01HgTqb>