Subject: problems building -current on i386
To: None <current-users@netbsd.org>
From: maximum entropy <entropy@tardis.bernstein.com>
List: current-users
Date: 01/16/2000 23:30:12
Hi,

I had two problems with building today's -current on i386.

First, a "make build" dies while building the boot blocks in
biosboot_com0:

ld -o biosboot_com0.sym -M -e start -Ttext 0 start_bootsect.o fraglist.o bootsectmain.o biosdisk_ll.o bios_disk.o diskbuf.o main.o devopen.o conf.o exec.o  vers.o /usr/src/sys/arch/i386/stand/biosboot_com0/lib/i386/libi386.a /usr/src/sys/arch/i386/stand/biosboot_com0/lib/sa/libsa.a /usr/src/sys/arch/i386/stand/biosboot_com0/lib/z/libz.a /usr/src/sys/arch/i386/stand/biosboot_com0/lib/sa/libsa.a /usr/src/sys/arch/i386/stand/biosboot_com0/lib/kern/libkern.a /usr/src/sys/arch/i386/stand/biosboot_com0/lib/i386/libi386.a /usr/src/sys/arch/i386/stand/biosboot_com0/lib/sa/libsa.a >biosboot_com0.list
ld: cannot open start_bootsect.o: No such file or directory
*** Error code 1

Second, after commenting out the Makefile entry for the above, and
restarting "make build", I got a /usr/libexec/ld.elf_so that causes
most (all?) dynamically linked programs to crash.  I restored an old
ld.elf_so from another system to get things working again.  Here is a
session showing the symptoms:

zippy# cd ld.elf_so
/usr/src/libexec/ld.elf_so 
zippy# make install
install -r  -c    -o root -g wheel -m 555 ld.elf_so /usr/libexec/ld.elf_so
zippy# less
Segmentation fault (core dumped)
zippy# su      
Segmentation fault (core dumped)
zippy# cd /usr/libexec
zippy# cp ld.elf_so.good ld.elf_so
zippy# less
Missing filename ("less -\?" for help)
zippy# su
zippy# exit

Thanks for any help.  If more information is needed to reproduce
either problem, let me know.

--
entropy