Port-sparc archive

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

Re: ntpd wedged by libc?



On 2/22/2012 23:41, Dave Hart wrote:
On Thu, Feb 23, 2012 at 05:55, AGC<agcarver+netbsd%acarver.net@localhost>  
wrote:
Finally got it all installed.  That was an interesting exercise but useful.
  I ended up having to NFS mount another machine so I would have enough disk
space to hold all the sources.  The internal drive on the IPX is only 1.2 GB
so it doesn't have much free space.

Looks like the new library took (I hope).  Nothing is complaining so I think
it's ok.

You can be more confident if you grab another recent ntp-dev tarball
(p259 is nice) and configure without --enable-c99-snprintf, build and
install it, and subject it to the ntpq -p every 5 seconds regime.


Ok, it didn't work using the new version of libc:

(gdb) bt
#0  0x103b5574 in __multadd_D2A () from /usr/lib/libc.so.12
#1  0x103a7b90 in __dtoa () from /usr/lib/libc.so.12
#2  0x103a50c0 in __vfprintf_unlocked () from /usr/lib/libc.so.12
#3  0x103133ac in snprintf () from /usr/lib/libc.so.12
#4  0x0005d310 in atom_timer (unit=0, peer=0xafd28) at refclock_atom.c:202
#5  0x0003a990 in refclock_timer (p=0xafd28) at ntp_refclock.c:273
#6  0x00041950 in timer () at ntp_timer.c:300
#7  0x00023320 in ntpdmain (argc=0, argv=0xefffe86c) at ntpd.c:1026
#8  0x00013880 in ___start ()
#9  0x000137b8 in _start ()
(gdb)


So libc is still broken.


Home | Main Index | Thread Index | Old Index