[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Go 1.4.3 failing on core-updates
From: |
Ludovic Courtès |
Subject: |
Re: Go 1.4.3 failing on core-updates |
Date: |
Mon, 24 Oct 2016 23:12:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Leo Famulari <address@hidden> skribis:
> 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.
Great, thanks!
Ludo’.