Subject: building netbsd-3 on current fails
To: None <current-users@netbsd.org>
From: Greg Troxel <gdt@ir.bbn.com>
List: current-users
Date: 08/10/2006 09:21:03
--=-=-=
Content-Transfer-Encoding: quoted-printable


I have a system running current:

NetBSD fnord.ir.bbn.com 3.99.23 NetBSD 3.99.23 (GENERIC) #4: Mon Jul 24 08:=
03:44 EDT 2006  gdt@fnord.ir.bbn.com:/n0/obj/auto-current/i386/sys/arch/i38=
6/compile/GENERIC i386

with

Using built-in specs.
Target: i386--netbsdelf
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-=
long-long --disable-multilib --enable-threads --disable-symvers --build=3Di=
386-unknown-netbsdelf3.99.17 --host=3Di386--netbsdelf --target=3Di386--netb=
sdelf
Thread model: posix
gcc version 4.1.2 20060628 prerelease (NetBSD nb2 20060711)


and I'm trying to build netbsd-3 (to test msdos mounting changes).
It looks like one can't use gcc 4 with netbsd-3?  Is there anything to
do other than build in a chroot or on a netbsd-3 box?





/usr/obj/auto-3/tools/bin/nbmake  -f /n0/gdt/NetBSD-3/src/tools/binutils/..=
/Makefile.gnuwrap  all-recursive
Making all in doc
NOT REBUILDING asconfig.texi
NOT REBUILDING /n0/gdt/NetBSD-3/src/tools/binutils/../../gnu/dist/binutils/=
gas/doc/gasver.texi
NOT REBUILDING /n0/gdt/NetBSD-3/src/tools/binutils/../../gnu/dist/binutils/=
gas/doc/as.1
Making all in po
cc -DHAVE_CONFIG_H -I. -I/n0/gdt/NetBSD-3/src/tools/binutils/../../gnu/dist=
/binutils/gas -I. -D_GNU_SOURCE -I. -I/n0/gdt/NetBSD-3/src/tools/binutils/.=
./../gnu/dist/binutils/gas -I../bfd -I/n0/gdt/NetBSD-3/src/tools/binutils/.=
./../gnu/dist/binutils/gas/config -I/n0/gdt/NetBSD-3/src/tools/binutils/../=
../gnu/dist/binutils/gas/../include -I/n0/gdt/NetBSD-3/src/tools/binutils/.=
./../gnu/dist/binutils/gas/.. -I/n0/gdt/NetBSD-3/src/tools/binutils/../../g=
nu/dist/binutils/gas/../bfd -I/n0/gdt/NetBSD-3/src/tools/binutils/../../gnu=
/dist/binutils/gas/../intl -I../intl -DLOCALEDIR=3D"\"/usr/obj/auto-3/tools=
/share/locale\""    -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O -c=
 /n0/gdt/NetBSD-3/src/tools/binutils/../../gnu/dist/binutils/gas/app.c
In file included from /n0/gdt/NetBSD-3/src/tools/binutils/../../gnu/dist/bi=
nutils/gas/as.h:94,
                 from /n0/gdt/NetBSD-3/src/tools/binutils/../../gnu/dist/bi=
nutils/gas/app.c:30:
/n0/gdt/NetBSD-3/src/tools/binutils/../../gnu/dist/binutils/gas/../include/=
getopt.h:116: warning: function declaration isn't a prototype
In file included from ./targ-cpu.h:1,
                 from /n0/gdt/NetBSD-3/src/tools/binutils/../../gnu/dist/bi=
nutils/gas/config/obj-elf.h:42,
                 from ./obj-format.h:1,
                 from /n0/gdt/NetBSD-3/src/tools/binutils/../../gnu/dist/bi=
nutils/gas/config/te-nbsd.h:24,
                 from ./targ-env.h:1,
                 from /n0/gdt/NetBSD-3/src/tools/binutils/../../gnu/dist/bi=
nutils/gas/as.h:626,
                 from /n0/gdt/NetBSD-3/src/tools/binutils/../../gnu/dist/bi=
nutils/gas/app.c:30:
/n0/gdt/NetBSD-3/src/tools/binutils/../../gnu/dist/binutils/gas/config/tc-i=
386.h:451: error: array type has incomplete element type

*** Failed target:  app.o
*** Failed command: cc -DHAVE_CONFIG_H -I. -I/n0/gdt/NetBSD-3/src/tools/bin=
utils/../../gnu/dist/binutils/gas -I. -D_GNU_SOURCE -I. -I/n0/gdt/NetBSD-3/=
src/tools/binutils/../../gnu/dist/binutils/gas -I../bfd -I/n0/gdt/NetBSD-3/=
src/tools/binutils/../../gnu/dist/binutils/gas/config -I/n0/gdt/NetBSD-3/sr=
c/tools/binutils/../../gnu/dist/binutils/gas/../include -I/n0/gdt/NetBSD-3/=
src/tools/binutils/../../gnu/dist/binutils/gas/.. -I/n0/gdt/NetBSD-3/src/to=
ols/binutils/../../gnu/dist/binutils/gas/../bfd -I/n0/gdt/NetBSD-3/src/tool=
s/binutils/../../gnu/dist/binutils/gas/../intl -I../intl -DLOCALEDIR=3D"\"/=
usr/obj/auto-3/tools/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing=
-prototypes -O -c /n0/gdt/NetBSD-3/src/tools/binutils/../../gnu/dist/binuti=
ls/gas/app.c
*** Error code 1

Stop.
nbmake: stopped in /n0/obj/auto-3/i386/tools/binutils/build/gas



=2D-=20
    Greg Troxel <gdt@ir.bbn.com>

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFE2zLJ+vesoDJhHiURAo/GAJ0TcaqOb+lT5A8W3/VapQoS6s7IsACfRcAF
Rjfw+E6bTjtNMXIR0a6NnsI=
=D1ul
-----END PGP SIGNATURE-----
--=-=-=--