Subject: port-macppc/22389: macppc current build failure
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jbernard@mines.edu>
List: netbsd-bugs
Date: 08/06/2003 19:50:34
>Number:         22389
>Category:       port-macppc
>Synopsis:       Cross build of macppc on i386 fails in gnu/usr.bin/sim/ppc
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 07 01:51:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jim Bernard
>Release:        NetBSD 1.6Q
>Organization:
>Environment:
System: NetBSD roc 1.6Q NetBSD 1.6Q (ROC-$Revision: 1.39 $) #0: Sun Apr 20 20:31:02 MDT 2003 jim@roc:/wd1/var/tmp/compile/sys/arch/i386/compile/ROC i386
Architecture: i386
Machine: i386
>Description:
	Building for macppc on i386.  Sources updated
	Wed Aug  6 09:25:29 UTC 2003 via CVS.  But a similar failure has been
	occurring daily since at least last Saturday.  Both DESTDIR and the
	source tree were pristine (source union mounted below an empty 
	directory in which the build was done).  Built via the command:
 
	  ./build.sh -D $DESTDIR -R $RELEASEDIR -m macppc -o -T /usr/tools release
    
	Here's the end of the build log:

dependall ===> gnu/usr.bin/sim/ppc
rm -f targ-vals.def tmp-def
cat /wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc/../common/nltvals.def > tmp-vals.def
sh /wd1/var/tmp/compile/gnu/dist/toolchain/move-if-change tmp-vals.def targ-vals.def
cc -O  -I/wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc -I/wd1/var/tmp/compile/gnu/dist/toolchain/include  -I/wd1/var/tmp/compile/gnu/dist/toolchain/bfd -I../../gdb  -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb   -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb/config  -I/wd1/var/tmp/compile/gnu/dist/toolchain/mmalloc  -I/wd1/var/tmp/compile/gnu/usr.bin/sim/ppc/../arch/powerpc  -I/wd1/var/tmp/compile/gnu/usr.bin/gdb/arch/powerpc  -I/wd1/var/tmp/compile/gnu/lib/libbfd/arch/powerpc -I. -c -o gentmap.lo /wd1/var/tmp/compile/gnu/dist/toolchain/sim/common/gentmap.c
cc -O  -I/wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc -I/wd1/var/tmp/compile/gnu/dist/toolchain/include  -I/wd1/var/tmp/compile/gnu/dist/toolchain/bfd -I../../gdb  -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb   -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb/config  -I/wd1/var/tmp/compile/gnu/dist/toolchain/mmalloc  -I/wd1/var/tmp/compile/gnu/usr.bin/sim/ppc/../arch/powerpc  -I/wd1/var/tmp/compile/gnu/usr.bin/gdb/arch/powerpc  -I/wd1/var/tmp/compile/gnu/lib/libbfd/arch/powerpc -I.  gentmap.lo -o gentmap
rm -f tmp-vals.h
./gentmap -h > tmp-vals.h
sh /wd1/var/tmp/compile/gnu/dist/toolchain/move-if-change tmp-vals.h targ-vals.h
/usr/tools/bin/powerpc--netbsd-gcc -O2  -Werror     -nostdinc -isystem /scratch/netbsd/builds/macppc/netbsd-macppc-20030806/usr/include  -I/wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc -I/wd1/var/tmp/compile/gnu/dist/toolchain/include  -I/wd1/var/tmp/compile/gnu/dist/toolchain/bfd -I../../gdb  -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb   -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb/config  -I/wd1/var/tmp/compile/gnu/dist/toolchain/mmalloc  -I/wd1/var/tmp/compile/gnu/usr.bin/sim/ppc/../arch/powerpc  -I/wd1/var/tmp/compile/gnu/usr.bin/gdb/arch/powerpc  -I/wd1/var/tmp/compile/gnu/lib/libbfd/arch/powerpc -I. -DHAVE_CONFIG_H  -DDEFAULT_INLINE=INLINE_LOCALS  -DWITH_HOST_BYTE_ORDER=BYTE_ORDER  -DWITH_SMP=5  -DHAVE_TERMIOS_STRUCTURE  -DHAVE_DEVZERO -c    /wd1/var/tmp/compile/gnu/dist/toolchain/sim/common/callback.c -o callback.o.tmp
/usr/tools/bin/powerpc--netbsd-ld -x -r callback.o.tmp -o callback.o
rm -f callback.o.tmp
cp /wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc/std-config.h ppc-config.h
/usr/tools/bin/powerpc--netbsd-gcc -O2  -Werror     -nostdinc -isystem /scratch/netbsd/builds/macppc/netbsd-macppc-20030806/usr/include  -I/wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc -I/wd1/var/tmp/compile/gnu/dist/toolchain/include  -I/wd1/var/tmp/compile/gnu/dist/toolchain/bfd -I../../gdb  -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb   -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb/config  -I/wd1/var/tmp/compile/gnu/dist/toolchain/mmalloc  -I/wd1/var/tmp/compile/gnu/usr.bin/sim/ppc/../arch/powerpc  -I/wd1/var/tmp/compile/gnu/usr.bin/gdb/arch/powerpc  -I/wd1/var/tmp/compile/gnu/lib/libbfd/arch/powerpc -I. -DHAVE_CONFIG_H  -DDEFAULT_INLINE=INLINE_LOCALS  -DWITH_HOST_BYTE_ORDER=BYTE_ORDER  -DWITH_SMP=5  -DHAVE_TERMIOS_STRUCTURE  -DHAVE_DEVZERO -c    /wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc/filter_filename.c -o filter_filename.o.tmp
/usr/tools/bin/powerpc--netbsd-ld -x -r filter_filename.o.tmp -o filter_filename.o
rm -f filter_filename.o.tmp
CC=/usr/tools/bin/powerpc--netbsd-gcc /usr/tools/bin/nbmkdep -f bits.d     -nostdinc -isystem /scratch/netbsd/builds/macppc/netbsd-macppc-20030806/usr/include  -I/wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc -I/wd1/var/tmp/compile/gnu/dist/toolchain/include  -I/wd1/var/tmp/compile/gnu/dist/toolchain/bfd -I../../gdb  -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb   -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb/config  -I/wd1/var/tmp/compile/gnu/dist/toolchain/mmalloc  -I/wd1/var/tmp/compile/gnu/usr.bin/sim/ppc/../arch/powerpc  -I/wd1/var/tmp/compile/gnu/usr.bin/gdb/arch/powerpc  -I/wd1/var/tmp/compile/gnu/lib/libbfd/arch/powerpc -I. -DHAVE_CONFIG_H  -DDEFAULT_INLINE=INLINE_LOCALS  -DWITH_HOST_BYTE_ORDER=BYTE_ORDER  -DWITH_SMP=5  -DHAVE_TERMIOS_STRUCTURE  -DHAVE_DEVZERO   /wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc/bits.c
CC=/usr/tools/bin/powerpc--netbsd-gcc /usr/tools/bin/nbmkdep -f cap.d     -nostdinc -isystem /scratch/netbsd/builds/macppc/netbsd-macppc-20030806/usr/include  -I/wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc -I/wd1/var/tmp/compile/gnu/dist/toolchain/include  -I/wd1/var/tmp/compile/gnu/dist/toolchain/bfd -I../../gdb  -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb   -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb/config  -I/wd1/var/tmp/compile/gnu/dist/toolchain/mmalloc  -I/wd1/var/tmp/compile/gnu/usr.bin/sim/ppc/../arch/powerpc  -I/wd1/var/tmp/compile/gnu/usr.bin/gdb/arch/powerpc  -I/wd1/var/tmp/compile/gnu/lib/libbfd/arch/powerpc -I. -DHAVE_CONFIG_H  -DDEFAULT_INLINE=INLINE_LOCALS  -DWITH_HOST_BYTE_ORDER=BYTE_ORDER  -DWITH_SMP=5  -DHAVE_TERMIOS_STRUCTURE  -DHAVE_DEVZERO   /wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc/cap.c
CC=/usr/tools/bin/powerpc--netbsd-gcc /usr/tools/bin/nbmkdep -f corefile.d     -nostdinc -isystem /scratch/netbsd/builds/macppc/netbsd-macppc-20030806/usr/include  -I/wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc -I/wd1/var/tmp/compile/gnu/dist/toolchain/include  -I/wd1/var/tmp/compile/gnu/dist/toolchain/bfd -I../../gdb  -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb   -I/wd1/var/tmp/compile/gnu/dist/toolchain/gdb/config  -I/wd1/var/tmp/compile/gnu/dist/toolchain/mmalloc  -I/wd1/var/tmp/compile/gnu/usr.bin/sim/ppc/../arch/powerpc  -I/wd1/var/tmp/compile/gnu/usr.bin/gdb/arch/powerpc  -I/wd1/var/tmp/compile/gnu/lib/libbfd/arch/powerpc -I. -DHAVE_CONFIG_H  -DDEFAULT_INLINE=INLINE_LOCALS  -DWITH_HOST_BYTE_ORDER=BYTE_ORDER  -DWITH_SMP=5  -DHAVE_TERMIOS_STRUCTURE  -DHAVE_DEVZERO   /wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc/corefile.c
In file included from /wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc/corefile.c:26:
/wd1/var/tmp/compile/gnu/dist/toolchain/sim/ppc/device_table.h:300: hw.h: No such file or directory
nbmkdep: compile failed.
*** Error code 1

Stop.
nbmake: stopped in /wd1/var/tmp/compile/gnu/usr.bin/sim/ppc
*** Error code 1

Stop.
nbmake: stopped in /wd1/var/tmp/compile/gnu/usr.bin/sim
*** Error code 1

Stop.
nbmake: stopped in /wd1/var/tmp/compile/gnu/usr.bin
*** Error code 1

Stop.
nbmake: stopped in /wd1/var/tmp/compile/gnu
*** Error code 1

Stop.
nbmake: stopped in /wd1/var/tmp/compile
*** Error code 1

Stop.
nbmake: stopped in /wd1/var/tmp/compile
*** Error code 1

Stop.
nbmake: stopped in /wd1/var/tmp/compile
*** Error code 1

Stop.
nbmake: stopped in /wd1/var/tmp/compile

ERROR: Failed to make release
*** BUILD ABORTED ***

>How-To-Repeat:
	See description.

>Fix:
	Unknown.
>Release-Note:
>Audit-Trail:
>Unformatted: