Subject: shared binaries..
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Amancio Hasty Jr <hasty@netcom.com>
List: current-users
Date: 11/28/1993 12:26:26
In trying to build netbsd-current 11/20, I get a core dump on shared
binaries.

kernel: netbsd-current from 11/20

ktrace of a "tail" shared binary. the static version works okay.

    87 ktrace   RET   ktrace 0
    87 ktrace   CALL  execve(0xfdbfdf53,0xfdbfdf24,0xfdbfdf2c)
    87 ktrace   NAMI  "./tail"
    87 tail     RET   execve JUSTRETURN
    87 tail     CALL  open(0x10a4,0,0)
    87 tail     NAMI  "/usr/libexec/ld.so"
    87 tail     RET   open 3
    87 tail     CALL  read(0x3,0xfdbfded8,0x20)
    87 tail     GIO   fd 3 read 32 bytes
       "\M^@\M^F\^A\v\0\M-`\0\0\0\^P\0\0\M^L\^Q\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\
	\0\0"
    87 tail     RET   read 32/0x20
    87 tail     CALL  mmap(0,0x1018c,0x5,0x21,0x3,0)
    87 tail     RET   mmap 33566720/0x2003000
    87 tail     CALL  mmap(0x2011000,0x1000,0x7,0x121,0x3,0xe000)
    87 tail     RET   mmap 33624064/0x2011000
    87 tail     CALL  mmap(0x2012000,0x118c,0x7,0x122,0xffffffff,0)
    87 tail     RET   mmap 33628160/0x2012000
    87 tail     PSIG  SIGBUS SIG_DFL
    87 tail     NAMI  "core.tail"

Amancio

------------------------------------------------------------------------------