Subject: recent libc (bind?) changes breaks my asterisk on cobalt qube
To: None <current-users@netbsd.org, port-cobalt@netbsd.org>
From: Markus W Kilbinger <mk@kilbi.de>
List: port-cobalt
Date: 02/09/2007 02:25:33
Hi!

Recent libc changes between Jan 26th and Feb 2nd break my
(pkgsrc/comms/) asterisk running on my cobalt qube (running actual
-current):

  cochise# gdb /usr/pkg/sbin/asterisk /asterisk.core-new-libc                      
  GNU gdb 5.3nb1
  Copyright 2002 Free Software Foundation, Inc.
  GDB is free software, covered by the GNU General Public License, and you are
  welcome to change it and/or 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.
  This GDB was configured as "mipsel--netbsd"...(no debugging symbols found)...
  Core was generated by `asterisk'.
  Program terminated with signal 11, Segmentation fault.
  Reading symbols from /usr/lib/libcurses.so.6...(no debugging symbols found)...
  done.
  [...]
  Reading symbols from /usr/libexec/ld.elf_so...done.
  Loaded symbols for /usr/libexec/ld.elf_so
  #0  0x7db93af8 in __res_nclose () from /usr/lib/libc.so.12
  (gdb) bt
  #0  0x7db93af8 in __res_nclose () from /usr/lib/libc.so.12
  #1  0x7db93c70 in __res_ndestroy () from /usr/lib/libc.so.12
  #2  0x7db947c8 in __res_vinit () from /usr/lib/libc.so.12
  #3  0x0047cc38 in ast_search_dns ()
  warning: Warning: GDB can't find the start of the function at 0xffffffff.

This seems to be related to the bind changes within libc. libc
compiled from Jan 26th sources runs fine with my (unchanged) asterisk
(configuration).

Has anybody an idea what's going wrong here?

Markus.