9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9atom install error
@ 2014-06-25  8:05 Ramakrishnan Muthukrishnan
  2014-06-26  3:27 ` erik quanstrom
  0 siblings, 1 reply; 3+ messages in thread
From: Ramakrishnan Muthukrishnan @ 2014-06-25  8:05 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Erik,

I noticed this on a fresh install from the usbinstamd64.bz2 downloaded
today. I am typing the error. The error is while it is compiling the
amd64 programs..

[...]
mk syscall
sed '/#define...
....
6c -I/sys/src/libc/9syscall -FTVw syscall.c
tab.h:52 syscall.c:34 name not declared: _nsec
mk: 6c -I/sys ... : exit status=rc 20800: 6c 20802: error
mk: for(i in 1a ... : exit status=rc 9085: rc 20789: mk 20792: error
mk: test -e ... error
mk: date for (i ... : ... error
halt system? ...

I don't remember getting this error when I installed it from an
earlier installer (about a month ago, I think).

--
  Ramakrishnan



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] 9atom install error
  2014-06-25  8:05 [9fans] 9atom install error Ramakrishnan Muthukrishnan
@ 2014-06-26  3:27 ` erik quanstrom
  2014-06-26  7:21   ` Ramakrishnan Muthukrishnan
  0 siblings, 1 reply; 3+ messages in thread
From: erik quanstrom @ 2014-06-26  3:27 UTC (permalink / raw)
  To: 9fans

> I noticed this on a fresh install from the usbinstamd64.bz2 downloaded
> today. I am typing the error. The error is while it is compiling the
> amd64 programs..
>
> [...]
> mk syscall
> sed '/#define...
> ....
> 6c -I/sys/src/libc/9syscall -FTVw syscall.c
> tab.h:52 syscall.c:34 name not declared: _nsec
> mk: 6c -I/sys ... : exit status=rc 20800: 6c 20802: error
> mk: for(i in 1a ... : exit status=rc 9085: rc 20789: mk 20792: error
> mk: test -e ... error
> mk: date for (i ... : ... error
> halt system? ...

ok.  there must have been version skew.  i rebuilt everything.  but i'm traveling, so i didn't
do any sanity checking.

_nsec is just for binary compatability with the nsec system call.  i'm still
unconvinced, but i don't want to introduce an incompatability like that either.

by the way, one of the least attractive things about an nsec system call is
high frequency high precision timing would be much better off with a
relative clock that is not adjusted.  cf. the linux leap second fiasco.
TSC is probablly ideal for this on intel machines.

- erik



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] 9atom install error
  2014-06-26  3:27 ` erik quanstrom
@ 2014-06-26  7:21   ` Ramakrishnan Muthukrishnan
  0 siblings, 0 replies; 3+ messages in thread
From: Ramakrishnan Muthukrishnan @ 2014-06-26  7:21 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Thu, Jun 26, 2014 at 8:57 AM, erik quanstrom <quanstro@quanstro.net> wrote:
>> I noticed this on a fresh install from the usbinstamd64.bz2 downloaded
>> today. I am typing the error. The error is while it is compiling the
>> amd64 programs..
>>
>> [...]
>> mk syscall
>> sed '/#define...
>> ....
>> 6c -I/sys/src/libc/9syscall -FTVw syscall.c
>> tab.h:52 syscall.c:34 name not declared: _nsec
>> mk: 6c -I/sys ... : exit status=rc 20800: 6c 20802: error
>> mk: for(i in 1a ... : exit status=rc 9085: rc 20789: mk 20792: error
>> mk: test -e ... error
>> mk: date for (i ... : ... error
>> halt system? ...
>
> ok.  there must have been version skew.  i rebuilt everything.  but i'm traveling, so i didn't
> do any sanity checking.

I downloaded a fresh usbinstamd64.bz2 today but am getting the same
results. Don't bother, I have a virtual machine install that I can
play with.

> _nsec is just for binary compatability with the nsec system call.  i'm still
> unconvinced, but i don't want to introduce an incompatability like that either.
>
> by the way, one of the least attractive things about an nsec system call is
> high frequency high precision timing would be much better off with a
> relative clock that is not adjusted.  cf. the linux leap second fiasco.
> TSC is probablly ideal for this on intel machines.
>
> - erik
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-26  7:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-25  8:05 [9fans] 9atom install error Ramakrishnan Muthukrishnan
2014-06-26  3:27 ` erik quanstrom
2014-06-26  7:21   ` Ramakrishnan Muthukrishnan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).