Congrats and thank you for a new release! I was trying to build it from source and ran into the following error, any hints about what I'm missing are appreciated:
c4milo at camilompb in ~/Projects/c4milo/go/src on release-branch.go1.12 [$] $ ./all.bash Building Go cmd/dist using /Users/c4milo/Projects/c4milo/go-darwin-amd64-bootstrap/. Building Go toolchain1 using /Users/c4milo/Projects/c4milo/go-darwin-amd64-bootstrap/. Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1. Building Go toolchain2 using go_bootstrap and Go toolchain1. Building Go toolchain3 using go_bootstrap and Go toolchain2. Building packages and commands for darwin/amd64. ##### Testing packages. ok archive/tar 0.059s ok archive/zip 2.284s ok bufio 0.080s ok bytes 0.634s ok compress/bzip2 0.119s ok compress/flate 0.916s ok compress/gzip 0.024s ok compress/lzw 0.017s ok compress/zlib 0.028s ok container/heap 0.024s ok container/list 0.017s ok container/ring 0.023s ok context 1.027s ok crypto 0.011s ok crypto/aes 0.058s ok crypto/cipher 0.921s ok crypto/des 0.031s ok crypto/dsa 0.030s ok crypto/ecdsa 0.344s ok crypto/elliptic 0.554s ok crypto/hmac 0.013s ok crypto/internal/subtle 0.016s ok crypto/md5 0.015s ok crypto/rand 0.058s ok crypto/rc4 0.057s ok crypto/rsa 0.101s ok crypto/sha1 0.037s ok crypto/sha256 0.014s ok crypto/sha512 0.018s ok crypto/subtle 0.020s ok crypto/tls 1.595s ok crypto/x509 3.853s ok database/sql 0.602s ok database/sql/driver 0.015s ok debug/dwarf 0.028s ok debug/elf 0.038s ok debug/gosym 4.764s ok debug/macho 0.023s ok debug/pe 0.021s ok debug/plan9obj 0.017s ok encoding/ascii85 0.017s ok encoding/asn1 0.018s ok encoding/base32 0.031s ok encoding/base64 0.017s ok encoding/binary 0.014s ok encoding/csv 0.025s ok encoding/gob 0.055s ok encoding/hex 0.016s ok encoding/json 0.848s ok encoding/pem 0.045s ok encoding/xml 0.036s ok errors 0.013s ok expvar 0.033s ok flag 0.012s ok fmt 0.265s ok go/ast 0.016s ok go/build 0.623s ok go/constant 0.014s ok go/doc 0.072s ok go/format 0.019s ok go/importer 0.427s ok go/internal/gccgoimporter 0.023s ok go/internal/gcimporter 0.719s ok go/internal/srcimporter 2.683s ok go/parser 0.053s ok go/printer 0.439s ok go/scanner 0.012s ok go/token 0.037s ok go/types 1.794s ok hash 0.013s ok hash/adler32 0.016s ok hash/crc32 0.016s ok hash/crc64 0.013s ok hash/fnv 0.012s ok html 0.027s ok html/template 0.058s ok image 0.142s ok image/color 0.036s ok image/draw 0.115s ok image/gif 0.445s ok image/jpeg 0.495s ok image/png 0.047s ok index/suffixarray 0.016s ok internal/cpu 0.040s ok internal/fmtsort 0.012s ok internal/poll 0.034s ok internal/singleflight 0.023s ok internal/trace 4.343s ok internal/x/crypto/chacha20poly1305 0.177s ok internal/x/crypto/cryptobyte 0.015s ok internal/x/crypto/curve25519 0.042s ok internal/x/crypto/hkdf 0.012s ok internal/x/crypto/internal/chacha20 0.069s ok internal/x/crypto/poly1305 0.019s ok internal/x/net/dns/dnsmessage 0.063s ok internal/x/net/http/httpguts 0.016s ok internal/x/net/http/httpproxy 0.020s ok internal/x/net/http2/hpack 0.015s ok internal/x/net/idna 0.012s ok internal/x/net/nettest 0.810s ok internal/x/net/route 0.023s ok internal/x/text/transform 0.012s ok internal/x/text/unicode/norm 0.012s ok internal/xcoff 0.033s ok io 0.037s ok io/ioutil 0.015s ok log 0.016s ok log/syslog 4.260s ok math 0.015s ok math/big 2.743s ok math/bits 0.019s ok math/cmplx 0.015s ok math/rand 3.563s ok mime 0.018s ok mime/multipart 0.489s ok mime/quotedprintable 0.116s ok net 6.212s ok net/http 3.320s ok net/http/cgi 0.839s ok net/http/cookiejar 0.038s ok net/http/fcgi 0.031s ok net/http/httptest 0.056s ok net/http/httptrace 0.030s ok net/http/httputil 0.089s ok net/http/internal 0.012s ok net/http/pprof 2.039s ok net/internal/socktest 0.016s ok net/mail 0.019s ok net/rpc 0.056s ok net/rpc/jsonrpc 0.033s ok net/smtp 0.048s ok net/textproto 0.018s ok net/url 0.023s ok os 1.012s ok os/exec 2.171s ok os/signal 4.737s ok os/user 0.020s ok path 0.011s ok path/filepath 0.063s ok plugin 0.015s ok reflect 0.165s ok regexp 0.108s ok regexp/syntax 1.347s ok runtime 30.389s ok runtime/debug 0.080s ok runtime/internal/atomic 0.162s ok runtime/internal/math 0.010s ok runtime/internal/sys 0.011s ok runtime/pprof 13.246s ok runtime/pprof/internal/profile 0.012s ok runtime/trace 1.846s ok sort 0.162s ok strconv 1.872s ok strings 0.451s ok sync 0.328s ok sync/atomic 0.044s ok syscall 0.096s ok testing 0.910s ok testing/quick 0.174s ok text/scanner 0.014s ok text/tabwriter 0.013s ok text/template 0.964s ok text/template/parse 0.019s ok time 2.620s ok unicode 0.015s ok unicode/utf16 0.013s ok unicode/utf8 0.018s ok cmd/addr2line 5.558s ok cmd/api 0.053s ok cmd/asm/internal/asm 1.340s ok cmd/asm/internal/lex 0.016s ok cmd/compile 0.015s ok cmd/compile/internal/gc 26.294s ok cmd/compile/internal/ssa 0.455s ok cmd/compile/internal/syntax 0.021s ok cmd/compile/internal/test 0.011s [no tests to run] ok cmd/compile/internal/types 0.011s ok cmd/cover 3.559s ok cmd/doc 0.067s ok cmd/fix 12.704s ok cmd/go 96.537s ok cmd/go/internal/cache 4.526s ok cmd/go/internal/dirhash 0.017s ok cmd/go/internal/generate 0.038s ok cmd/go/internal/get 0.048s ok cmd/go/internal/imports 0.021s ok cmd/go/internal/load 0.019s ok cmd/go/internal/lockedfile 0.023s ok cmd/go/internal/lockedfile/internal/filelock 0.044s ok cmd/go/internal/modconv 0.057s ok cmd/go/internal/modfetch 0.084s ok cmd/go/internal/modfetch/codehost 0.016s ok cmd/go/internal/modfile 0.023s ok cmd/go/internal/modload 0.052s ok cmd/go/internal/module 0.013s ok cmd/go/internal/mvs 0.032s ok cmd/go/internal/par 0.040s ok cmd/go/internal/search 0.013s ok cmd/go/internal/semver 0.014s ok cmd/go/internal/txtar 0.011s ok cmd/go/internal/web2 0.034s ok cmd/go/internal/work 0.028s ok cmd/gofmt 0.065s ok cmd/internal/buildid 0.317s ok cmd/internal/dwarf 0.022s ok cmd/internal/edit 0.012s ok cmd/internal/goobj 1.247s ok cmd/internal/obj 0.011s ok cmd/internal/obj/arm64 0.062s ok cmd/internal/obj/x86 0.583s ok cmd/internal/objabi 0.016s ok cmd/internal/src 0.012s ok cmd/internal/test2json 0.130s ok cmd/link 7.879s ok cmd/link/internal/ld 1.694s ok cmd/link/internal/sym 0.011s ok cmd/nm 6.697s ok cmd/objdump 6.963s ok cmd/pack 6.357s ok cmd/trace 0.054s ok cmd/vendor/github.com/google/pprof/internal/binutils 0.127s ok cmd/vendor/github.com/google/pprof/internal/driver 0.500s ok cmd/vendor/github.com/google/pprof/internal/elfexec 0.012s ok cmd/vendor/github.com/google/pprof/internal/graph 0.020s ok cmd/vendor/github.com/google/pprof/internal/measurement 0.011s ok cmd/vendor/github.com/google/pprof/internal/report 0.062s ok cmd/vendor/github.com/google/pprof/internal/symbolizer 0.029s ok cmd/vendor/github.com/google/pprof/internal/symbolz 0.053s ok cmd/vendor/github.com/google/pprof/profile 0.074s ok cmd/vendor/github.com/ianlancetaylor/demangle 0.029s ok cmd/vendor/golang.org/x/arch/arm/armasm 0.021s ok cmd/vendor/golang.org/x/arch/arm64/arm64asm 0.207s ok cmd/vendor/golang.org/x/arch/ppc64/ppc64asm 0.013s ok cmd/vendor/golang.org/x/arch/x86/x86asm 0.107s ok cmd/vendor/golang.org/x/crypto/ssh/terminal 0.014s ok cmd/vendor/golang.org/x/sys/unix 3.049s ok cmd/vet 9.400s ##### os/user with tag osusergo ok os/user 0.008s ##### GOMAXPROCS=2 runtime -cpu=1,2,4 -quick ok runtime 10.427s ##### Testing without libgcc. ok crypto/x509 1.257s ok net 0.016s ok os/user 0.010s ##### sync -cpu=10 ok sync 0.242s ##### Testing race detector ok runtime/race 16.618s ok flag 1.029s ok net 1.106s ok os 1.108s ok os/exec 3.129s ok encoding/gob 1.033s PASS scatter = 0x41f5ea0 hello from C sqrt is: 0 ok _/Users/c4milo/Projects/c4milo/go/misc/cgo/test 2.551s ok flag 1.025s ok os/exec 3.115s ##### ../misc/cgo/stdio ##### ../misc/cgo/life ##### ../misc/cgo/fortran PASS ok _/Users/c4milo/Projects/c4milo/go/misc/cgo/fortran 0.017s ##### ../misc/cgo/test PASS scatter = 0x4147080 hello from C sqrt is: 0 ok _/Users/c4milo/Projects/c4milo/go/misc/cgo/test 2.094s PASS scatter = 0x10025a0 hello from C sqrt is: 0 ok _/Users/c4milo/Projects/c4milo/go/misc/cgo/test 1.586s PASS scatter = 0x4147080 hello from C sqrt is: 0 ok _/Users/c4milo/Projects/c4milo/go/misc/cgo/test 1.602s PASS scatter = 0x4147080 hello from C sqrt is: 0 ok _/Users/c4milo/Projects/c4milo/go/misc/cgo/test 2.003s ##### ../misc/cgo/testso ##### ../misc/cgo/testsovar ##### ../misc/cgo/testcarchive --- FAIL: TestInstall (1.59s) carchive_test.go:214: [go install -i -buildmode=c-archive libgo] carchive_test.go:214: [clang -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/sb/d7dxdzv55g3g1p4xtg1mfsm40000gp/T/go-build876713629=/tmp/go-build -gno-record-gcc-switches -fno-common -framework CoreFoundation -framework Foundation -I pkg/darwin_amd64 -o ./testp1 main.c main_unix.c pkg/darwin_amd64/libgo.a] carchive_test.go:214: main_unix.c:39:22: warning: result of comparison against a string literal is unspecified (use strncmp instead) [-Wstring-compare] ld: warning: ignoring file pkg/darwin_amd64/libgo.a, file was built for archive which is not the architecture being linked (x86_64): pkg/darwin_amd64/libgo.a Undefined symbols for architecture x86_64: "_CheckArgs", referenced from: _main in main-69510b.o "_DidInitRun", referenced from: _main in main-69510b.o "_DidMainRun", referenced from: _main in main-69510b.o "_FromPkg", referenced from: _main in main-69510b.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) carchive_test.go:214: exit status 1 --- FAIL: TestEarlySignalHandler (1.54s) carchive_test.go:259: ld: warning: ignoring file libgo2.a, file was built for archive which is not the architecture being linked (x86_64): libgo2.a Undefined symbols for architecture x86_64: "_GoRaiseSIGPIPE", referenced from: _main in main2-3a126d.o "_RunGoroutines", referenced from: _main in main2-3a126d.o "_TestSEGV", referenced from: _main in main2-3a126d.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) carchive_test.go:260: exit status 1 --- FAIL: TestSignalForwarding (1.15s) carchive_test.go:292: main5.c:42:25: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] main5.c:42:25: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ld: warning: ignoring file libgo2.a, file was built for archive which is not the architecture being linked (x86_64): libgo2.a Undefined symbols for architecture x86_64: "_Noop", referenced from: _main in main5-124762.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) carchive_test.go:293: exit status 1 --- FAIL: TestSignalForwardingExternal (1.12s) carchive_test.go:336: main5.c:42:25: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] main5.c:42:25: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ld: warning: ignoring file libgo2.a, file was built for archive which is not the architecture being linked (x86_64): libgo2.a Undefined symbols for architecture x86_64: "_Noop", referenced from: _main in main5-027f39.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) carchive_test.go:337: exit status 1 --- FAIL: TestOsSignal (1.34s) carchive_test.go:452: ld: warning: ignoring file libgo3.a, file was built for archive which is not the architecture being linked (x86_64): libgo3.a Undefined symbols for architecture x86_64: "_CatchSIGIO", referenced from: _main in main3-05e71f.o "_ProvokeSIGPIPE", referenced from: _main in main3-05e71f.o "_ResetSIGIO", referenced from: _main in main3-05e71f.o "_SawSIGIO", referenced from: _main in main3-05e71f.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) carchive_test.go:453: exit status 1 --- FAIL: TestSigaltstack (1.51s) carchive_test.go:488: ld: warning: ignoring file libgo4.a, file was built for archive which is not the architecture being linked (x86_64): libgo4.a Undefined symbols for architecture x86_64: "_GoCatchSIGIO", referenced from: _main in main4-d4dff8.o "_GoRaiseSIGIO", referenced from: _thread2 in main4-d4dff8.o "_SIGIOCount", referenced from: _thread1 in main4-d4dff8.o _thread2 in main4-d4dff8.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) carchive_test.go:489: exit status 1 --- FAIL: TestCompileWithoutShared (1.53s) carchive_test.go:688: [go build -buildmode=c-archive -gcflags=-shared=false -o libgo2.a libgo2] carchive_test.go:690: carchive_test.go:704: [clang -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/sb/d7dxdzv55g3g1p4xtg1mfsm40000gp/T/go-build876713629=/tmp/go-build -gno-record-gcc-switches -fno-common -framework CoreFoundation -framework Foundation -I pkg/darwin_amd64 -o ./testnoshared -no-pie main5.c libgo2.a] carchive_test.go:720: main5.c:42:25: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference] main5.c:42:25: note: consider using __builtin_trap() or qualifying pointer with 'volatile' ld: warning: ignoring file libgo2.a, file was built for archive which is not the architecture being linked (x86_64): libgo2.a Undefined symbols for architecture x86_64: "_Noop", referenced from: _main in main5-fcb06b.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) carchive_test.go:722: exit status 1 FAIL 2019/02/26 18:46:03 Failed: exit status 1 On Monday, February 25, 2019 at 8:07:12 PM UTC-5, Andrew Bonventre wrote: > > Hello gophers, > > We just released Go 1.12. > > You can read the announcement blog post here: > https://blog.golang.org/go1.12 > > You can download binary and source distributions from our download page: > https://golang.org/dl/ > > To compile from source using a Git checkout, update to the release with > "git checkout go1.12" and build as usual. > > To find out what has changed in Go 1.12, read the release notes: > https://golang.org/doc/go1.12 > > Thanks to everyone who contributed to the release! > > Cheers, > The Go Team > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.