Subject: sgimips current and 2-0 branches won't build
To: None <port-sgimips@netbsd.org>
From: sgimips NetBSD list <sgimips@mrynet.com>
List: port-sgimips
Date: 05/25/2004 09:56:41
As of May 23, both the current and 2-0 branches of NetBSD/sgimips
won't build.  

There isn't an obvious reason, but the failures are at a fixed point
in each tree.

********************************************************************
In the sgimips current(main) branch, it fails as follows:
********************************************************************

--- libkern.a ---
#     build  kern/libkern.a
rm -f libkern.a
/tiny/obj/sgimips-main/tooldir.FreeBSD-4.10-PRERELEASE-i386/bin/mipseb--netbsd-ar cq libkern.a `NM=/tiny/obj/sgimips-main/tooldir.FreeBSD-4.10-PRERELEASE-i386/bin/mipseb--netbsd-nm NM=/tiny/obj/sgimips-main/tooldir.FreeBSD-4.10-PRERELEASE-i386/bin/mipseb--netbsd-nm MKTEMP=/tiny/obj/sgimips-main/tooldir.FreeBSD-4.10-PRERELEASE-i386/bin/nbmktemp /tiny/obj/sgimips-main/tooldir.FreeBSD-4.10-PRERELEASE-i386/bin/nblorder __assert.o bswap64.o memchr.o memcmp.o memset.o random.o scanc.o skpc.o strcat.o strcpy.o strcasecmp.o strncasecmp.o strncmp.o strncpy.o strtoul.o byte_swap_2.o byte_swap_4.o ffs.o memcpy.o memmove.o strlen.o strcmp.o adddi3.o anddi3.o ashldi3.o ashrdi3.o cmpdi2.o divdi3.o iordi3.o lshldi3.o lshrdi3.o moddi3.o muldi3.o negdi2.o notdi2.o qdivrem.o subdi3.o ucmpdi2.o udivdi3.o umoddi3.o xordi3.o __cmsg_alignbytes.o inet_addr.o intoa.o md4c.o md5c.o sha1.o pmatch.o _que.o arc4random.o strstr.o strlcpy.o strlcat.o xlat_mbr_fstype.o strchr.o strrchr.o | /tiny/obj/sgimi!
 ps-main/tooldir.FreeBSD-4.10-PRERELEASE-i386/bin/nbtsort -q`
/tiny/obj/sgimips-main/tooldir.FreeBSD-4.10-PRERELEASE-i386/bin/mipseb--netbsd-ranlib libkern.a
--- ip3xboot ---
--- ip2xboot ---
--- ip3xboot ---
/tiny/obj/sgimips-main/tooldir.FreeBSD-4.10-PRERELEASE-i386/bin/mipseb--netbsd-ld -Map boot.map -x -Ttext 0x80002000 -T /tiny/src/sgimips-main/sys/arch/sgimips/stand/boot/../../../../arch/mips/conf/stand.ldscript  -e start -o ip3xboot start.o boot.o bootinfo.o conf.o devopen.o putchar.o getchar.o getopt.o disk.o vers.o /tiny/obj/sgimips-main/sys/arch/sgimips/stand/boot/lib/sa/libsa.a /tiny/obj/sgimips-main/sys/arch/sgimips/stand/boot/lib/z/libz.a /tiny/obj/sgimips-main/sys/arch/sgimips/stand/boot/lib/sa/libsa.a /tiny/obj/sgimips-main/sys/arch/sgimips/stand/boot/lib/kern/libkern.a
--- ip2xboot ---
/tiny/obj/sgimips-main/tooldir.FreeBSD-4.10-PRERELEASE-i386/bin/mipseb--netbsd-ld -Map boot.map -x -Ttext 0x88002000 -T /tiny/src/sgimips-main/sys/arch/sgimips/stand/boot/../../../../arch/mips/conf/stand.ldscript  -e start -o ip2xboot start.o boot.o bootinfo.o conf.o devopen.o putchar.o getchar.o getopt.o disk.o vers.o /tiny/obj/sgimips-main/sys/arch/sgimips/stand/boot/lib/sa/libsa.a /tiny/obj/sgimips-main/sys/arch/sgimips/stand/boot/lib/z/libz.a /tiny/obj/sgimips-main/sys/arch/sgimips/stand/boot/lib/sa/libsa.a /tiny/obj/sgimips-main/sys/arch/sgimips/stand/boot/lib/kern/libkern.a
   text    data     bss     dec     hex filename
  43144    3568     408   47120    b810 ip2xboot
