From admin@Stoner.COM  Thu Jan 12 01:44:53 1995
Received: from gateway.Stoner.COM (gateway.Stoner.COM [198.64.192.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id BAA27714 for <FreeBSD-gnats-submit@freebsd.org>; Thu, 12 Jan 1995 01:44:48 -0800
Received: (from admin@localhost) by gateway.Stoner.COM (8.6.9/8.6.9) id DAA03546; Thu, 12 Jan 1995 03:44:08 -0600
Message-Id: <199501120944.DAA03546@gateway.Stoner.COM>
Date: Thu, 12 Jan 1995 03:44:08 -0600
From: curnutt@Stoner.COM
Reply-To: curnutt@Stoner.COM
To: FreeBSD-gnats-submit@freebsd.org
Subject: kernel build produces internal compiler error
X-Send-Pr-Version: 3.2

>Number:         209
>Category:       gnu
>Synopsis:       kernel build produces internal compiler error
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs (FreeBSD bugs mailing list)
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb  6 17:11:00 1995
>Closed-Date:    Mon Feb 6 20:32:09 PST 1995
>Last-Modified:
>Originator:     Bryan Curnutt <curnutt@stoner.com>
>Release:        FreeBSD 2.0-RELEASE i386
>Organization:
Stoner Associates, Inc.
>Environment:

	FreeBSD 2.0-RELEASE running on old 25MHz i386 with i387 coprocessor,
        16MB RAM, 400MB disk

>Description:

	Compiling the kernel fails with the following error message:

        [...]
	cc -c -O -W -Wreturn-type -Wcomment -Wredundant-decls  -I. -I../.. -I../../sys -DGENERIC -DI586_CPU -DI486_CPU -DI386_CPU -DBOUNCE_BUFFERS -DNCONS=4 -DSCSI_DELAY=15 -DFAT_CURSOR -DCOMPAT_43 -DPROCFS -DFFS -DINET -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000  ../../ufs/ffs/ffs_tables.c
	assertion "(fragP->fr_next == 0) || ((fragP->fr_next->fr_address - fragP->fr_address) == (fragP->fr_fix + (fragP->fr_offset * fragP->fr_var)))" failed: file "/usr/src/gnu/usr.bin/as/write.c", line 386
	cc: Internal compiler error: program as got fatal signal 6
	*** Error code 1

	Stop.


	Compiling the latest CERN HTTP server fails with an identical
	error (including the assertion), so the problem is not specific
	to the kernel files.


>How-To-Repeat:

	Install FreeBSD 2.0-RELEASE bindist and manpages
	Install FreeBSD 2.0-RELEASE kerndist
	Create the file /usr/src/sys/i386/conf/STONER with the following
	contents:
======================================================================
#
# STONER -- trimmed down kernel config for Stoner Associates's
#           SL/IP gateway
#

machine		"i386"
cpu		"I386_CPU"
cpu		"I486_CPU"
cpu		"I586_CPU"
ident		GENERIC
maxusers	10

#options		MATH_EMULATE		#Support for x87 emulation
options		INET			#InterNETworking
options		FFS			#Berkeley Fast Filesystem
#options		NFS			#Network Filesystem
#options		MSDOSFS			#MSDOS Filesystem
#options		"CD9660"		#ISO 9660 Filesystem
options		PROCFS			#Process filesystem
options		"COMPAT_43"		#Compatible with BSD 4.3
#options		UCONSOLE		#X Console support
options		"FAT_CURSOR"		#block cursor in syscons or pccons
options		"SCSI_DELAY=15"		#Be pessimistic about Joe SCSI device
options		"NCONS=4"		#4 virtual consoles
options		BOUNCE_BUFFERS		#include support for DMA bounce buffers

config		kernel	root on wd0 swap on wd0 and wd1 and sd0 and sd1 dumps on wd0

controller	isa0
controller	pci0

controller	fdc0	at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk		fd0	at fdc0 drive 0
disk		fd1	at fdc0 drive 1
#tape		ft0	at fdc0 drive 2

controller	wdc0	at isa? port "IO_WD1" bio irq 14 vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

#controller	wdc1	at isa? port "IO_WD2" bio irq 15 vector wdintr
#disk		wd2	at wdc1 drive 0
#disk		wd3	at wdc1 drive 1

controller	ncr0

#controller	bt0	at isa? port "IO_BT0" bio irq ? vector btintr
#controller	uha0	at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
#controller	ahc0	at isa? bio irq ? vector ahcintr
#controller	ahb0	at isa? bio irq ? vector ahbintr
#controller	aha0	at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
#controller	aic0    at isa? port 0x340 bio irq 11 vector aicintr
#controller	pas0	at isa? port 0x1f88 bio
#controller	sea0	at isa? bio irq 5 iomem 0xc8000 iosiz 0x2000 vector seaintr
#controller	scbus0

#device		sd0
#device		sd1
#device		sd2
#device		sd3

#device		st0
#device		st1

#device		cd0	#Only need one of these, the code dynamically grows

#device		wt0	at isa? port 0x300 bio irq 5 drq 1 vector wtintr
#device		mcd0	at isa? port 0x300 bio irq 10 vector mcdintr
#device		mcd1	at isa? port 0x340 bio irq 11 vector mcdintr

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device		sio0	at isa? port "IO_COM1" tty irq 4 vector siointr
device		sio1	at isa? port "IO_COM2" tty irq 3 vector siointr
#device		sio2	at isa? port "IO_COM3" tty irq 5 vector siointr
#device		sio3	at isa? port "IO_COM4" tty irq 9 vector siointr

device		lpt0	at isa? port? tty irq 7 vector lptintr
#device		lpt1	at isa? port? tty
#device		lpt2	at isa? port? tty

device de0
device ed0 at isa? port 0x280 net irq  5 iomem 0xd8000 vector edintr
#device ed1 at isa? port 0x300 net irq  5 iomem 0xd8000 vector edintr
#device ie0 at isa? port 0x360 net irq  7 iomem 0xd0000 vector ieintr
#device ep0 at isa? port 0x300 net irq 10 vector epintr
#device is0 at isa? port 0x280 net irq 10 drq 7 vector isintr
#device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
#device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	sl	1
pseudo-device	pty	32
pseudo-device	speaker
pseudo-device	gzip		# Exec gzipped a.out's
======================================================================
	Run "config STONER" in /usr/src/sys/i386/conf
	Run "make depend" in /usr/src/sys/compile/STONER
	Run "make" in /usr/src/sys/compile/STONER
	Wait for the error

>Fix:
	
	None known.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: gnats 
State-Changed-When: Mon Feb 6 20:32:09 PST 1995 
State-Changed-Why:  
This was a duplicate of 107. 
>Unformatted:



