Hi,
On Tue, 2026-11-03 06:29:42 -0500, Greg Troxel <gdt%lexort.com@localhost> wrote:
[...]
> There are a bunch of requirements for host tools to run the cross build.
>
> I would wonder if you have a super-new gcc, but this sounds like Ubuntu
> LTS, not yesterday's Arch.
I cannot say much about the most recent NetBSD release(s), but
-current will build happily using CC=/usr/lib/gcc-snapshot/bin/gcc and
CXX=/usr/lib/gcc-snapshot/bin/g++ (identifying as "gcc (Debian
20261020-1) 17.0.0 20261020 (experimental) [trunk
r17-5409-g5a4f77eb6af]").
For sources that are a bit older, requirements might be different.
Just for reference, this is basically what I use for building on
Linux:
B=/home/jenkins/workspace/netbsd-vax-vax <-- Workdir during CI build.
SRC="${B}/NetBSD-src" <-- contains "src" repo
XSRC="${B}/NetBSD-xsrc" <-- contains "xsrc" repo
TOOLDIR="${B}/__tools__"
DESTDIR="${B}/__dest__"
RELDIR="${B}/__release__"
./build.sh -N 3 -X "${XSRC}" -x -P -U -u -m vax -a vax -E -D "${DESTDIR}" -R "${RELDIR}" -T "${TOOLDIR}" tools
./build.sh -N 3 -X "${XSRC}" -x -P -U -u -m vax -a vax -E -D "${DESTDIR}" -R "${RELDIR}" -T "${TOOLDIR}" libs
./build.sh -N 3 -X "${XSRC}" -x -P -U -u -m vax -a vax -E -D "${DESTDIR}" -R "${RELDIR}" -T "${TOOLDIR}" release
./build.sh -N 3 -X "${XSRC}" -x -P -U -u -m vax -a vax -E -D "${DESTDIR}" -R "${RELDIR}" -T "${TOOLDIR}" iso-image
./build.sh -N 3 -X "${XSRC}" -x -P -U -u -m vax -a vax -E -D "${DESTDIR}" -R "${RELDIR}" -T "${TOOLDIR}" install-image
./build.sh -N 3 -X "${XSRC}" -x -P -U -u -m vax -a vax -E -D "${DESTDIR}" -R "${RELDIR}" -T "${TOOLDIR}" live-image
(To build without X11, drop both the -X and -x options.)
Maybe that'll generade enough output to pin your issue.
MfG, JBG
--
Attachment:
signature.asc
Description: PGP signature