--- ip3xboot ---
   text    data     bss     dec     hex filename
  43144    3568     408   47120    b810 ip3xboot
--- aoutboot ---
/tiny/obj/sgimips-main/tooldir.FreeBSD-4.10-PRERELEASE-i386/bin/nbmips-elf2ecoff ip2xboot aoutboot
--- dependall ---
--- dependall ---
--- dependall ---
1 error

nbmake: stopped in /tiny/src/sgimips-main/sys

*** Failed target:  dependall-sys
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/tiny/src/sgimips-main" ;; *) this="${dir}/"; real="/tiny/src/sgimips-main/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /tiny/obj/sgimips-main/tooldir.FreeBSD-4.10-PRERELEASE-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget sys dependall
*** Error code 2

********************************************************************
In the 2-0 branch, the failure is as follows:
********************************************************************

--- lfs_syscalls.o ---
#   compile  lfs/lfs_syscalls.o
/tiny/obj/sgimips-2-0/tooldir.FreeBSD-5.2-CURRENT-i386/bin/mipseb--netbsd-gcc -O2 -ffreestanding -DLFS -Dufs_mkdir=lfs_ufs_mkdir -Dufs_makeinode=lfs_ufs_makeinode  -Dufs_strategy=lfs_ufs_strategy -Dufs_whiteout=lfs_ufs_whiteout  -Dufs_link=lfs_ufs_link -Dufs_rename=lfs_ufs_rename -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized  -Werror  -G 0 -mno-abicalls -mlong-calls  -nostdinc -I. -I/tiny/src/sgimips-2-0/sys/lkm/vfs/ufs/lfs -isystem /tiny/src/sgimips-2-0/sys -isystem /tiny/src/sgimips-2-0/sys/arch -D_KERNEL -D_LKM  -c    /tiny/src/sgimips-2-0/sys/ufs/lfs/lfs_syscalls.c
--- ufs_vnops.o ---
#   compile  lfs/ufs_vnops.o
/tiny/obj/sgimips-2-0/tooldir.FreeBSD-5.2-CURRENT-i386/bin/mipseb--netbsd-gcc -O2 -ffreestanding -DLFS -Dufs_mkdir=lfs_ufs_mkdir -Dufs_makeinode=lfs_ufs_makeinode  -Dufs_strategy=lfs_ufs_strategy -Dufs_whiteout=lfs_ufs_whiteout  -Dufs_link=lfs_ufs_link -Dufs_rename=lfs_ufs_rename -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wno-uninitialized  -Werror  -G 0 -mno-abicalls -mlong-calls  -nostdinc -I. -I/tiny/src/sgimips-2-0/sys/lkm/vfs/ufs/lfs -isystem /tiny/src/sgimips-2-0/sys -isystem /tiny/src/sgimips-2-0/sys/arch -D_KERNEL -D_LKM  -c    /tiny/src/sgimips-2-0/sys/ufs/ufs/ufs_vnops.c
--- lfs.o ---
/tiny/obj/sgimips-2-0/tooldir.FreeBSD-5.2-CURRENT-i386/bin/mipseb--netbsd-ld -r  -o tmp.o lkminit_vfs.o lfs_vfsops.o lfs_vnops.o lfs_subr.o lfs_alloc.o lfs_balloc.o lfs_bio.o lfs_cksum.o lfs_debug.o lfs_inode.o lfs_segment.o lfs_syscalls.o ufs_vnops.o
mv tmp.o lfs.o
--- dependall ---
--- dependall ---
1 error

nbmake: stopped in /tiny/src/sgimips-2-0/sys/lkm
*** [dependall-lkm] Error code 2
1 error

nbmake: stopped in /tiny/src/sgimips-2-0/sys

*** Failed target:  dependall-sys
*** Failed command: targ=dependall;dir=sys; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /tiny/obj/sgimips-2-0/tooldir.FreeBSD-5.2-CURRENT-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd "/tiny/src/sgimips-2-0/$dir"; /tiny/obj/sgimips-2-0/tooldir.FreeBSD-5.2-CURRENT-i386/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 2

Ideas?

-scott