Hi Ian, > On Tue, Sep 25, 2018 at 6:26 AM, Rainer Orth > <r...@cebitec.uni-bielefeld.de> wrote: >> >>> /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. > > Thanks for the report. I've committed this patch to fix the build on > Solaris. There are some test failures, though. I haven't looked into > them.
great, thanks for fixing this. I do know about the failures; they are (slowly) being looked at... Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University