Skip to content

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

Description

@ggl

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions