From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Go 1.4.3 failing on core-updates Date: Sat, 22 Oct 2016 02:28:17 -0400 Message-ID: <20161022062817.GC2312@jasmine> References: <20161015201228.GA12403@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59203) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxpn5-0007s5-6r for guix-devel@gnu.org; Sat, 22 Oct 2016 02:28:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxpn1-0006Oh-8f for guix-devel@gnu.org; Sat, 22 Oct 2016 02:28:23 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48242) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxpn1-0006OY-2H for guix-devel@gnu.org; Sat, 22 Oct 2016 02:28:19 -0400 Content-Disposition: inline In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Andy Wingo Cc: guix-devel@gnu.org, Matthew Jordan On Mon, Oct 17, 2016 at 10:23:08AM +0200, Andy Wingo wrote: > On Sat 15 Oct 2016 22:12, Leo Famulari writes: > > > # net > > cannot load DWARF output from $WORK/net/_obj//_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0 > > # os/user > > cannot load DWARF output from $WORK/os/user/_obj//_cgo_.o: decoding dwarf section info at offset 0x4: unsupported version 0 > > Probably this is due to a version change in GCC or the toolchain -- this > part of go is designed to interoperate with GCC in some way. Try fixing > the version of the toolchain to something older, perhaps? It turns out that Go 1.4.3's cgo (the Go interface to C code) doesn't work with Binutils > 2.27: https://github.com/golang/go/issues/16906 We are still able to use Go 1.4.3 to bootstrap later versions of Go if we disable cgo, as I did in 04a95a4fd66.