Hi Ian,

> /vol/gcc/src/hg/trunk/local/libgo/go/runtime/traceback_gccgo.go:151:14: 
> error: reference to undefined name 'nanotime'
> 151 |   waitfor = (nanotime() - gp.waitsince) / 60e9
>     |              ^
>
>   and many many more instances.  Again, I found an implementation in
>   upstream src/runtime/os3_solaris.go, but that isn't usable since it
>   uses syscall directly.
>
> So I'm currently stuck on the missing nanotime.

I think I found it: if I enable building go/runtime/stubs3.go by
removing the !solaris build tag, the runtime_nanotime implementation in
runtime/go-nanotime.c is used.  At least the builds are going along
fine, it seems.  No test results yet.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University


diff --git a/libgo/go/runtime/stubs3.go b/libgo/go/runtime/stubs3.go
--- a/libgo/go/runtime/stubs3.go
+++ b/libgo/go/runtime/stubs3.go
@@ -3,7 +3,6 @@
 // license that can be found in the LICENSE file.
 
 // +build !plan9
-// +build !solaris
 // +build !windows
 // +build !nacl
 // +build !freebsd

Reply via email to