Port-sparc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Build tools error on 10.0_RC2
While building the "tools" target using build.sh on 10.0_RC2 with an
SS5/170 I encountered this fatal error:
dependall ===> gmp
Cleaning stale cache files NetBSD-10.0_RC2-sparc != none
checking build system type... Invalid configuration `turbosparc-unknown-netbsdelf10.0': machine `turbosparc-unknown' not recognized
configure: error: /bin/sh /usr/src/tools/gmp/../../external/lgpl3/gmp/dist/config.sub turbosparc-unknown-netbsdelf10.0 failed
After a little research, I found that external/lgpl3/gmp/dist/config.sub
was missing the "turbosparc" cpu type. After adding it, the build of
tools ran successfully.
===> Tools built to /usr/obj/tooldir.NetBSD-10.0_RC2-sparc
===> build.sh ended: Sun Jan 14 19:28:04 EST 2024
===> Summary of results:
build.sh command: ./build.sh -U -u -O /usr/obj -m sparc tools
build.sh started: Sat Jan 13 14:30:25 EST 2024
NetBSD version: 10.0_RC2
MACHINE: sparc
MACHINE_ARCH: sparc
Build platform: NetBSD 10.0_RC2 sparc
HOST_SH: /bin/sh
MAKECONF file: /etc/mk.conf (File not found)
TOOLDIR path: /usr/obj/tooldir.NetBSD-10.0_RC2-sparc
DESTDIR path: /usr/obj/destdir.sparc
RELEASEDIR path: /usr/obj/releasedir
Updated makewrapper: /usr/obj/tooldir.NetBSD-10.0_RC2-sparc/bin/nbmake-sparc
Tools built to /usr/obj/tooldir.NetBSD-10.0_RC2-sparc
build.sh ended: Sun Jan 14 19:28:04 EST 2024
===> .
this is what I changed:
===================================================================
RCS file: config.sub,v
retrieving revision 1.1
diff -u -r1.1 config.sub
--- config.sub 2024/01/13 19:25:49 1.1
+++ config.sub 2024/01/13 19:26:53
@@ -116,7 +116,7 @@
powerpc801 | powerpc821 | powerpc823 | powerpc860 | \
powerpc64)
test_cpu=powerpc ;;
-sparcv8 | supersparc | microsparc | \
+sparcv8 | supersparc | microsparc | turbosparc | \
ultrasparc | ultrasparc2 | ultrasparc2i | ultrasparc3 | ultrasparct[12345])
test_cpu=sparc ;;
sh2)
Home |
Main Index |
Thread Index |
Old Index