Subject: Re: First attempt at a VAX -current build
To: Matt Thomas <matt@3am-software.com>
From: Brian Chase <vaxzilla@jarai.org>
List: port-vax
Date: 12/08/2003 22:32:32
On Mon, 8 Dec 2003, Matt Thomas wrote:

> For what it's worth, I've made the changes needed so that you can do a
> build with GCC 3.3.2.  Since GCC 3.3.2 doesn't have support for producing
> PIC code, the system will built and linked entirely static.  This causes a
> huge increase in program size.  As I expected, GCC 3.3.2 has major problems
> generating valid VAX code.
>
> If you want, you can do a GCC3 build for VAX but you won't have working
> programs.  To do this, you use these options with build.sh:
>
> 	 -V HAVE_GCC3=yes -V CHECKFLIST_FLAGS=-m


Thanks.  :-)  But I think you make have slightly broken something in the
process:

cleandir ===> sys/arch/vax/boot/xxboot
nbmake: "/u0/work/netbsd-current/src/sys/arch/vax/boot/xxboot/../Makefile.inc" line 10: Malformed conditional (${HAVE_GCC3} == "no")
nbmake: "/u0/work/netbsd-current/src/sys/arch/vax/boot/xxboot/../Makefile.inc" line 10: Need an operator
nbmake: "/u0/work/netbsd-current/src/share/mk/bsd.prog.mk" line 292: if-less endif
nbmake: "/u0/work/netbsd-current/src/share/mk/bsd.prog.mk" line 292: Need an operator
nbmake: Fatal errors encountered -- cannot continue

nbmake: stopped in /u0/work/netbsd-current/src/sys/arch/vax/boot/xxboot

*** Failed target:  cleandir-xxboot
*** Failed command: targ=cleandir;dir=xxboot; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /u0/work/netbsd-current/src/obj/tooldir.NetBSD-1.6ZG-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> sys/arch/vax/boot/$dir"; cd "/u0/work/netbsd-current/src/sys/arch/vax/boot/$dir"; /u0/work/netbsd-current/src/obj/tooldir.NetBSD-1.6ZG-i386/bin/nbmake "_THISDIR_=sys/arch/vax/boot/$dir/" $targ; ;; esac
*** Error code 1

Stop.


-brian.