From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 35410 invoked by alias); 25 Sep 2018 13:26:21 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 35398 invoked by uid 89); 25 Sep 2018 13:26:20 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=Hx-languages-length:1144 X-HELO: smtp.CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE (HELO smtp.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 25 Sep 2018 13:26:18 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id AA13353F; Tue, 25 Sep 2018 15:26:16 +0200 (CEST) Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id daOa5SdXwpSu; Tue, 25 Sep 2018 15:26:15 +0200 (CEST) Received: from lokon.CeBiTec.Uni-Bielefeld.DE (lokon.CeBiTec.Uni-Bielefeld.DE [129.70.161.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id E201C53E; Tue, 25 Sep 2018 15:26:14 +0200 (CEST) Received: (from ro@localhost) by lokon.CeBiTec.Uni-Bielefeld.DE (8.15.2+Sun/8.15.2/Submit) id w8PDQD5t000564; Tue, 25 Sep 2018 15:26:13 +0200 (MEST) From: Rainer Orth To: Ian Lance Taylor Cc: gcc-patches , gofrontend-dev@googlegroups.com Subject: Re: libgo patch committed: Update to 1.11 release In-Reply-To: (Rainer Orth's message of "Tue, 25 Sep 2018 15:05:14 +0200") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (usg-unix-v) Date: Tue, 25 Sep 2018 13:34:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-IsSubscribed: yes X-SW-Source: 2018-09/txt/msg01433.txt.bz2 --=-=-= Content-Type: text/plain Content-length: 829 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 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=nanotime.patch Content-length: 299 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 --=-=-=--