Subject: can't link a -current kernel
To: None <port-i386@NetBSD.ORG>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: port-i386
Date: 04/09/1996 00:03:30
Hi,

i updated my system with sources from yesterday and all worked fine, BUT the
new kernel didn't linked:

ld -z -Ttext F8100000 -e start -x -o netbsd ${SYSTEM_OBJ} vers.o
Segmentation fault - core dumped
*** Error code 139

Stop.

[bernd@parresum]/src/sys/arch/i386/compile/VEEGO> gdb /src/gnu/usr.bin/ld/obj/ld ld.core
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.11 (i386-netbsd), Copyright 1993 Free Software Foundation, Inc...
Core was generated by `ld'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.so...done.
Reading symbols from /usr/lib/libgnumalloc.so.0.0...done.
Reading symbols from /usr/lib/libc.so.12.4...done.
#0  symdef_library (fd=3, entry=0x21cf0, member_length=2259456)
    at /src/gnu/usr.bin/ld/lib.c:301
301                             read_entry_strings(fd, subentry);
(gdb) bt
#0  symdef_library (fd=3, entry=0x21cf0, member_length=2259456)
    at /src/gnu/usr.bin/ld/lib.c:301
#1  0x7e61 in search_library (fd=3, entry=0x21cf0) at /src/gnu/usr.bin/ld/lib.c:61
#2  0x3d27 in read_file_symbols (entry=0x21cf0) at /src/gnu/usr.bin/ld/ld.c:1248
#3  0x3a52 in load_symbols () at /src/gnu/usr.bin/ld/ld.c:1181
#4  0x1bcd in main (argc=336, argv=0xf7bfc490) at /src/gnu/usr.bin/ld/ld.c:383
(gdb) 

I only added PCIVERBOSE and NMBCLUSTERS=2048 to the GERNIC kernel config and removed
some devices.

/src is an nfs dir from my -current amiga.
I build my last kernel, from Feb 24th, with the same enviroment.

Bernd