Port-m68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD-current on Quadra 610



I wrote:

> martin@ wrote:
> 
> > Looking for a hero to rewrite pmap for >= 68040 and add a third level ;-)
> 
> Ok, ok, I'll upgrade my TT030 to netbsd-7 with gcc48 and
> try to run atf on it this weekend..

Now I get the following error:

---
% cvs -d anoncvs.netbsd.org:/cvsroot checkout -rnetbsd-7 src xsrc
 :

% cd src
% env HAVE_GCC=48 sh build.sh -m atari -U -j4 -x -X ../xsrc release

 :
--- vax.o ---
#   compile  installboot/vax.o
/r/work/netbsd-7/src/obj.atari/tooldir.NetBSD-6.1.5-i386/bin/m68k--netbsdelf-gcc -O2 -fno-reorder-blocks    -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wno-traditional  -Wa,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsign-compare -Wformat=2  -Wno-format-zero-length  -Wno-uninitialized -Wno-maybe-uninitialized -Werror    --sysroot=/r/work/netbsd-7/src/obj.atari/destdir.atari -I/r/work/netbsd-7/src/usr.sbin/installboot -I.  -c    /r/work/netbsd-7/src/usr.sbin/installboot/arch/vax.c
/r/work/netbsd-7/src/usr.sbin/installboot/arch/vax.c: In function 'vax_setboot':
/r/work/netbsd-7/src/usr.sbin/installboot/arch/vax.c:216:8: error: array subscript is above array bounds [-Werror=array-bounds]
  memcpy(bootstrapbuf+LABELOFFSET,
        ^
cc1: all warnings being treated as errors
*** [vax.o] Error code 1
nbmake[7]: stopped in /r/work/netbsd-7/src/usr.sbin/installboot
1 error
nbmake[7]: stopped in /r/work/netbsd-7/src/usr.sbin/installboot
*** [dependall] Error code 2
nbmake[6]: stopped in /r/work/netbsd-7/src/usr.sbin/installboot
1 error
nbmake[6]: stopped in /r/work/netbsd-7/src/usr.sbin/installboot
*** [dependall-installboot] Error code 2
nbmake[5]: stopped in /r/work/netbsd-7/src/usr.sbin
1 error
nbmake[5]: stopped in /r/work/netbsd-7/src/usr.sbin
*** [dependall-usr.sbin] Error code 2
nbmake[4]: stopped in /r/work/netbsd-7/src

 :

(the host is NetBSD/i386 6.1.5)
---

Does any one see this error on netbsd-7 or HEAD?
(note the variable "bootstrapbuf" in vax.c is not an array but a pointer)

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index