Subject: panic during cross-build macppc-alpha (long)
To: None <current-users@netbsd.org>
From: Michael G. Schabert <mikeride@mac.com>
List: current-users
Date: 01/09/2004 00:46:30
Host machine:
PowerMac 7300, 256MB RAM
NetBSD powermac 1.6T NetBSD 1.6T (prez) #1: Tue Jun  3 19:08:03 UTC 
2003  root@p
owermac:/usr/obj/sys/arch/macppc/compile/prez macppc

Host is netbooted, ofwboot.xcf and netbsd kernel gotten from DEC 
Alpha, root local on sd0a, swap local on sd0b.

DEC Alpha also nfs hosts /usr/src, /usr/destdir-alpha, 
/usr/release-alpha & /usr/obj-alpha

Alpha is running 1.6Z

Used script to log output:

===> build.sh command: ./build.sh -m alpha -D /usr/destdir-alpha -R 
/usr/release
-alpha -O /usr/obj-alpha -j 5 release


powermac# grep === buildoutput-1-8-2004.txt | tail -n 15
dependall ===> lorder
dependall ===> m4
dependall ===> makewhatis
dependall ===> mkdep
dependall ===> mtree
dependall ===> rpcgen
dependall ===> tsort
dependall ===> uudecode
dependall ===> texinfo
install ===> texinfo
dependall ===> yacc
install ===> yacc
dependall ===> lex
install ===> lex
dependall ===> binutils


powermac# tail -n 15 buildoutput-1-8-2004.txt
                  from 
/usr/src/tools/binutils/../../gnu/dist/binutils/gas/config
/obj-elf.c:23:
/usr/src/tools/binutils/../../gnu/dist/binutils/gas/../include/getopt.h:116: 
war
ning: function declaration isn't a prototype
cc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O -o size size.o bucomm.o
version.o filemode.o  ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
bucomm.o: In function `make_tempname':
bucomm.o(.text+0xe24): warning: mktemp() possibly used unsafely, use 
mkstemp() o
r mkdtemp()
--- strings ---
/bin/sh ./libtool --mode=link cc -W -Wall -Wstrict-prototypes 
-Wmissing-prototyp
es -O  -o strings  strings.o bucomm.o version.o  filemode.o 
../bfd/libbfd.la ../
libiberty/libiberty.a
--- addr2line ---
/bin/sh ./libtool --mode=link cc -W -Wall -Wstrict-prototypes 
-Wmissing-prototyp
es -O  -o addr2line  addr2line.o budemang.o  bucomm.o version.o 
filemode.o ../bf
d/libbfd.la ../libiberty/libiberty.a
--- nm-new ---
/bin/sh ./libtool --mode=link cc -W -Wall -Wstrict-prototypes 
-Wmissing-prototyp
es -O  -o nm-new  nm.o budemang.o bucomm.o  version.o filemode.o 
../bfd/libbfd.l
a ../libiberty/libiberty.a
--- strings ---
cc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O -o strings 
strings.o buc
omm.o version.o filemode.o  ../bfd/.libs/libbfd.a ../libiberty/libiberty.a
bucomm.o: In function `make_tempname':
bucomm.o(.text+0xe24): warning: mktemp() possibly used unsafely, use 
mkstemp() o
r mkdtemp()


Just below that on the screen was (hand-copied):
trap: kernel read DSI trap @ 0xd3025c54 by 0x304fb8 (DSISR 0x40000000, err=14)
panic: trap
Stopped in pid 15682.1 (cc1) at netbsd:cpu_Debugger+0x10:   lwz	 r0, r1, 0
x14
db>trace
db>t
db>bt
db>c
syncing disks... (never went beyond there...did 3-finger salute to reboot)


I was running xosview, displayed remotely, & RAM usage was only about 65MB.

I'm starting again without the -j option to see if that lets the 
build go through. I'll let the list know if that makes a difference. 
I'll keep the build log around for a few weeks in case it's 
needed/helpful for anything (the BUILDING doc mentions sending the 
whole log for "-j"-related issues, even though this isn't technically 
a build failure).

I'll be doing a release of macppc & upgrading the host after the next 
attempt of an alpha cross-build (& if the next try fails, I'll try 
yet again after the host is updated).

Mike
-- 
Bikers don't *DO* taglines.