Subject: Building current...
To: VAX porting list <port-vax@netbsd.org>
From: Johnny Billquist <bqt@softjar.se>
List: port-vax
Date: 10/17/2007 12:44:19
Anybody tried building -current with cross compilation?
I tried it today with the following result:

======================================
#   compile  Gnat/db_command.o
/usr/src/obj/tooldir.NetBSD-3.99.8-i386/bin/vax--netbsdelf-gcc -fno-pic 
-ffreestanding -fno-zero-initialized-in-bss -O2 -Werror -Wall -Wno-main 
-Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes 
-Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wno-sign-compare 
-Wno-pointer-sign -Wno-attributes -fno-strict-aliasing -D_VAX_INLINE_ -I. 
-I/usr/src/sys/../common/include -I/usr/src/sys/arch -I/usr/src/sys -nostdinc 
-DLKM -DMAXUSERS=8 -D_KERNEL -D_KERNEL_OPT 
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/quad 
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/string 
-I/usr/src/sys/lib/libkern/../../../common/lib/libc/arch/vax/string 
-I/usr/src/sys/dist/ipf -c /usr/src/sys/ddb/db_command.c
/usr/src/sys/ddb/db_command.c: In function 'db_command_loop':
/usr/src/sys/ddb/db_command.c:573: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.

*** Failed target:  db_command.o
=======================================


I can't remember if I might have seen internal compiler errors before, and what 
the problem and solution was. But might we have imported new gcc stuff that 
caused previous fixes to gcc for vax to be lost?

	Johnny

-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt@softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol