"Cookbooked" the procedure from openbsd.org/faq/upgrade42.html.
'rm -Rf' for /usr/src/* /usr/obj/*
Downloaded all .tgz files from the 4.2/amd64 folder on ftp.openbsd.org
Ran the 'tar -C / -xzphf' command on everything except etc42.tgz as directed.
Installed the bsd.mp kernel. Updated /etc by extracting to /tmp and merging
the files manually as recommended.
Rebooted and CVS'd the 4.2 stable branch with 'cvs -q get -r OPENBSD_4_2 -P
src'.
Made the objects links and started the 'make build'
I get the following build crash:
PATH="/bin:/usr/bin:/sbin:/usr/sbin" INSTALL_PROGRAM="install -c -s" CC="cc"
CXX="c++" CFLAGS="-O2 '-pipe' " CXXFLAGS="-O2 '-pipe' " /bin/sh
/usr/src/gnu/lib/libstdc++/libstdc++/configure --prefix=/usr --disable-nls
--enable-shared --disable-multilib --with-gnu-ld
--with-gxx-include-dir=/usr/include/g++ && touch config.status
creating cache ./config.cache
checking host system type... x86_64-unknown-openbsd4.2
checking target system type... x86_64-unknown-openbsd4.2
checking build system type... x86_64-unknown-openbsd4.2
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether ln -s works... yes
checking for gcc... cc
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for c++... c++
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for GCC version number... 3.3.5
checking for strerror in -lcposix... no
checking for as... as
checking for ar... ar
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
CPU config directory is cpu/i486
OS config directory is os/bsd/openbsd
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... unknown
checking for object suffix... configure: error: installation or configuration
problem; compiler does not work
*** Error code 1
Stop in /usr/src/gnu/lib/libstdc++ (line 59 of
/usr/src/gnu/lib/libstdc++/Makefile.bsd-wrapper).
*** Error code 1
Stop in /usr/src/include (line 82 of Makefile).
*** Error code 1
Stop in /usr/src (line 73 of Makefile).
I know I had to have missed something, I'm just not sure what...
Thanks.