From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Go 1.4.3 failing on core-updates Date: Mon, 24 Oct 2016 23:12:12 +0200 Message-ID: <87twc1xxhv.fsf@gnu.org> References: <20161015201228.GA12403@jasmine> <20161022062817.GC2312@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bymXk-0006Ob-PD for guix-devel@gnu.org; Mon, 24 Oct 2016 17:12:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bymXj-0004WA-Ni for guix-devel@gnu.org; Mon, 24 Oct 2016 17:12:28 -0400 In-Reply-To: <20161022062817.GC2312@jasmine> (Leo Famulari's message of "Sat, 22 Oct 2016 02:28:17 -0400") 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: Leo Famulari Cc: guix-devel@gnu.org, Matthew Jordan Leo Famulari skribis: > On Mon, Oct 17, 2016 at 10:23:08AM +0200, Andy Wingo wrote: >> On Sat 15 Oct 2016 22:12, Leo Famulari writes: >>=20 >> > # 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 dw= arf section info at offset 0x4: unsupported version 0 >>=20 >> 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. Great, thanks! Ludo=E2=80=99.