Port-pmax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Problems updating to new libc on pmax



For several weeks I have been unable to update my DECStation 5000 to
the newest -current.
After installing a new libc, just about everything segfaults. This
also happens when libc is built
in a cross-compile on i386 and the resulting libc then transferred to
the DECStation.

I don't know when this problem started except that the machine has
been turned of since
my previous full build in November 2009.

Downgrading libc to libc.so.12.170 makes it work again.

In my last attempt I added KTRACE to my kernel and below you can see
final output of the
failing build and then the output of 'ktruss ls'.

Do you have any ideas of how to fix this ?

Kind regards
Erik

install ===> lib/libc
    install  /usr/lib/libc.a
    install  /lib/libc.so.12.172
*** Signal 11

Stop.
nbmake: stopped in /home/NetBSD/src/lib/libc

*** Failed target:  do-lib-libc
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this=""; real="/home/NetBSD/src" ;; *) this="${dir}/";
real="/home/NetBSD/src/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/home/NetBSD/obj.mipsel/tools.5.99.27-mipsel/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget lib/libc install
*** Error code 1

Stop.
nbmake: stopped in /home/NetBSD/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1";
shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .)
this=""; real="/home/NetBSD/src" ;; *) this="${dir}/";
real="/home/NetBSD/src/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
/home/NetBSD/obj.mipsel/tools.5.99.27-mipsel/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-lib-libc
*** Error code 1

Stop.
nbmake: stopped in /home/NetBSD/src
[1]   Segmentation fault (core dumped) cat >&2 <<...
[1]   Segmentation fault (core dumped) rm -r -f "/tmp/n...
# ktruss ls
  8464      1 ktruss   fktrace                     = 0, 2113901056
  8464      1 ktruss   emul(netbsd)
  8464      1 ktruss   fcntl(0x4, 0x3, 0)          = 1, 2113901056
  8464      1 ktruss   fcntl(0x4, 0x4, 0x1)        = 0, 2113901056
  8464      1 ls       execve("/bin/ls", 0x7fffdd08, 0x7fffdd10) JUSTRETURN
  8464      1 ls       emul(netbsd)
  8464      1 ls       mmap(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0,
0) = 0x7dff7000
  8464      1 ls       open("/etc/ld.so.conf", 0, 0x7dfef584) Err#2 ENOENT
  8464      1 ls       open("/lib/libutil.so.7", 0, 0) = 3, 2147472853
  8464      1 ls       __fstat50(0x3, 0x7fffd504)  = 0, 2147472853
  8464      1 ls       mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0x7dff6000
  8464      1 ls       munmap(0x7dff6000, 0x1000)  = 0
  8464      1 ls       mmap(0, 0x29000, 0x5, 0x10000002, 0x3, 0, 0, 0)
= 0x7dfa0000
  8464      1 ls       mmap(0x7dfc6000, 0x2000, 0x3, 0x12, 0x3, 0,
0x16000, 0) = 0x7dfc6000
  8464      1 ls       mmap(0x7dfc8000, 0x1000, 0x3, 0x1012,
0xffffffff, 0, 0, 0) = 0x7dfc8000
  8464      1 ls       mprotect(0x7dfb6000, 0x10000, 0) = 0, -4096
  8464      1 ls       close(0x3)                  = 0
  8464      1 ls       open("/lib/libc.so.12", 0, 0) = 3, 2147472853
  8464      1 ls       __fstat50(0x3, 0x7fffd504)  = 0, 2147472853
  8464      1 ls       mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0x7dff6000
  8464      1 ls       munmap(0x7dff6000, 0x1000)  = 0
  8464      1 ls       mmap(0, 0x14c000, 0x5, 0x10000002, 0x3, 0, 0,
0) = 0x7de50000
  8464      1 ls       mmap(0x7df85000, 0x8000, 0x3, 0x12, 0x3, 0,
0x125000, 0) = 0x7df85000
  8464      1 ls       mmap(0x7df8d000, 0xf000, 0x3, 0x1012,
0xffffffff, 0, 0, 0) = 0x7df8d000
  8464      1 ls       mprotect(0x7df76000, 0xf000, 0) = 0, -4096
  8464      1 ls       close(0x3)                  = 0
  8464      1 ls       __sysctl(0x7fffdbf0, 0x2, 0x7df99fb0,
0x7fffdbec, 0, 0) = 0, 81
  8464      1 ls       __sysctl(0x7fffdbfc, 0x2, 0x7fffdbf4,
0x7fffdbf8, 0, 0) = 0, 6
  8464      1 ls       rasctl(0x7deeeb90, 0x14, 0) = 0, -1
  8464      1 ls       issetugid()                 = 0, 2113433148
  8464      1 ls       __sysctl(0x7fffc640, 0x2, 0x7df94880,
0x7fffc63c, 0, 0) = 0, 6
  8464      1 ls       __sysctl(0x7fffc564, 0x2, 0x7df9b260,
0x7fffc560, 0, 0) = 0, 6
  8464      1 ls       readlink("/etc/malloc.conf", 0x7fffc654, 0x400)
Err#2 ENOENT
  8464      1 ls       break(0x4167d0)             = 0, 4286416
  8464      1 ls       SIGSEGV SIG_DFL
#


Home | Main Index | Thread Index | Old Index