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