OK, just in case I'm missing something ... a.) installed the NETBSD-10.0-BETA-vax from last night ... b.) a "./build.sh -O ../obj -T ../tools -U kernel=GENERIC" should work out of the box? but I see, that the "BETA" still uses the gcc-10.4?
I didn't build the tools. If I were trying that, I'd probably ulimit / unlimit, too.
I did the old "cd /usr/src/sys/arch/vax/conf/ && config GENERIC && cd ../compile/GENERIC && make depend && make"
Yes, NetBSD 10 and current are still on gcc 10.4.0, but some good fixes are already in tree.
John