Configured with --enable-root. Got a segfault when running queued.
gdb queued core
GNU gdb 5.0
Copyright 2000 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 "sparc-sun-solaris2.6"...
Core was generated by `/usr/local/sbin/queued'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/lib/libkvm.so.1...done.
Loaded symbols for /usr/lib/libkvm.so.1
Reading symbols from /usr/lib/libelf.so.1...done.
Loaded symbols for /usr/lib/libelf.so.1
Reading symbols from /usr/lib/libxnet.so.1...done.
Loaded symbols for /usr/lib/libxnet.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/librpcsvc.so.1...done.
Loaded symbols for /usr/lib/librpcsvc.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1
#0 0x0 in ?? ()
#0 0x0 in ?? ()
#1 0xef6973d4 in _get_hostserv_inetnetdir_byname () from /usr/lib/libnsl.so.1
#2 0xef6af234 in gethostbyname_r () from /usr/lib/libnsl.so.1
#3 0x1dc8c in canonicalhost (host=0x4c248 "beast") at qlib.c:239
#4 0x1848c in myhostname () at queued.c:4041
#5 0x12af8 in main (argc=1, argv=0xefffebbc) at queued.c:439