Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/dist: Go 1.5 w/ stale intermediate files fails to build #12352

Closed
ggl opened this issue Aug 26, 2015 · 1 comment
Closed

cmd/dist: Go 1.5 w/ stale intermediate files fails to build #12352

ggl opened this issue Aug 26, 2015 · 1 comment

Comments

@ggl
Copy link

ggl commented Aug 26, 2015

Using the Go 1.4 tag to boostrap. Output below.

$ ./all.bash 
##### Building Go bootstrap tool.
cmd/dist

##### Building Go toolchain using /home/gelu/go1.4.
bootstrap/internal/obj
bootstrap/asm/internal/flags
bootstrap/compile/internal/big
bootstrap/internal/obj/arm
bootstrap/internal/obj/arm64
bootstrap/internal/obj/ppc64
bootstrap/internal/obj/x86
bootstrap/asm/internal/lex
bootstrap/internal/gcprog
bootstrap/compile/internal/gc
bootstrap/asm/internal/arch
bootstrap/asm/internal/asm
bootstrap/asm
bootstrap/link/internal/ld
bootstrap/link/internal/amd64
bootstrap/link/internal/arm
bootstrap/link/internal/arm64
bootstrap/link/internal/ppc64
bootstrap/link/internal/x86
bootstrap/link
bootstrap/compile/internal/amd64
bootstrap/compile/internal/arm
bootstrap/compile/internal/arm64
bootstrap/compile/internal/ppc64
bootstrap/compile/internal/x86
bootstrap/compile

##### Building go_bootstrap for host, linux/amd64.
runtime
/home/gelu/go/src/runtime/zruntime_defs_linux_amd64.go:9: _Gidle redeclared in this block
    previous declaration at /home/gelu/go/src/runtime/runtime2.go:18
/home/gelu/go/src/runtime/zruntime_defs_linux_amd64.go:10: _Grunnable redeclared in this block
    previous declaration at /home/gelu/go/src/runtime/runtime2.go:19
/home/gelu/go/src/runtime/zruntime_defs_linux_amd64.go:11: _Grunning redeclared in this block
    previous declaration at /home/gelu/go/src/runtime/runtime2.go:20
/home/gelu/go/src/runtime/zruntime_defs_linux_amd64.go:12: _Gsyscall redeclared in this block
    previous declaration at /home/gelu/go/src/runtime/runtime2.go:21
/home/gelu/go/src/runtime/zruntime_defs_linux_amd64.go:13: _Gwaiting redeclared in this block
    previous declaration at /home/gelu/go/src/runtime/runtime2.go:22
/home/gelu/go/src/runtime/zruntime_defs_linux_amd64.go:14: _Gmoribund_unused redeclared in this block
    previous declaration at /home/gelu/go/src/runtime/runtime2.go:23
/home/gelu/go/src/runtime/zruntime_defs_linux_amd64.go:15: _Gdead redeclared in this block
    previous declaration at /home/gelu/go/src/runtime/runtime2.go:24
/home/gelu/go/src/runtime/zruntime_defs_linux_amd64.go:16: _Genqueue redeclared in this block
    previous declaration at /home/gelu/go/src/runtime/runtime2.go:25
/home/gelu/go/src/runtime/zruntime_defs_linux_amd64.go:17: _Gcopystack redeclared in this block
    previous declaration at /home/gelu/go/src/runtime/runtime2.go:26
/home/gelu/go/src/runtime/zruntime_defs_linux_amd64.go:18: _Gscan redeclared in this block
    previous declaration at /home/gelu/go/src/runtime/runtime2.go:28
