Subject: problem building "xlint" during "make all"
To: None <port-sun3@NetBSD.ORG>
From: Erik E. Fair <fair@clock.org>
List: port-sun3
Date: 10/27/1995 11:25:12
I have three Sun 3/60's here, and I'm trying to set up to run
NetBSD-current and do testing. Accordingly, I have set up two of these
beasts with the Sun3 snapshot from July/August. Then I grabbed the tarballs
from about a week and a half ago, and sup'd to catch up.

In order to build the world, I cd'd to /usr/src/include and did "make
install", and then started "make all" in /usr/src.

Make core dumped twice during the build of libraries, but restarting the
make seems to have made that complete correctly. However, during the build
of xlint, I get this, quite consistently:

cc   -o lint1 cgram.o scan.o mem1.o mem.o err.o main1.o decl.o tree.o
func.o init.o emit.o emit1.o -ll
tree.o: Undefined symbol `___fixunsxfdi' referenced from text segment
tree.o: Undefined symbol `___floatdixf' referenced from text segment
tree.o: Undefined symbol `___floatdixf' referenced from text segment
tree.o: Undefined symbol `___fixxfdi' referenced from text segment
*** Error code 1

Stop.

I've gone grovelling through the source code, includle files and various
libraries looking for references to these symbols. My best guess is that
this is some gnu compiler goo that should  be there for doing casts to/from
"floats" (and there is one such cast in the tree.c source), but isn't. Does
this ring any bells with the rest of you?

thanks,

Erik Fair

P.S. This is my build system's dmesg; I am aware that a later kernel will
have the Archive Viper 150 in the quirk list.

 DDB: found symbols [52212 + 57825 bytes]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

NetBSD 1.0A (GENERIC) #22: Wed Jul  5 21:16:34 EDT 1995
    gwr@venus:/play/gwr/NetBSD-gwr/src/sys/arch/sun3/compile/GENERIC
Model: Sun 3/60
real mem  = 25149440
avail mem = 22708224
using 153 buffers containing 1253376 bytes of memory
mainbus0 (root)
obctl0 at mainbus0
idprom0 at obctl0 hostid 0x17004f84
fpu0 at mainbus0 (mc68881)
obmem0 at mainbus0
bwtwo0 at obmem0 addr 0xff000000 (1152x900)
obio0 at mainbus0
zs0 at obio0 addr 0x20000 level 6 softpri 3
zs1 at obio0 addr 0x0 level 6 softpri 3
eeprom0 at obio0 addr 0x40000
clock0 at obio0 addr 0x60000 level 5
le0 at obio0 addr 0x120000 level 3 hwaddr 08:00:20:00:f8:73
si0 at obio0 addr 0x140000 level 2
scsibus0 at si0
si0 targ 0 lun 0: <FUJITSU, M2266S-512, 002C> SCSI2 0/direct fixed
sd0 at scsibus0: 1026MB, 1658 cyl, 15 head, 84 sec, 512 bytes/sec
si0 targ 1 lun 0: <MICROP, 1588-15MBSUN0669, SN0C> SCSI1 0/direct fixed
sd2 at scsibus0: 639MB, 1632 cyl, 15 head, 53 sec, 512 bytes/sec
si_dorequest: target=4, lun=0, resetting...
si0 targ 4 lun 0: <ARCHIVE, VIPER 150  21531, -004> SCSI1 1/sequential removable
st0 at scsibus0: si_dorequest: target=4, lun=0, resetting...
st0(si0:4:0): illegal request, data = 00 00 00 00 25 00 00 00 00 00
drive empty
si_dorequest: target=4, lun=1, resetting...
si0 targ 4 lun 1: <ARCHIVE, VIPER 150  21531, -004> SCSI1 1/sequential removable
st2 at scsibus0: si_dorequest: target=4, lun=1, resetting...
st2(si0:4:1): illegal request, data = 00 00 00 00 25 00 00 00 00 00
drive empty
si_dorequest: target=4, lun=2, resetting...
si0 targ 4 lun 2: <ARCHIVE, VIPER 150  21531, -004> SCSI1 1/sequential removable
st3 at scsibus0: si_dorequest: target=4, lun=2, resetting...
st3(si0:4:2): illegal request, data = 00 00 00 00 25 00 00 00 00 00
drive empty
si_dorequest: target=4, lun=3, resetting...
si0 targ 4 lun 3: <ARCHIVE, VIPER 150  21531, -004> SCSI1 1/sequential removable
st4 at scsibus0: si_dorequest: target=4, lun=3, resetting...
st4(si0:4:3): illegal request, data = 00 00 00 00 25 00 00 00 00 00
drive empty
si_dorequest: target=4, lun=4, resetting...
si0 targ 4 lun 4: <ARCHIVE, VIPER 150  21531, -004> SCSI1 1/sequential removable
st5 at scsibus0: si_dorequest: target=4, lun=4, resetting...
st5(si0:4:4): illegal request, data = 00 00 00 00 25 00 00 00 00 00
drive empty
si_dorequest: target=4, lun=5, resetting...
si0 targ 4 lun 5: <ARCHIVE, VIPER 150  21531, -004> SCSI1 1/sequential removable
st6 at scsibus0: si_dorequest: target=4, lun=5, resetting...
st6(si0:4:5): illegal request, data = 00 00 00 00 25 00 00 00 00 00
drive empty
si_dorequest: target=4, lun=6, resetting...
si0 targ 4 lun 6: <ARCHIVE, VIPER 150  21531, -004> SCSI1 1/sequential removable
st7 at scsibus0: si_dorequest: target=4, lun=6, resetting...
st7(si0:4:6): illegal request, data = 00 00 00 00 25 00 00 00 00 00
drive empty
si_dorequest: target=4, lun=7, resetting...
si0 targ 4 lun 7: <ARCHIVE, VIPER 150  21531, -004> SCSI1 1/sequential removable
st8 at scsibus0: si_dorequest: target=4, lun=7, resetting...
st8(si0:4:7): illegal request, data = 00 00 00 00 25 00 00 00 00 00
drive empty
si0 targ 5 lun 0: <HP, HP35480A, 1109> SCSI2 1/sequential removable
st1 at scsibus0: drive empty
root on sd0a
swap on sd0b
dump on sd0b