Subject: Re: Broken kern_todor.c
To: None <current-users@NetBSD.org>
From: Chris Tribo <ctribo@dtcc.edu>
List: current-users
Date: 09/12/2006 10:24:12
On Sep 12, 2006, at 10:18 AM, Garrett D'Amore wrote:

> computer_help@rferl.org wrote:
>> ...
>> -I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/quad
>> -I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/string
>> -I/usr/current/src/sys/lib/libkern/../../../common/lib/libc/arch/ 
>> arm/string
>> -c /usr/current/src/sys/kern/kern_todr.c
>> cc1: warnings being treated as errors
>> /usr/current/src/sys/kern/kern_todr.c: In function 'todr_gettime':
>> /usr/current/src/sys/kern/kern_todr.c:288: warning: implicit
>> declaration of function 'todr_debug'
>>
>> *** Failed target:  kern_todr.o
>> *** Failed command: echo '# ' "compile Astro/kern_todr.
>>
>> Pavel
>
> Thats really, really weird, since since todr_debug is either a  
> function,
> or is a macro.  I've test compiled this both ways for architectures
> other than hpcarm.  I'll do an hpcarm compile and see if it is busted.
>

Something is definitely hinky, even on i386:

WARNING: preposterous TOD clock time
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!

The BIOS clock is fine, but the system time is off by more than 8 hours.