* Go 1.4.3 failing on core-updates
@ 2016-10-15 20:12 Leo Famulari
2016-10-17 8:23 ` Andy Wingo
0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2016-10-15 20:12 UTC (permalink / raw)
To: guix-devel; +Cc: Matthew Jordan
Go version 1.4.3, which is required to build the latest Go version, is
failing to build on core-updates:
https://hydra.gnu.org/build/1493335
Here's the tail of the log:
------
archive/tar
go/doc
crypto/elliptic
cmd/addr2line
encoding/asn1
crypto/rand
crypto/dsa
cmd/cgo
go/format
crypto/rsa
cmd/fix
cmd/gofmt
go/build
crypto/ecdsa
crypto/x509/pkix
cmd/nm
cmd/objdump
cmd/pprof/internal/plugin
html/template
cmd/pprof/internal/symbolizer
cmd/pprof/internal/symbolz
cmd/yacc
archive/zip
cmd/pprof/internal/report
compress/lzw
compress/zlib
database/sql/driver
database/sql
encoding/csv
encoding/gob
image/gif
image/png
runtime/debug
testing
testing/iotest
cmd/pprof/internal/commands
testing/quick
text/scanner
cmd/pprof/internal/driver
runtime/cgo
net
os/user
# 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
phase `build' failed after 15.9 seconds
builder for `/gnu/store/gs9r320hhlmi87k3xbswng57icxsxv4n-go-1.4.3.drv' failed with exit code 1
@ build-failed /gnu/store/gs9r320hhlmi87k3xbswng57icxsxv4n-go-1.4.3.drv - 1 builder for `/gnu/store/gs9r320hhlmi87k3xbswng57icxsxv4n-go-1.4.3.drv' failed with exit code 1
guix build: error: build failed: build of `/gnu/store/gs9r320hhlmi87k3xbswng57icxsxv4n-go-1.4.3.drv' failed
------
Any ideas?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Go 1.4.3 failing on core-updates
2016-10-15 20:12 Go 1.4.3 failing on core-updates Leo Famulari
@ 2016-10-17 8:23 ` Andy Wingo
2016-10-22 6:28 ` Leo Famulari
0 siblings, 1 reply; 4+ messages in thread
From: Andy Wingo @ 2016-10-17 8:23 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel, Matthew Jordan
On Sat 15 Oct 2016 22:12, Leo Famulari <leo@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?
Andy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Go 1.4.3 failing on core-updates
2016-10-17 8:23 ` Andy Wingo
@ 2016-10-22 6:28 ` Leo Famulari
2016-10-24 21:12 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2016-10-22 6:28 UTC (permalink / raw)
To: Andy Wingo; +Cc: guix-devel, Matthew Jordan
On Mon, Oct 17, 2016 at 10:23:08AM +0200, Andy Wingo wrote:
> On Sat 15 Oct 2016 22:12, Leo Famulari <leo@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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Go 1.4.3 failing on core-updates
2016-10-22 6:28 ` Leo Famulari
@ 2016-10-24 21:12 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2016-10-24 21:12 UTC (permalink / raw)
To: Leo Famulari; +Cc: guix-devel, Matthew Jordan
Leo Famulari <leo@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 <leo@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’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-10-24 21:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-15 20:12 Go 1.4.3 failing on core-updates Leo Famulari
2016-10-17 8:23 ` Andy Wingo
2016-10-22 6:28 ` Leo Famulari
2016-10-24 21:12 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).