/home/gelu/go/src/runtime/zruntime_defs_linux_amd64.go:18: too many errors
go tool dist: FAILED: /home/gelu/go/pkg/tool/linux_amd64/compile -pack -o /tmp/go-tool-dist-002527575/_go_.a -p runtime -+ -asmhdr /tmp/go-tool-dist-002527575/go_asm.h /home/gelu/go/src/runtime/alg.go /home/gelu/go/src/runtime/arch1_amd64.go /home/gelu/go/src/runtime/arch_amd64.go /home/gelu/go/src/runtime/atomic_amd64x.go /home/gelu/go/src/runtime/atomic_pointer.go /home/gelu/go/src/runtime/cgo.go /home/gelu/go/src/runtime/cgocall.go /home/gelu/go/src/runtime/cgocallback.go /home/gelu/go/src/runtime/chan.go /home/gelu/go/src/runtime/compiler.go /home/gelu/go/src/runtime/complex.go /home/gelu/go/src/runtime/cpuprof.go /home/gelu/go/src/runtime/cputicks.go /home/gelu/go/src/runtime/debug.go /home/gelu/go/src/runtime/defs_linux_amd64.go /home/gelu/go/src/runtime/env_posix.go /home/gelu/go/src/runtime/error.go /home/gelu/go/src/runtime/extern.go /home/gelu/go/src/runtime/hash64.go /home/gelu/go/src/runtime/hashmap.go /home/gelu/go/src/runtime/hashmap_fast.go /home/gelu/go/src/runtime/heapdump.go /home/gelu/go/src/runtime/iface.go /home/gelu/go/src/runtime/lfstack.go /home/gelu/go/src/runtime/lfstack_amd64.go /home/gelu/go/src/runtime/lock_futex.go /home/gelu/go/src/runtime/malloc.go /home/gelu/go/src/runtime/mbarrier.go /home/gelu/go/src/runtime/mbitmap.go /home/gelu/go/src/runtime/mcache.go /home/gelu/go/src/runtime/mcentral.go /home/gelu/go/src/runtime/mem_linux.go /home/gelu/go/src/runtime/mfinal.go /home/gelu/go/src/runtime/mfixalloc.go /home/gelu/go/src/runtime/mgc.go /home/gelu/go/src/runtime/mgcmark.go /home/gelu/go/src/runtime/mgcsweep.go /home/gelu/go/src/runtime/mgcwork.go /home/gelu/go/src/runtime/mheap.go /home/gelu/go/src/runtime/mprof.go /home/gelu/go/src/runtime/msize.go /home/gelu/go/src/runtime/mstats.go /home/gelu/go/src/runtime/netpoll.go /home/gelu/go/src/runtime/netpoll_epoll.go /home/gelu/go/src/runtime/os1_linux.go /home/gelu/go/src/runtime/os2_linux.go /home/gelu/go/src/runtime/os_linux.go /home/gelu/go/src/runtime/panic.go /home/gelu/go/src/runtime/panic1.go /home/gelu/go/src/runtime/parfor.go /home/gelu/go/src/runtime/print1.go /home/gelu/go/src/runtime/print1_write.go /home/gelu/go/src/runtime/proc.go /home/gelu/go/src/runtime/proc1.go /home/gelu/go/src/runtime/race0.go /home/gelu/go/src/runtime/rdebug.go /home/gelu/go/src/runtime/rune.go /home/gelu/go/src/runtime/runtime.go /home/gelu/go/src/runtime/runtime1.go /home/gelu/go/src/runtime/runtime2.go /home/gelu/go/src/runtime/select.go /home/gelu/go/src/runtime/sema.go /home/gelu/go/src/runtime/signal1_unix.go /home/gelu/go/src/runtime/signal_amd64x.go /home/gelu/go/src/runtime/signal_linux.go /home/gelu/go/src/runtime/signal_linux_amd64.go /home/gelu/go/src/runtime/signal_unix.go /home/gelu/go/src/runtime/sigpanic_unix.go /home/gelu/go/src/runtime/sigqueue.go /home/gelu/go/src/runtime/slice.go /home/gelu/go/src/runtime/softfloat64.go /home/gelu/go/src/runtime/sqrt.go /home/gelu/go/src/runtime/stack1.go /home/gelu/go/src/runtime/stack2.go /home/gelu/go/src/runtime/string.go /home/gelu/go/src/runtime/string1.go /home/gelu/go/src/runtime/stubs.go /home/gelu/go/src/runtime/stubs2.go /home/gelu/go/src/runtime/symtab.go /home/gelu/go/src/runtime/sys_x86.go /home/gelu/go/src/runtime/time.go /home/gelu/go/src/runtime/trace.go /home/gelu/go/src/runtime/traceback.go /home/gelu/go/src/runtime/type.go /home/gelu/go/src/runtime/typekind.go /home/gelu/go/src/runtime/typekind1.go /home/gelu/go/src/runtime/unaligned1.go /home/gelu/go/src/runtime/vdso_linux_amd64.go /home/gelu/go/src/runtime/wbfat.go /home/gelu/go/src/runtime/zgoarch_amd64.go /home/gelu/go/src/runtime/zgoos_linux.go /home/gelu/go/src/runtime/zruntime_defs_linux_amd64.go /home/gelu/go/src/runtime/zversion.go: exit status 2
@minux
Copy link
Member

minux commented Aug 26, 2015 via email

@ggl ggl closed this as completed Aug 26, 2015
@mikioh mikioh changed the title Go 1.5 fails to build on amd64 cmd/dist: Go 1.5 w/ stale files fails to build Aug 29, 2015
@mikioh mikioh changed the title cmd/dist: Go 1.5 w/ stale files fails to build cmd/dist: Go 1.5 w/ stale intermediate files fails to build Aug 29, 2015
@golang golang locked and limited conversation to collaborators Sep 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants