guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Go 1.4.3 failing on core-updates


From: Leo Famulari
Subject: Re: Go 1.4.3 failing on core-updates
Date: Sat, 22 Oct 2016 02:28:17 -0400
User-agent: Mutt/1.7.0 (2016-08-17)

On Mon, Oct 17, 2016 at 10:23:08AM +0200, Andy Wingo wrote:
> On Sat 15 Oct 2016 22:12, Leo Famulari <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]