Subject: bin/725: Problem with as and cc1 from netbsd-current/sparc jan 11@5am.
To: None <gnats-admin@NetBSD.ORG>
From: Marshall Midden <m4@unet.umn.edu>
List: netbsd-bugs
Date: 01/12/1995 09:35:04
>Number:         725
>Category:       bin
>Synopsis:       as and cc1 will not do make depend after config.new
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 12 09:35:03 1995
>Originator:     Marshall Midden
>Organization:
Marshall M. Midden                   e-mail: m4@umn.edu
University Networking Services        Voice: +1 612 625 1335
130 Lind Hall                           FAX: +1 612 626 1002
207 Church Street S.E.
University of Minnesota,
Minneapolis, Mn.  55455-0134, USA
>Release:        NetBSD-current bin Jan 11 @ 5am
>Environment:
System: IPC NetBSD-current sparc something-or-other
Architecture: sun4c (IPC), Wren6 (scsi1).

>Description:
	Clean directory, config.new, then a "make depend".  Added "-v".
	cc: Internal compiler error: program cc1 got fatal signal 6

	Replaced /usr/bin/cc1 with jan 5th static version gives messages, about
		gas not liking a rediculous number in a case statement.
	Replaced /usr/bin/as with jan 5th static version, and it works.
	I tried replacing various parts of gcc, but it appears to be cc1 and as.
	NOTE: I compile everything with -static.
==============================================================================
AWK="awk" sh ../../../../kern/vnode_if.sh ../../../../kern/vnode_if.src
../../../../kern/vnode_if.sh: Creating vnode_if.h
../../../../kern/vnode_if.sh: Creating vnode_if.c
cc  -v -c -I. -I../../../../arch -I../../../.. -I../../../../sys -DSUN4C -DTIMEZONE="0" -DDST="0" -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE -DCOMPAT_09 -DCOMPAT_10 -DFFS -DKERNFS -DINET -DTCP_COMPAT_42 -DCOMPAT_43 -DCOMPAT_SUNOS -DKERNEL -O2 -I/usr/include -DMAXUSERS=32 ../../sparc/genassym.c
gcc version 2.4.5
 /usr/libexec//cpp -lang-c -v -I. -I../../../../arch -I../../../.. -I../../../../sys -I/usr/include -undef -D__GNUC__=2 -Dsparc -Dunix -D__NetBSD__ -D__sparc__ -D__GCC_NEW_VARARGS__ -D__sparc__ -D__unix__ -D__NetBSD__ -D__sparc__ -D__GCC_NEW_VARARGS__ -D__sparc -D__unix -D__NetBSD__ -D__sparc__ -D__GCC_NEW_VARARGS__ -D__OPTIMIZE__ -DSUN4C -DTIMEZONE=0 -DDST=0 -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE -DCOMPAT_09 -DCOMPAT_10 -DFFS -DKERNFS -DINET -DTCP_COMPAT_42 -DCOMPAT_43 -DCOMPAT_SUNOS -DKERNEL -DMAXUSERS=32 ../../sparc/genassym.c /tmp/cc000495.i
GNU CPP version 2.4.5 (sparc)
 /usr/libexec//cc1 /tmp/cc000495.i -quiet -dumpbase genassym.c -O2 -version -o /tmp/cc000495.s
GNU C version 2.4.5 (sparc) compiled by GNU C version 2.4.5.
cc: Internal compiler error: program cc1 got fatal signal 6
*** Error code 1
==============================================================================

>How-To-Repeat:
	Config file below:
------------------------------------------------------------------------------
# Verysmall Kernel for m4's portable sparcstation IPC

machine		sparc
options		"SUN4C"
options		TIMEZONE=0, DST=0
maxusers	32
# Standard system options
options		SWAPPAGER, VNODEPAGER, DEVPAGER	# paging
options		KTRACE			# system call tracing support
options		"COMPAT_09", "COMPAT_10"
# Filesystem options
options		FFS
options		KERNFS		# kernel data-structure filesystem
# Networking options
options		INET
options		TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
options		COMPAT_43
# Options for SPARCstation hardware
options		COMPAT_SUNOS		# compatibility with SunOS binaries
config		netbsd	root on sd0 swap on sd0
mainbus0 at root
cpu0	at mainbus0
memreg0	at mainbus0
clock0	at mainbus0
timer0	at mainbus0
zs0	at mainbus0
zs1	at mainbus0
audio0	at mainbus0
auxreg0	at mainbus0
sbus0	at mainbus0
espdma0	at sbus0 slot ? offset ?
dma0	at sbus0 slot 0 offset ?
esp0	at espdma? slot ? offset ?
scsibus0 at esp0
sd*	at scsibus? target ? drive ?
le0	at sbus0 slot 0 offset ?
bwtwo0	at sbus0 slot 3 offset ?

pseudo-device	loop
pseudo-device	pty	48
pseudo-device	kbd
# End of verysmall configuration.
------------------------------------------------------------------------------
>Fix:
	
	Replace cc1 and as with older static versions.

	Will try to get sup from 10am installed and compiled.
>Audit-Trail:
>Unformatted: