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

plugin: test fails with segmentation fault on ARMv7 board #18397

Closed
benshi001 opened this issue Dec 21, 2016 · 19 comments
Closed

plugin: test fails with segmentation fault on ARMv7 board #18397

benshi001 opened this issue Dec 21, 2016 · 19 comments
Labels
FrozenDueToAge help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@benshi001
Copy link
Member

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

The newest go of the master branch (Dec 21, 2016)

What operating system and processor architecture are you using (go env)?

Raspberry Pi 2 board:
Quad core ARMv7
Debian 8
GCC 4.9.2
gold 1.11 (binutils 2.25)
go1.7.4 as bootstrap
glibc 2.19

What did you do?

I try to build golang from source with the following steps,

  1. Install go1.7.4 to /usr/local/go as bootstrap
  2. git clone https://github.com/golang/go.git
  3. cd go/src/
  4. ./all.bash

What did you expect to see?

Regression test passed.

What did you see instead?

Errors as follow.

pi@raspberrypi:~/go/src $ ./all.bash

Building Go bootstrap tool.

cmd/dist

Building Go toolchain using /home/pi/go1.4.

bootstrap/cmd/internal/sys
bootstrap/cmd/internal/gcprog
bootstrap/cmd/internal/dwarf
bootstrap/cmd/asm/internal/flags
bootstrap/cmd/internal/bio
bootstrap/cmd/compile/internal/syntax
bootstrap/math/big
bootstrap/cmd/internal/obj
bootstrap/debug/pe
bootstrap/cmd/internal/obj/arm
bootstrap/cmd/internal/obj/arm64
bootstrap/cmd/internal/obj/mips
bootstrap/cmd/internal/obj/ppc64
bootstrap/cmd/internal/obj/s390x
bootstrap/cmd/internal/obj/x86
bootstrap/cmd/asm/internal/lex
bootstrap/cmd/link/internal/ld
bootstrap/cmd/compile/internal/ssa
bootstrap/cmd/asm/internal/arch
bootstrap/cmd/asm/internal/asm
bootstrap/cmd/asm
bootstrap/cmd/link/internal/amd64
bootstrap/cmd/link/internal/arm
bootstrap/cmd/link/internal/arm64
bootstrap/cmd/link/internal/mips
bootstrap/cmd/link/internal/mips64
bootstrap/cmd/link/internal/ppc64
bootstrap/cmd/link/internal/s390x
bootstrap/cmd/link/internal/x86
bootstrap/cmd/link
bootstrap/cmd/compile/internal/gc
bootstrap/cmd/compile/internal/amd64
bootstrap/cmd/compile/internal/arm
bootstrap/cmd/compile/internal/arm64
bootstrap/cmd/compile/internal/mips
bootstrap/cmd/compile/internal/mips64
bootstrap/cmd/compile/internal/ppc64
bootstrap/cmd/compile/internal/s390x
bootstrap/cmd/compile/internal/x86
bootstrap/cmd/compile

Building go_bootstrap for host, linux/arm.

runtime/internal/sys
runtime/internal/atomic
runtime
^C
pi@raspberrypi:/go/src $ cd ..
pi@raspberrypi:
/go $ git pull
Already up-to-date.
pi@raspberrypi:/go $ cd src/
pi@raspberrypi:
/go/src $ ./all.bash

Building Go bootstrap tool.

cmd/dist

Building Go toolchain using /home/pi/go1.4.

bootstrap/cmd/internal/sys
bootstrap/cmd/internal/dwarf
bootstrap/cmd/internal/bio
bootstrap/cmd/asm/internal/flags
bootstrap/cmd/compile/internal/syntax
bootstrap/cmd/internal/gcprog
bootstrap/cmd/internal/obj
bootstrap/math/big
bootstrap/debug/pe
bootstrap/cmd/internal/obj/arm
bootstrap/cmd/internal/obj/arm64
bootstrap/cmd/internal/obj/mips
bootstrap/cmd/internal/obj/ppc64
bootstrap/cmd/internal/obj/s390x
bootstrap/cmd/internal/obj/x86
bootstrap/cmd/asm/internal/lex
bootstrap/cmd/link/internal/ld
bootstrap/cmd/asm/internal/arch
bootstrap/cmd/compile/internal/ssa
bootstrap/cmd/asm/internal/asm
bootstrap/cmd/asm
bootstrap/cmd/link/internal/amd64
bootstrap/cmd/link/internal/arm
bootstrap/cmd/link/internal/arm64
bootstrap/cmd/link/internal/mips
bootstrap/cmd/link/internal/mips64
bootstrap/cmd/link/internal/ppc64
bootstrap/cmd/link/internal/s390x
bootstrap/cmd/link/internal/x86
bootstrap/cmd/link
bootstrap/cmd/compile/internal/gc
bootstrap/cmd/compile/internal/amd64
bootstrap/cmd/compile/internal/arm64
bootstrap/cmd/compile/internal/arm
bootstrap/cmd/compile/internal/mips
bootstrap/cmd/compile/internal/mips64
bootstrap/cmd/compile/internal/ppc64
bootstrap/cmd/compile/internal/s390x
bootstrap/cmd/compile/internal/x86
bootstrap/cmd/compile

Building go_bootstrap for host, linux/arm.

runtime/internal/sys
runtime/internal/atomic
runtime
unicode/utf8
sync/atomic
math
unicode
unicode/utf16
internal/syscall/windows/sysdll
internal/race
encoding
errors
sync
internal/singleflight
syscall
io
hash
hash/adler32
strconv
bytes
strings
bufio
path
encoding/base64
reflect
crypto
crypto/sha1
internal/syscall/windows
internal/syscall/windows/registry
time
os
os/signal
fmt
sort
encoding/binary
container/heap
path/filepath
regexp/syntax
io/ioutil
context
net/url
go/token
text/template/parse
flag
log
debug/dwarf
compress/flate
encoding/json
go/scanner
os/exec
regexp
go/ast
compress/zlib
text/template
debug/macho
debug/elf
go/parser
go/doc
go/build
cmd/go

Building packages and commands for linux/arm.

runtime/internal/sys
runtime/internal/atomic
runtime
internal/race
sync/atomic
errors
unicode
unicode/utf8
math
sync
container/list
io
syscall
hash
hash/adler32
hash/crc32
container/ring
crypto/subtle
crypto/cipher
bytes
strconv
strings
bufio
text/tabwriter
path
reflect
crypto
crypto/aes
math/rand
time
crypto/sha512
crypto/hmac
crypto/internal/cipherhw
crypto/md5
internal/syscall/unix
crypto/rc4
crypto/sha1
crypto/sha256
encoding/base64
internal/nettrace
internal/singleflight
vendor/golang_org/x/crypto/poly1305
vendor/golang_org/x/crypto/curve25519
encoding
encoding/ascii85
encoding/base32
unicode/utf16
vendor/golang_org/x/text/transform
hash/crc64
hash/fnv
html
image/color
os
image
image/color/palette
internal/syscall/windows
internal/syscall/windows/registry
internal/syscall/windows/sysdll
runtime/trace
math/cmplx
runtime/race
cmd/compile/internal/test
cmd/vet/internal/whitelist
os/signal
image/internal/imageutil
image/draw
image/jpeg
fmt
encoding/binary
sort
path/filepath
regexp/syntax
cmd/internal/sys
compress/bzip2
io/ioutil
container/heap
crypto/des
encoding/pem
vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20
runtime/debug
vendor/golang_org/x/crypto/chacha20poly1305
cmd/internal/dwarf
flag
log
debug/dwarf
compress/flate
debug/gosym
cmd/internal/obj
debug/plan9obj
cmd/vendor/golang.org/x/arch/arm/armasm
compress/zlib
cmd/vendor/golang.org/x/arch/ppc64/ppc64asm
debug/elf
debug/macho
cmd/internal/goobj
debug/pe
cmd/vendor/golang.org/x/arch/x86/x86asm
regexp
archive/tar
archive/zip
compress/gzip
compress/lzw
context
math/big
encoding/hex
go/token
os/exec
go/scanner
cmd/internal/objfile
go/ast
database/sql/driver
database/sql
cmd/addr2line
crypto/dsa
crypto/elliptic
encoding/asn1
crypto/rand
crypto/rsa
go/parser
go/printer
encoding/csv
crypto/ecdsa
crypto/x509/pkix
encoding/gob
encoding/json
encoding/xml
cmd/cgo
vendor/golang_org/x/net/http2/hpack
vendor/golang_org/x/net/idna
vendor/golang_org/x/text/unicode/norm
vendor/golang_org/x/text/width
mime
mime/quotedprintable
net/http/internal
net/url
text/template/parse
go/constant
go/format
text/template
text/scanner
go/types
image/gif
image/png
index/suffixarray
go/doc
html/template
runtime/cgo
go/build
internal/pprof/profile
testing
net
internal/testenv
internal/trace
runtime/pprof/internal/protopprof
runtime/pprof
net/internal/socktest
os/user
go/internal/gccgoimporter
go/internal/gcimporter
plugin
go/importer
testing/internal/testdeps
testing/iotest
testing/quick
cmd/api
cmd/internal/obj/arm
cmd/internal/obj/arm64
cmd/internal/obj/mips
cmd/internal/obj/ppc64
cmd/internal/obj/s390x
cmd/internal/obj/x86
crypto/x509
vendor/golang_org/x/net/lex/httplex
net/textproto
log/syslog
crypto/tls
cmd/asm/internal/flags
mime/multipart
net/mail
cmd/asm/internal/arch
cmd/asm/internal/lex
cmd/internal/bio
cmd/compile/internal/ssa
cmd/compile/internal/syntax
cmd/asm/internal/asm
cmd/asm
net/http/httptrace
net/http
net/smtp
cmd/internal/gcprog
cmd/internal/browser
cmd/cover
cmd/dist
cmd/doc
cmd/fix
cmd/gofmt
cmd/link/internal/ld
cmd/nm
expvar
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/http/pprof
net/rpc
cmd/go
net/rpc/jsonrpc
cmd/objdump
cmd/pack
cmd/pprof/internal/plugin
cmd/link/internal/amd64
cmd/link/internal/arm
cmd/link/internal/arm64
cmd/link/internal/mips
cmd/link/internal/mips64
cmd/link/internal/ppc64
cmd/link/internal/s390x
cmd/link/internal/x86
cmd/pprof/internal/report
cmd/link
cmd/pprof/internal/svg
cmd/pprof/internal/tempfile
cmd/pprof/internal/commands
cmd/pprof/internal/fetch
cmd/pprof/internal/driver
cmd/pprof/internal/symbolizer
cmd/pprof/internal/symbolz
cmd/trace
cmd/pprof
cmd/vet/internal/cfg
cmd/vet
cmd/compile/internal/gc
cmd/compile/internal/amd64
cmd/compile/internal/arm
cmd/compile/internal/arm64
cmd/compile/internal/mips
cmd/compile/internal/mips64
cmd/compile/internal/ppc64
cmd/compile/internal/s390x
cmd/compile/internal/x86
cmd/compile

cmd/go terminal test

PASS
ok _/home/pi/go/src/cmd/go/testdata/testterminal18153 0.012s

Testing packages.

ok archive/tar 0.216s
ok archive/zip 32.868s
ok bufio 0.710s
ok bytes 1.593s
ok compress/bzip2 0.737s
ok compress/flate 12.173s
ok compress/gzip 0.188s
ok compress/lzw 0.051s
ok compress/zlib 0.251s
ok container/heap 0.025s
ok container/list 0.082s
ok container/ring 0.198s
ok context 1.078s
ok crypto/aes 0.243s
ok crypto/cipher 0.050s
ok crypto/des 0.231s
ok crypto/dsa 0.108s
ok crypto/ecdsa 0.912s
ok crypto/elliptic 0.237s
ok crypto/hmac 0.038s
ok crypto/md5 0.029s
ok crypto/rand 0.176s
ok crypto/rc4 0.941s
ok crypto/rsa 3.468s
ok crypto/sha1 0.044s
ok crypto/sha256 0.025s
ok crypto/sha512 0.040s
ok crypto/subtle 0.044s
ok crypto/tls 14.576s
ok crypto/x509 9.402s
ok database/sql 0.501s
ok database/sql/driver 0.021s
ok debug/dwarf 0.080s
ok debug/elf 0.193s
ok debug/gosym 0.054s
ok debug/macho 0.035s
ok debug/pe 0.075s
ok debug/plan9obj 0.028s
ok encoding/ascii85 0.038s
ok encoding/asn1 0.058s
ok encoding/base32 0.075s
ok encoding/base64 0.029s
ok encoding/binary 0.032s
ok encoding/csv 0.023s
ok encoding/gob 0.407s
ok encoding/hex 0.024s
ok encoding/json 4.428s
ok encoding/pem 0.242s
ok encoding/xml 0.109s
ok errors 0.026s
ok expvar 0.034s
ok flag 0.038s
ok fmt 0.689s
ok go/ast 0.060s
ok go/build 1.417s
ok go/constant 0.038s
ok go/doc 0.584s
ok go/format 0.062s
ok go/internal/gccgoimporter 0.078s
ok go/internal/gcimporter 3.310s
ok go/parser 0.281s
ok go/printer 3.521s
ok go/scanner 0.039s
ok go/token 0.222s
ok go/types 6.443s
ok hash/adler32 0.043s
ok hash/crc32 0.038s
ok hash/crc64 0.061s
ok hash/fnv 0.029s
ok html 0.022s
ok html/template 0.482s
ok image 1.001s
ok image/color 0.462s
ok image/draw 0.602s
ok image/gif 0.736s
ok image/jpeg 1.288s
ok image/png 0.396s
ok index/suffixarray 0.107s
ok internal/pprof/profile 0.017s
ok internal/singleflight 0.030s
ok internal/trace 3.988s
ok io 0.069s
ok io/ioutil 0.029s
ok log 0.028s
ok log/syslog 1.325s
ok math 0.030s
ok math/big 19.047s
ok math/cmplx 0.021s
ok math/rand 0.615s
ok mime 0.070s
ok mime/multipart 3.410s
ok mime/quotedprintable 1.822s
ok net 7.348s
ok net/http 18.634s
ok net/http/cgi 2.597s
ok net/http/cookiejar 0.075s
ok net/http/fcgi 0.049s
ok net/http/httptest 0.100s
ok net/http/httptrace 0.081s
ok net/http/httputil 0.365s
ok net/http/internal 0.027s
ok net/internal/socktest 0.019s
ok net/mail 0.077s
ok net/rpc 0.129s
ok net/rpc/jsonrpc 0.087s
ok net/smtp 0.181s
ok net/textproto 0.027s
ok net/url 0.142s
ok os 1.043s
ok os/exec 2.220s
ok os/signal 4.502s
ok os/user 0.029s
ok path 0.031s
ok path/filepath 0.083s
ok reflect 0.760s
ok regexp 1.267s
ok regexp/syntax 5.003s
ok runtime 184.789s
ok runtime/debug 0.073s
ok runtime/internal/atomic 0.814s
ok runtime/internal/sys 0.048s
ok runtime/pprof 6.734s
ok runtime/pprof/internal/protopprof 0.051s
ok runtime/trace 18.681s
ok sort 0.446s
ok strconv 4.684s
ok strings 1.187s
ok sync 1.152s
ok sync/atomic 0.425s
ok syscall 0.222s
ok testing 2.417s
ok testing/quick 0.509s
ok text/scanner 0.049s
ok text/tabwriter 0.026s
ok text/template 4.360s
ok text/template/parse 0.091s
ok time 5.065s
ok unicode 0.078s
ok unicode/utf16 0.033s
ok unicode/utf8 0.051s
ok vendor/golang_org/x/crypto/chacha20poly1305 2.197s
ok vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20 0.028s
ok vendor/golang_org/x/crypto/curve25519 2.004s
ok vendor/golang_org/x/crypto/poly1305 0.034s
ok vendor/golang_org/x/net/http2/hpack 0.085s
ok vendor/golang_org/x/net/idna 0.079s
ok vendor/golang_org/x/net/lex/httplex 0.037s
ok cmd/addr2line 7.326s
ok cmd/api 0.114s
ok cmd/asm/internal/asm 2.624s
ok cmd/asm/internal/lex 0.068s
ok cmd/compile 54.931s
ok cmd/compile/internal/gc 67.746s
ok cmd/compile/internal/ssa 1.888s
ok cmd/compile/internal/syntax 0.056s
ok cmd/compile/internal/test 0.017s [no tests to run]
ok cmd/cover 10.821s
ok cmd/doc 0.301s
ok cmd/fix 0.221s
ok cmd/go 24.746s
ok cmd/gofmt 0.317s
ok cmd/internal/goobj 0.016s
ok cmd/internal/obj 0.048s
ok cmd/internal/obj/arm64 0.034s
ok cmd/internal/obj/x86 0.020s
ok cmd/link 0.045s
ok cmd/nm 4.930s
ok cmd/objdump 10.864s
ok cmd/pack 13.316s
ok cmd/trace 0.043s
ok cmd/vendor/golang.org/x/arch/arm/armasm 0.067s
ok cmd/vendor/golang.org/x/arch/ppc64/ppc64asm 0.028s
ok cmd/vendor/golang.org/x/arch/x86/x86asm 1.451s
ok cmd/vet 19.389s
ok cmd/vet/internal/cfg 0.020s

GOMAXPROCS=2 runtime -cpu=1,2,4

ok runtime 292.076s

sync -cpu=10

ok sync 1.026s

../misc/cgo/stdio
../misc/cgo/life
../misc/cgo/test

PASS
ok _/home/pi/go/misc/cgo/test 56.216s
PASS
ok _/home/pi/go/misc/cgo/test 57.004s
PASS
ok _/home/pi/go/misc/cgo/test 56.994s
PASS
ok _/home/pi/go/misc/cgo/testtls 0.020s
PASS
ok _/home/pi/go/misc/cgo/testtls 0.019s
PASS
ok _/home/pi/go/misc/cgo/testtls 0.014s
PASS
ok _/home/pi/go/misc/cgo/nocgo 0.033s
PASS
ok _/home/pi/go/misc/cgo/nocgo 0.034s
PASS
ok _/home/pi/go/misc/cgo/nocgo 0.040s
PASS
ok _/home/pi/go/misc/cgo/test 30.053s
PASS
ok _/home/pi/go/misc/cgo/testtls 0.024s
PASS
ok _/home/pi/go/misc/cgo/nocgo 0.059s

../misc/cgo/testgodefs
../misc/cgo/testso
../misc/cgo/testsovar
../misc/cgo/testcshared

ok

../misc/cgo/testshared

PASS
ok _/home/pi/go/misc/cgo/testshared 175.317s

../misc/cgo/testplugin

./test.bash: line 34: 10575 Segmentation fault LD_LIBRARY_PATH=$(pwd) ./host
2016/12/21 02:46:09 Failed: exit status 139

../misc/cgo/errors
../misc/cgo/testsigfwd
../test/bench/go1

testing: warning: no tests to run
PASS
ok _/home/pi/go/test/bench/go1 8.534s

../test

skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error

API check

skipped due to earlier error
2016/12/21 02:46:09 FAILED

@ianlancetaylor ianlancetaylor changed the title Regression Test Failure on ARMv7 Board plugin: test fails with segmentation fault on ARMv7 board Dec 21, 2016
@ianlancetaylor ianlancetaylor added this to the Go1.8Maybe milestone Dec 21, 2016
@ianlancetaylor
Copy link
Contributor

CC @crawshaw

@benshi001
Copy link
Member Author

This issue remains in the newest go (Jan 3, 2017, commit af7bc07)

af7bc07

@gopherbot
Copy link

CL https://golang.org/cl/35566 mentions this issue.

@rsc
Copy link
Contributor

rsc commented Feb 7, 2017

This is unfortunate, but since plugin support is experimental in Go 1.8, we won't block the release for it.

@rsc rsc modified the milestones: Go1.9Early, Go1.8Maybe Feb 7, 2017
@philhofer
Copy link
Contributor

philhofer commented Feb 28, 2017

Still seeing testplugin fail on ARMv7:

##### ../misc/cgo/testplugin
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb6f7e134]

runtime stack:
runtime.throw(0x13e5b0, 0x2a)
        /home/phil/go/src/runtime/panic.go:596 +0x70
runtime.sigpanic()
        /home/phil/go/src/runtime/signal_unix.go:332 +0x250

goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x113aac, 0x10445c58, 0x1040e108)
        /home/phil/go/src/runtime/cgocall.go:132 +0xbc fp=0x10445c40 sp=0x10445c24
plugin._Cfunc_pluginOpen(0x1bb1f0, 0x1040e108, 0x0)
        plugin/_obj/_cgo_gotypes.go:98 +0x38 fp=0x10445c54 sp=0x10445c40
plugin.open.func3(0x1bb1f0, 0x1040e108, 0x10414210)
        /home/phil/go/src/plugin/plugin_dlopen.go:61 +0x90 fp=0x10445c70 sp=0x10445c54
plugin.open(0x138a8d, 0xa, 0x0, 0x0, 0x0)
        /home/phil/go/src/plugin/plugin_dlopen.go:61 +0x158 fp=0x10445db0 sp=0x10445c70
plugin.Open(0x138a8d, 0xa, 0x0, 0x0, 0x0)
        /home/phil/go/src/plugin/plugin.go:30 +0x24 fp=0x10445dc8 sp=0x10445db0
main.main()
        /home/phil/go/misc/cgo/testplugin/src/host/host.go:55 +0x38 fp=0x10445fbc sp=0x10445dc8
runtime.main()
        /home/phil/go/src/runtime/proc.go:185 +0x1e4 fp=0x10445fe4 sp=0x10445fbc
runtime.goexit()
        /home/phil/go/src/runtime/asm_arm.s:975 +0x4 fp=0x10445fe4 sp=0x10445fe4

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
        /home/phil/go/src/runtime/asm_arm.s:975 +0x4
2017/02/28 23:03:15 Failed: exit status 2

This is on a Scaleway ARMv7 instance, which, IIRC, is what the ARM builders are.

@philhofer
Copy link
Contributor

Still seeing this on tip (ccae744). Just saw it on a Scaleway instance running Arch. GCC 6.3.1, ld 2.27. What's different in the builder environment?

@bradfitz
Copy link
Contributor

Our Scaleway builders run Debian Jessie with Linux 3.2.34 and gcc 4.9.2. They might be due for an update, but that's what we've got at the moment (50 of them).

@philhofer
Copy link
Contributor

philhofer commented Mar 17, 2017

Hmm. Okay. Ben's board was also running Debian and gcc 4.9.2, so it's probably not a C toolchain issue.

Here's a complete go env:

GOARCH="arm"
GOBIN=""
GOEXE=""
GOHOSTARCH="arm"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/home/phil/go"
GOTOOLDIR="/home/phil/go/pkg/tool/linux_arm"
GCCGO="gccgo"
GOARM=""
CC="gcc"
GOGCCFLAGS="-fPIC -marm -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build410167318=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

Could it be that this fails when GOARM isn't set? I'll run a build with GOARM=7 and see if that magically works.

@philhofer
Copy link
Contributor

Nope. GOARM=7 is busted too.

Unfortunately, the core dump is pretty useless, too. Looks like a return address got clobbered with something that is obviously not a return address.

(gdb) info frame
Stack level 0, frame at 0x10509bc8:
 pc = 0xa86c0; saved pc = 0xa8d0c
 called by frame at 0x10509bc8
 Arglist at 0x10509bc8, args: 
 Locals at 0x10509bc8, Previous frame's sp is 0x10509bc8
(gdb) bt
#0  0x000a86c0 in ?? ()
#1  0x000a8d0c in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) display/i $pc
1: x/i $pc
=> 0xa86c0:     <error: Cannot access memory at address 0xa86c0>

@benshi001
Copy link
Member Author

This failure still exists on my raspberry 2 with the newest master branch.

@bradfitz bradfitz modified the milestones: Go1.9Maybe, Go1.9Early May 3, 2017
@bradfitz bradfitz added help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels May 3, 2017
@reapazor
Copy link

pi 3 same issue :)

@ghost
Copy link

ghost commented May 23, 2017

This also happens to me in a raspi 3 on release-branch.go1.8 with following env:

pi@pi3:~/develop/go/src $ go env
GOARCH="arm"
GOBIN=""
GOEXE=""
GOHOSTARCH="arm"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_arm"
CC="gcc"
GOGCCFLAGS="-fPIC -marm -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build083987513=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"

with go1.7.linux-armv6l as bootstrap

@ghost
Copy link

ghost commented May 27, 2017

To by-pass the problem in the testpluging "go/misc/cgo/testplugin/src/host/host.go", I commented the following lines in "go/src/cmd/dist/test.go" for the build to succeed.

if t.supportedBuildmode("plugin") {
	t.registerTest("testplugin", "../misc/cgo/testplugin", "./test.bash")
}

Output

ALL TESTS PASSED
---
Installed Go for linux/arm in /usr/local/go
Installed commands in /usr/local/go/bin
*** You need to add /usr/local/go/bin to your PATH.

Tested on Raspberry Pi 3 with Go 1.8.3 (master branch).

@bradfitz bradfitz modified the milestones: Go1.9Maybe, Go1.10 Jun 7, 2017
@jamesruan
Copy link

It still exist on raspberry 3 with go1.8.3

@luca-heitmann
Copy link

I checked out the latest source from the master and compiled it with my raspi. All tests are passing and my application can load plugins without any problems. Very nice 😄 👍

go version

go version devel +c522b2b Fri Jul 21 18:55:41 2017 +0000 linux/arm

go env

GOARCH="arm"
GOBIN=""
GOEXE=""
GOHOSTARCH="arm"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/opt/zaphome"
GORACE=""
GOROOT="/opt/gotest"
GOTOOLDIR="/opt/gotest/pkg/tool/linux_arm"
GCCGO="gccgo"
GOARM="7"
CC="gcc"
GOGCCFLAGS="-fPIC -marm -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build977188325=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

@Offout
Copy link

Offout commented Aug 11, 2017

Can confirm Raspberry Pi 3 Model B, Raspbian.
Linux raspberrypi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux
Bootstrap: Go 1.4 from source (go version go1.4-bootstrap-20170531 linux/arm).
Branch: release-branch.go1.8
Message:

##### ../misc/cgo/testshared
PASS
ok  	_/home/pi/golang/go/misc/cgo/testshared	100.727s

##### ../misc/cgo/testplugin
./test.bash: line 34:  1284 Segmentation fault      LD_LIBRARY_PATH=$(pwd) ./host
2017/08/11 23:57:23 Failed: exit status 139

##### ../misc/cgo/errors

##### ../misc/cgo/testsigfwd

##### ../test/bench/go1
testing: warning: no tests to run
PASS
ok  	_/home/pi/golang/go/test/bench/go1	5.279s

##### ../test
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error
skipped due to earlier error

On branch master (51ba2bb)
Installation passed.
go version devel +51ba2bb Fri Aug 11 18:51:24 2017 +0000 linux/arm

@benshi001
Copy link
Member Author

This issue disappeared on my RPI2 with the latest commit 33484a6 . Here is the log.

Building Go bootstrap tool.

cmd/dist

Building Go toolchain using /usr/local/go-1.8.3/.

bootstrap/cmd/internal/dwarf
bootstrap/cmd/internal/src
bootstrap/cmd/internal/objabi
bootstrap/cmd/internal/sys
bootstrap/cmd/asm/internal/flags
bootstrap/cmd/internal/bio
bootstrap/math/bits
bootstrap/math/big
bootstrap/cmd/compile/internal/syntax
bootstrap/cmd/internal/obj
bootstrap/cmd/asm/internal/lex
bootstrap/cmd/internal/gcprog
bootstrap/debug/pe
bootstrap/cmd/link/internal/ld
bootstrap/cmd/internal/obj/arm
bootstrap/cmd/internal/obj/arm64
bootstrap/cmd/internal/obj/mips
bootstrap/cmd/internal/obj/ppc64
bootstrap/cmd/internal/obj/s390x
bootstrap/cmd/internal/obj/x86
bootstrap/cmd/compile/internal/types
bootstrap/cmd/asm/internal/arch
bootstrap/cmd/compile/internal/ssa
bootstrap/cmd/asm/internal/asm
bootstrap/cmd/asm
bootstrap/cmd/link/internal/amd64
bootstrap/cmd/link/internal/arm
bootstrap/cmd/link/internal/arm64
bootstrap/cmd/link/internal/mips
bootstrap/cmd/link/internal/mips64
bootstrap/cmd/link/internal/ppc64
bootstrap/cmd/link/internal/s390x
bootstrap/cmd/link/internal/x86
bootstrap/cmd/link
bootstrap/cmd/compile/internal/gc
bootstrap/cmd/compile/internal/amd64
bootstrap/cmd/compile/internal/arm
bootstrap/cmd/compile/internal/arm64
bootstrap/cmd/compile/internal/mips
bootstrap/cmd/compile/internal/mips64
bootstrap/cmd/compile/internal/ppc64
bootstrap/cmd/compile/internal/s390x
bootstrap/cmd/compile/internal/x86
bootstrap/cmd/compile

Building go_bootstrap for host, linux/arm.

runtime/internal/sys
runtime/internal/atomic
runtime
math/bits
unicode
sync/atomic
unicode/utf16
encoding
internal/cpu
errors
unicode/utf8
internal/race
internal/syscall/windows/sysdll
math
sync
internal/singleflight
syscall
io
cmd/go/internal/web
hash
hash/adler32
strconv
bytes
strings
bufio
path
reflect
crypto
encoding/base64
crypto/sha1
internal/syscall/windows
internal/syscall/windows/registry
time
internal/poll
os
os/signal
encoding/binary
sort
fmt
container/heap
path/filepath
regexp/syntax
io/ioutil
debug/dwarf
encoding/xml
encoding/json
text/template/parse
go/token
cmd/go/internal/str
net/url
log
context
flag
compress/flate
go/scanner
cmd/internal/objabi
os/exec
regexp
go/ast
compress/zlib
text/template
debug/elf
debug/macho
go/parser
go/doc
go/build
cmd/go/internal/cfg
cmd/go/internal/buildid
cmd/go/internal/base
cmd/go/internal/load
cmd/go/internal/help
cmd/go/internal/version
cmd/go/internal/doc
cmd/go/internal/cmdflag
cmd/go/internal/tool
cmd/go/internal/fix
cmd/go/internal/work
cmd/go/internal/fmtcmd
cmd/go/internal/run
cmd/go/internal/generate
cmd/go/internal/clean
cmd/go/internal/list
cmd/go/internal/get
cmd/go/internal/envcmd
cmd/go/internal/test
cmd/go/internal/vet
cmd/go/internal/bug
cmd/go

Building packages and commands for linux/arm.

runtime/internal/sys
runtime/internal/atomic
runtime
internal/race
errors
sync/atomic
unicode
unicode/utf8
math
sync
container/list
math/bits
io
syscall
hash
hash/adler32
hash/crc32
container/ring
strconv
crypto/subtle
crypto/cipher
bytes
strings
bufio
reflect
time
cmd/internal/src
path
text/tabwriter
crypto
crypto/aes
math/rand
crypto/sha512
crypto/hmac
crypto/internal/cipherhw
crypto/md5
internal/syscall/unix
crypto/rc4
crypto/sha1
internal/poll
crypto/sha256
encoding/base64
internal/nettrace
internal/singleflight
vendor/golang_org/x/crypto/poly1305
encoding
encoding/ascii85
encoding/base32
os
unicode/utf16
vendor/golang_org/x/text/transform
hash/crc64
hash/fnv
html
image/color
image
image/color/palette
internal/cpu
internal/syscall/windows
internal/syscall/windows/registry
internal/syscall/windows/sysdll
runtime/trace
math/cmplx
os/signal
runtime/race
vendor/golang_org/x/text/secure
vendor/golang_org/x/text/unicode
cmd/compile/internal/test
cmd/vet/internal/whitelist
fmt
sort
encoding/binary
image/internal/imageutil
image/draw
path/filepath
cmd/internal/sys
regexp/syntax
io/ioutil
compress/bzip2
container/heap
flag
log
debug/dwarf
compress/flate
cmd/internal/objabi
debug/gosym
cmd/internal/goobj
compress/zlib
debug/plan9obj
cmd/vendor/golang.org/x/arch/arm/armasm
debug/elf
debug/macho
debug/pe
cmd/vendor/golang.org/x/arch/ppc64/ppc64asm
cmd/vendor/golang.org/x/arch/x86/x86asm
regexp
archive/tar
archive/zip
compress/gzip
compress/lzw
context
crypto/des
cmd/internal/objfile
math/big
encoding/hex
encoding/pem
go/token
os/exec
go/scanner
go/ast
vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20
cmd/addr2line
vendor/golang_org/x/crypto/chacha20poly1305
vendor/golang_org/x/crypto/curve25519
database/sql/driver
crypto/dsa
crypto/elliptic
encoding/asn1
crypto/rand
go/parser
crypto/rsa
crypto/ecdsa
crypto/x509/pkix
go/printer
database/sql
encoding/csv
encoding/gob
encoding/json
cmd/cgo
encoding/xml
vendor/golang_org/x/net/http2/hpack
vendor/golang_org/x/text/unicode/bidi
vendor/golang_org/x/text/unicode/norm
net/url
vendor/golang_org/x/text/secure/bidirule
mime
mime/quotedprintable
net/http/internal
text/template/parse
go/constant
vendor/golang_org/x/net/idna
go/format
go/types
text/template
text/scanner
image/gif
runtime/cgo
image/jpeg
go/doc
html/template
go/build
go/internal/gccgoimporter
go/internal/gcimporter
go/internal/srcimporter
image/png
index/suffixarray
go/importer
runtime/debug
internal/trace
testing
runtime/pprof
net
net/internal/socktest
internal/testenv
os/user
plugin
runtime/pprof/internal/profile
testing/internal/testdeps
testing/iotest
testing/quick
cmd/api
cmd/internal/dwarf
cmd/internal/obj
cmd/asm/internal/flags
cmd/asm/internal/lex
cmd/internal/obj/arm
cmd/internal/obj/arm64
cmd/internal/obj/mips
cmd/internal/obj/ppc64
cmd/internal/obj/s390x
cmd/internal/obj/x86
crypto/x509
vendor/golang_org/x/net/lex/httplex
vendor/golang_org/x/net/proxy
crypto/tls
net/textproto
log/syslog
vendor/golang_org/x/net/nettest
mime/multipart
net/mail
cmd/asm/internal/arch
cmd/internal/bio
cmd/compile/internal/types
cmd/compile/internal/syntax
cmd/asm/internal/asm
cmd/compile/internal/ssa
net/http/httptrace
net/http
net/smtp
cmd/asm
cmd/internal/gcprog
cmd/internal/browser
cmd/cover
cmd/dist
cmd/doc
cmd/fix
expvar
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/http/pprof
net/rpc
cmd/go/internal/cfg
cmd/go/internal/str
cmd/go/internal/buildid
cmd/go/internal/base
cmd/go/internal/web
cmd/go/internal/load
net/rpc/jsonrpc
cmd/go/internal/doc
cmd/go/internal/help
cmd/go/internal/cmdflag
cmd/go/internal/tool
cmd/go/internal/version
cmd/gofmt
cmd/link/internal/ld
cmd/go/internal/work
cmd/go/internal/fix
cmd/go/internal/fmtcmd
cmd/nm
cmd/go/internal/envcmd
cmd/go/internal/bug
cmd/go/internal/clean
cmd/go/internal/generate
cmd/go/internal/get
cmd/go/internal/list
cmd/go/internal/run
cmd/go/internal/test
cmd/go/internal/vet
cmd/objdump
cmd/link/internal/amd64
cmd/go
cmd/link/internal/arm
cmd/link/internal/arm64
cmd/link/internal/mips
cmd/link/internal/mips64
cmd/link/internal/ppc64
cmd/link/internal/s390x
cmd/link/internal/x86
cmd/pack
cmd/link
cmd/vendor/github.com/google/pprof/internal/elfexec
cmd/vendor/github.com/google/pprof/profile
cmd/vendor/github.com/ianlancetaylor/demangle
cmd/vendor/github.com/google/pprof/third_party/svg
cmd/vendor/github.com/google/pprof/internal/proftest
cmd/vendor/golang.org/x/arch/arm64/arm64asm
cmd/vendor/github.com/google/pprof/internal/plugin
cmd/vendor/github.com/google/pprof/internal/measurement
cmd/vendor/github.com/google/pprof/internal/graph
cmd/vendor/github.com/google/pprof/internal/binutils
cmd/vendor/github.com/google/pprof/internal/symbolz
cmd/vendor/github.com/google/pprof/internal/report
cmd/vendor/github.com/google/pprof/internal/symbolizer
cmd/trace
cmd/vet/internal/cfg
cmd/vendor/github.com/google/pprof/internal/driver
cmd/vet
cmd/vendor/github.com/google/pprof/driver
cmd/pprof
cmd/compile/internal/gc
cmd/compile/internal/amd64
cmd/compile/internal/arm
cmd/compile/internal/arm64
cmd/compile/internal/mips
cmd/compile/internal/mips64
cmd/compile/internal/ppc64
cmd/compile/internal/s390x
cmd/compile/internal/x86
cmd/compile

cmd/go terminal test

PASS
ok _/home/pi/go/src/cmd/go/testdata/testterminal18153 0.012s

Testing packages.

ok archive/tar 0.713s
ok archive/zip 35.131s
ok bufio 0.627s
ok bytes 10.613s
ok compress/bzip2 0.759s
ok compress/flate 10.662s
ok compress/gzip 0.170s
ok compress/lzw 0.132s
ok compress/zlib 0.407s
ok container/heap 0.022s
ok container/list 0.058s
ok container/ring 0.140s
ok context 1.058s
ok crypto 0.033s
ok crypto/aes 0.283s
ok crypto/cipher 0.039s
ok crypto/des 0.113s
ok crypto/dsa 0.048s
ok crypto/ecdsa 0.928s
ok crypto/elliptic 0.249s
ok crypto/hmac 0.038s
ok crypto/md5 0.024s
ok crypto/rand 0.466s
ok crypto/rc4 0.738s
ok crypto/rsa 1.244s
ok crypto/sha1 0.063s
ok crypto/sha256 0.061s
ok crypto/sha512 0.067s
ok crypto/subtle 0.094s
ok crypto/tls 12.495s
ok crypto/x509 13.870s
ok database/sql 1.169s
ok database/sql/driver 0.069s
ok debug/dwarf 0.097s
ok debug/elf 0.152s
ok debug/gosym 0.056s
ok debug/macho 0.048s
ok debug/pe 0.127s
ok debug/plan9obj 0.036s
ok encoding/ascii85 0.104s
ok encoding/asn1 0.040s
ok encoding/base32 0.089s
ok encoding/base64 0.060s
ok encoding/binary 0.047s
ok encoding/csv 0.036s
ok encoding/gob 0.555s
ok encoding/hex 0.034s
ok encoding/json 5.788s
ok encoding/pem 0.139s
ok encoding/xml 0.239s
ok errors 0.018s
ok expvar 0.049s
ok flag 0.037s
ok fmt 0.708s
ok go/ast 0.042s
ok go/build 1.152s
ok go/constant 0.032s
ok go/doc 0.389s
ok go/format 0.121s
ok go/internal/gccgoimporter 0.096s
ok go/internal/gcimporter 4.346s
ok go/internal/srcimporter 6.243s
ok go/parser 0.318s
ok go/printer 2.651s
ok go/scanner 0.021s
ok go/token 0.271s
ok go/types 7.259s
ok hash/adler32 0.073s
ok hash/crc32 0.125s
ok hash/crc64 0.044s
ok hash/fnv 0.034s
ok html 0.044s
ok html/template 0.388s
ok image 1.296s
ok image/color 0.270s
ok image/draw 0.584s
ok image/gif 0.881s
ok image/jpeg 2.094s
ok image/png 0.381s
ok index/suffixarray 0.065s
ok internal/cpu 0.042s
ok internal/poll 0.081s
ok internal/singleflight 0.042s
ok internal/trace 7.721s
ok io 0.114s
ok io/ioutil 0.053s
ok log 0.032s
ok log/syslog 1.347s
ok math 0.051s
ok math/big 28.953s
ok math/bits 0.073s
ok math/cmplx 0.021s
ok math/rand 0.716s
ok mime 0.078s
ok mime/multipart 4.742s
ok mime/quotedprintable 1.622s
ok net 4.373s
ok net/http 27.576s
ok net/http/cgi 5.495s
ok net/http/cookiejar 0.100s
ok net/http/fcgi 0.079s
ok net/http/httptest 0.491s
ok net/http/httptrace 0.056s
ok net/http/httputil 0.380s
ok net/http/internal 0.021s
ok net/internal/socktest 0.046s
ok net/mail 0.035s
ok net/rpc 0.140s
ok net/rpc/jsonrpc 0.071s
ok net/smtp 0.223s
ok net/textproto 0.059s
ok net/url 0.040s
ok os 1.108s
ok os/exec 6.599s
ok os/signal 8.796s
ok os/user 0.027s
ok path 0.026s
ok path/filepath 0.237s
ok reflect 1.830s
ok regexp 1.561s
ok regexp/syntax 8.474s
ok runtime 186.868s
ok runtime/debug 0.090s
ok runtime/internal/atomic 0.815s
ok runtime/internal/sys 0.034s
ok runtime/pprof 15.268s
ok runtime/pprof/internal/profile 0.037s
ok runtime/trace 18.823s
ok sort 0.435s
ok strconv 4.883s
ok strings 2.357s
ok sync 1.988s
ok sync/atomic 0.190s
ok syscall 0.124s
ok testing 1.621s
ok testing/quick 1.343s
ok text/scanner 0.053s
ok text/tabwriter 0.050s
ok text/template 2.606s
ok text/template/parse 0.109s
ok time 4.896s
ok unicode 0.034s
ok unicode/utf16 0.052s
ok unicode/utf8 0.069s
ok vendor/golang_org/x/crypto/chacha20poly1305 2.432s
ok vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20 0.020s
ok vendor/golang_org/x/crypto/curve25519 2.357s
ok vendor/golang_org/x/crypto/poly1305 0.018s
ok vendor/golang_org/x/net/http2/hpack 0.086s
ok vendor/golang_org/x/net/idna 0.026s
ok vendor/golang_org/x/net/lex/httplex 0.069s
ok vendor/golang_org/x/net/nettest 2.854s
ok vendor/golang_org/x/net/proxy 0.026s
ok vendor/golang_org/x/text/transform 0.017s
ok vendor/golang_org/x/text/unicode/norm 0.027s
ok cmd/addr2line 12.644s
ok cmd/api 0.052s
ok cmd/asm/internal/asm 2.649s
ok cmd/asm/internal/lex 0.025s
ok cmd/compile 108.806s
ok cmd/compile/internal/gc 186.996s
ok cmd/compile/internal/ssa 0.754s
ok cmd/compile/internal/syntax 0.072s
ok cmd/compile/internal/test 0.045s [no tests to run]
ok cmd/compile/internal/types 0.030s
ok cmd/cover 19.597s
ok cmd/dist 0.041s
ok cmd/doc 0.453s
ok cmd/fix 0.225s
ok cmd/go 65.073s
ok cmd/go/internal/generate 0.073s
ok cmd/go/internal/get 0.094s
ok cmd/go/internal/load 0.022s
ok cmd/go/internal/work 0.166s
ok cmd/gofmt 1.334s
ok cmd/internal/dwarf 0.079s
ok cmd/internal/obj 0.095s
ok cmd/internal/obj/arm64 0.054s
ok cmd/internal/obj/x86 38.071s
ok cmd/internal/objabi 0.044s
ok cmd/internal/src 0.042s
ok cmd/link 42.891s
ok cmd/link/internal/ld 43.204s
ok cmd/nm 30.583s
ok cmd/objdump 18.902s
ok cmd/pack 19.767s
ok cmd/trace 0.217s
ok cmd/vendor/github.com/google/pprof/internal/binutils 0.076s
ok cmd/vendor/github.com/google/pprof/internal/driver 1.395s
ok cmd/vendor/github.com/google/pprof/internal/elfexec 0.040s
ok cmd/vendor/github.com/google/pprof/internal/graph 0.073s
ok cmd/vendor/github.com/google/pprof/internal/report 0.096s
ok cmd/vendor/github.com/google/pprof/internal/symbolizer 0.105s
ok cmd/vendor/github.com/google/pprof/internal/symbolz 0.024s
ok cmd/vendor/github.com/google/pprof/profile 0.887s
ok cmd/vendor/github.com/ianlancetaylor/demangle 0.383s
ok cmd/vendor/golang.org/x/arch/arm/armasm 0.183s
ok cmd/vendor/golang.org/x/arch/arm64/arm64asm 0.843s
ok cmd/vendor/golang.org/x/arch/ppc64/ppc64asm 0.035s
ok cmd/vendor/golang.org/x/arch/x86/x86asm 0.802s
ok cmd/vet 17.193s
ok cmd/vet/internal/cfg 0.031s

GOMAXPROCS=2 runtime -cpu=1,2,4

ok runtime 271.226s

sync -cpu=10

ok sync 2.163s

../misc/cgo/stdio
../misc/cgo/life
../misc/cgo/test

PASS
ok _/home/pi/go/misc/cgo/test 42.746s
PASS
ok _/home/pi/go/misc/cgo/test 42.854s
PASS
ok _/home/pi/go/misc/cgo/test 43.147s
PASS
ok _/home/pi/go/misc/cgo/testtls 0.018s
PASS
ok _/home/pi/go/misc/cgo/testtls 0.014s
PASS
ok _/home/pi/go/misc/cgo/testtls 0.012s
PASS
ok _/home/pi/go/misc/cgo/nocgo 0.015s
PASS
ok _/home/pi/go/misc/cgo/nocgo 0.026s
PASS
ok _/home/pi/go/misc/cgo/nocgo 0.029s
PASS
ok _/home/pi/go/misc/cgo/test 22.753s
PASS
ok _/home/pi/go/misc/cgo/testtls 0.037s
PASS
ok _/home/pi/go/misc/cgo/nocgo 0.040s

../misc/cgo/testgodefs
../misc/cgo/testso
../misc/cgo/testsovar
../misc/cgo/testcshared

PASS

../misc/cgo/testshared

PASS
ok _/home/pi/go/misc/cgo/testshared 177.387s

../misc/cgo/testplugin

PASS
something

../misc/cgo/errors
../misc/cgo/testsigfwd
../test/bench/go1

testing: warning: no tests to run
PASS
ok _/home/pi/go/test/bench/go1 8.073s

../test
API check

+pkg archive/tar, type Header struct, SparseHoles []SparseEntry
+pkg archive/tar, type SparseEntry struct
+pkg archive/tar, type SparseEntry struct, Length int64
+pkg archive/tar, type SparseEntry struct, Offset int64
+pkg crypto/x509, func MarshalPKCS8PrivateKey(interface{}) ([]uint8, error)
+pkg crypto/x509, method (PublicKeyAlgorithm) String() string
+pkg debug/macho, const ARM64_RELOC_ADDEND = 10
+pkg debug/macho, const ARM64_RELOC_ADDEND RelocTypeARM64
+pkg debug/macho, const ARM64_RELOC_BRANCH26 = 2
+pkg debug/macho, const ARM64_RELOC_BRANCH26 RelocTypeARM64
+pkg debug/macho, const ARM64_RELOC_GOT_LOAD_PAGE21 = 5
+pkg debug/macho, const ARM64_RELOC_GOT_LOAD_PAGE21 RelocTypeARM64
+pkg debug/macho, const ARM64_RELOC_GOT_LOAD_PAGEOFF12 = 6
+pkg debug/macho, const ARM64_RELOC_GOT_LOAD_PAGEOFF12 RelocTypeARM64
+pkg debug/macho, const ARM64_RELOC_PAGE21 = 3
+pkg debug/macho, const ARM64_RELOC_PAGE21 RelocTypeARM64
+pkg debug/macho, const ARM64_RELOC_PAGEOFF12 = 4
+pkg debug/macho, const ARM64_RELOC_PAGEOFF12 RelocTypeARM64
+pkg debug/macho, const ARM64_RELOC_POINTER_TO_GOT = 7
+pkg debug/macho, const ARM64_RELOC_POINTER_TO_GOT RelocTypeARM64
+pkg debug/macho, const ARM64_RELOC_SUBTRACTOR = 1
+pkg debug/macho, const ARM64_RELOC_SUBTRACTOR RelocTypeARM64
+pkg debug/macho, const ARM64_RELOC_TLVP_LOAD_PAGE21 = 8
+pkg debug/macho, const ARM64_RELOC_TLVP_LOAD_PAGE21 RelocTypeARM64
+pkg debug/macho, const ARM64_RELOC_TLVP_LOAD_PAGEOFF12 = 9
+pkg debug/macho, const ARM64_RELOC_TLVP_LOAD_PAGEOFF12 RelocTypeARM64
+pkg debug/macho, const ARM64_RELOC_UNSIGNED = 0
+pkg debug/macho, const ARM64_RELOC_UNSIGNED RelocTypeARM64
+pkg debug/macho, const ARM_RELOC_BR24 = 5
+pkg debug/macho, const ARM_RELOC_BR24 RelocTypeARM
+pkg debug/macho, const ARM_RELOC_HALF = 8
+pkg debug/macho, const ARM_RELOC_HALF RelocTypeARM
+pkg debug/macho, const ARM_RELOC_HALF_SECTDIFF = 9
+pkg debug/macho, const ARM_RELOC_HALF_SECTDIFF RelocTypeARM
+pkg debug/macho, const ARM_RELOC_LOCAL_SECTDIFF = 3
+pkg debug/macho, const ARM_RELOC_LOCAL_SECTDIFF RelocTypeARM
+pkg debug/macho, const ARM_RELOC_PAIR = 1
+pkg debug/macho, const ARM_RELOC_PAIR RelocTypeARM
+pkg debug/macho, const ARM_RELOC_PB_LA_PTR = 4
+pkg debug/macho, const ARM_RELOC_PB_LA_PTR RelocTypeARM
+pkg debug/macho, const ARM_RELOC_SECTDIFF = 2
+pkg debug/macho, const ARM_RELOC_SECTDIFF RelocTypeARM
+pkg debug/macho, const ARM_RELOC_VANILLA = 0
+pkg debug/macho, const ARM_RELOC_VANILLA RelocTypeARM
+pkg debug/macho, const ARM_THUMB_32BIT_BRANCH = 7
+pkg debug/macho, const ARM_THUMB_32BIT_BRANCH RelocTypeARM
+pkg debug/macho, const ARM_THUMB_RELOC_BR22 = 6
+pkg debug/macho, const ARM_THUMB_RELOC_BR22 RelocTypeARM
+pkg debug/macho, const FlagDyldLink = 4
+pkg debug/macho, const FlagDyldLink uint32
+pkg debug/macho, const FlagNoUndefs = 1
+pkg debug/macho, const FlagNoUndefs uint32
+pkg debug/macho, const FlagPIE = 2097152
+pkg debug/macho, const FlagPIE uint32
+pkg debug/macho, const FlagTwoLevel = 128
+pkg debug/macho, const FlagTwoLevel uint32
+pkg debug/macho, const GENERIC_RELOC_LOCAL_SECTDIFF = 4
+pkg debug/macho, const GENERIC_RELOC_LOCAL_SECTDIFF RelocTypeGeneric
+pkg debug/macho, const GENERIC_RELOC_PAIR = 1
+pkg debug/macho, const GENERIC_RELOC_PAIR RelocTypeGeneric
+pkg debug/macho, const GENERIC_RELOC_PB_LA_PTR = 3
+pkg debug/macho, const GENERIC_RELOC_PB_LA_PTR RelocTypeGeneric
+pkg debug/macho, const GENERIC_RELOC_SECTDIFF = 2
+pkg debug/macho, const GENERIC_RELOC_SECTDIFF RelocTypeGeneric
+pkg debug/macho, const GENERIC_RELOC_TLV = 5
+pkg debug/macho, const GENERIC_RELOC_TLV RelocTypeGeneric
+pkg debug/macho, const GENERIC_RELOC_VANILLA = 0
+pkg debug/macho, const GENERIC_RELOC_VANILLA RelocTypeGeneric
+pkg debug/macho, const LoadCmdRpath = 2147483676
+pkg debug/macho, const LoadCmdRpath LoadCmd
+pkg debug/macho, const X86_64_RELOC_BRANCH = 2
+pkg debug/macho, const X86_64_RELOC_BRANCH RelocTypeX86_64
+pkg debug/macho, const X86_64_RELOC_GOT = 4
+pkg debug/macho, const X86_64_RELOC_GOT RelocTypeX86_64
+pkg debug/macho, const X86_64_RELOC_GOT_LOAD = 3
+pkg debug/macho, const X86_64_RELOC_GOT_LOAD RelocTypeX86_64
+pkg debug/macho, const X86_64_RELOC_SIGNED = 1
+pkg debug/macho, const X86_64_RELOC_SIGNED RelocTypeX86_64
+pkg debug/macho, const X86_64_RELOC_SIGNED_1 = 6
+pkg debug/macho, const X86_64_RELOC_SIGNED_1 RelocTypeX86_64
+pkg debug/macho, const X86_64_RELOC_SIGNED_2 = 7
+pkg debug/macho, const X86_64_RELOC_SIGNED_2 RelocTypeX86_64
+pkg debug/macho, const X86_64_RELOC_SIGNED_4 = 8
+pkg debug/macho, const X86_64_RELOC_SIGNED_4 RelocTypeX86_64
+pkg debug/macho, const X86_64_RELOC_SUBTRACTOR = 5
+pkg debug/macho, const X86_64_RELOC_SUBTRACTOR RelocTypeX86_64
+pkg debug/macho, const X86_64_RELOC_TLV = 9
+pkg debug/macho, const X86_64_RELOC_TLV RelocTypeX86_64
+pkg debug/macho, const X86_64_RELOC_UNSIGNED = 0
+pkg debug/macho, const X86_64_RELOC_UNSIGNED RelocTypeX86_64
+pkg debug/macho, method (RelocTypeARM) GoString() string
+pkg debug/macho, method (RelocTypeARM) String() string
+pkg debug/macho, method (RelocTypeARM64) GoString() string
+pkg debug/macho, method (RelocTypeARM64) String() string
+pkg debug/macho, method (RelocTypeGeneric) GoString() string
+pkg debug/macho, method (RelocTypeGeneric) String() string
+pkg debug/macho, method (RelocTypeX86_64) GoString() string
+pkg debug/macho, method (RelocTypeX86_64) String() string
+pkg debug/macho, method (Rpath) Raw() []uint8
+pkg debug/macho, method (Type) GoString() string
+pkg debug/macho, method (Type) String() string
+pkg debug/macho, type RelocTypeARM int
+pkg debug/macho, type RelocTypeARM64 int
+pkg debug/macho, type RelocTypeGeneric int
+pkg debug/macho, type RelocTypeX86_64 int
+pkg debug/macho, type Rpath struct
+pkg debug/macho, type Rpath struct, Path string
+pkg debug/macho, type Rpath struct, embedded LoadBytes
+pkg debug/macho, type RpathCmd struct
+pkg debug/macho, type RpathCmd struct, Cmd LoadCmd
+pkg debug/macho, type RpathCmd struct, Len uint32
+pkg debug/macho, type RpathCmd struct, Path uint32
+pkg math, func Erfinv(float64) float64
+pkg syscall (freebsd-386), const SYS_UTIMENSAT = 547
+pkg syscall (freebsd-386), const SYS_UTIMENSAT ideal-int
+pkg syscall (freebsd-386-cgo), const SYS_UTIMENSAT = 547
+pkg syscall (freebsd-386-cgo), const SYS_UTIMENSAT ideal-int
+pkg syscall (freebsd-amd64), const SYS_UTIMENSAT = 547
+pkg syscall (freebsd-amd64), const SYS_UTIMENSAT ideal-int
+pkg syscall (freebsd-amd64-cgo), const SYS_UTIMENSAT = 547
+pkg syscall (freebsd-amd64-cgo), const SYS_UTIMENSAT ideal-int
+pkg syscall (freebsd-arm), const SYS_UTIMENSAT = 547
+pkg syscall (freebsd-arm), const SYS_UTIMENSAT ideal-int
+pkg syscall (freebsd-arm-cgo), const SYS_UTIMENSAT = 547
+pkg syscall (freebsd-arm-cgo), const SYS_UTIMENSAT ideal-int

ALL TESTS PASSED


Installed Go for linux/arm in /home/pi/go
Installed commands in /home/pi/go/bin
*** You need to add /home/pi/go/bin to your PATH.

@ianlancetaylor
Copy link
Contributor

Should we close this issue now?

@benshi001
Copy link
Member Author

It is not reproducible.

@golang golang locked and limited conversation to collaborators Aug 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

10 participants