Build Go from source an DNS-323 A01 (ARMv5)

123 views
Skip to first unread message

kost...@gmail.com

unread,
Oct 19, 2016, 7:22:22 PM10/19/16
to golang-dev
Hi, all!
I used the following sequence of actions:
mkdir /mnt/sda2/Development
cd  /mnt/sda2/Development
curl http://dave.cheney.net/paste/go-linux-arm-bootstrap-c788a8e.tbz | tar xj
git clone https://go.googlesource.com/go
cd go
git checkout go1.7.1
cd src
ulimit -s 1024
env GO_TEST_TIMEOUT_SCALE=10 GOROOT_BOOTSTRAP=/mnt/sda2/Development/go-linux-arm-bootstrap GOOS=linux GOARCH=arm GOARM=5 ./all.bash
Compilation is started. But as a result in the bin folder there is no go file.
What do I do not so?

There is a log:

[root@DNS-323]# env GO_TEST_TIMEOUT_SCALE=10 GOROOT_BOOTSTRAP=/mnt/sda2/Developm
ent/go-linux-arm-bootstrap GOOS=linux GOARCH=arm GOARM=5 ./all.bash
##### Building Go bootstrap tool.
cmd/dist
##### Building Go toolchain using /mnt/sda2/Development/go-linux-arm-bootstrap.
bootstrap/internal/sys
bootstrap/internal/obj
bootstrap/internal/obj/arm
bootstrap/internal/obj/arm64
bootstrap/internal/obj/mips
bootstrap/internal/obj/ppc64
bootstrap/internal/obj/s390x
bootstrap/internal/obj/x86
bootstrap/asm/internal/arch
bootstrap/asm/internal/flags
bootstrap/asm/internal/lex
bootstrap/asm/internal/asm
bootstrap/internal/bio
bootstrap/asm
bootstrap/compile/internal/big
bootstrap/compile/internal/ssa
bootstrap/internal/gcprog
bootstrap/compile/internal/gc
bootstrap/compile/internal/amd64
bootstrap/compile/internal/arm
bootstrap/compile/internal/arm64
bootstrap/compile/internal/mips64
bootstrap/compile/internal/ppc64
bootstrap/compile/internal/s390x
bootstrap/compile/internal/x86
bootstrap/compile
bootstrap/link/internal/ld
bootstrap/link/internal/amd64
bootstrap/link/internal/arm
bootstrap/link/internal/arm64
bootstrap/link/internal/mips64
bootstrap/link/internal/ppc64
bootstrap/link/internal/s390x
bootstrap/link/internal/x86
bootstrap/link
##### Building go_bootstrap for host, linux/arm.
runtime/internal/sys
runtime/internal/atomic
runtime
unicode/utf16
unicode/utf8
encoding
errors
internal/race
internal/syscall/windows/sysdll
math
sort
sync/atomic
unicode
sync
container/heap
syscall
internal/singleflight
io
hash
hash/adler32
strconv
strings
bytes
bufio
path
internal/syscall/windows/registry
internal/syscall/windows
time
regexp/syntax
reflect
crypto
encoding/base64
crypto/sha1
regexp
os
os/signal
path/filepath
io/ioutil
fmt
encoding/binary
context
flag
go/token
log
text/template/parse
net/url
compress/flate
encoding/json
debug/dwarf
go/scanner
os/exec
go/ast
compress/zlib
debug/macho
debug/elf
text/template
go/parser
go/doc
go/build
cmd/go
##### Building packages and commands for linux/arm.
runtime/internal/sys
runtime/internal/atomic
runtime
errors
internal/race
sync/atomic
sync
io
unicode
unicode/utf8
bytes
bufio
math
strconv
reflect
encoding/binary
cmd/internal/sys
syscall
time
os
fmt
sort
flag
log
strings
path/filepath
cmd/internal/obj
cmd/internal/goobj
path
debug/dwarf
# debug/dwarf
duplicate 00000 (<autogenerated>:57)    GLOBL   go.typelink.*"".FloatType(SB), $4
compile: symbol go.typelink.*"".FloatType listed multiple times
compress/flate
hash
hash/adler32
compress/zlib
debug/gosym
debug/plan9obj
cmd/vendor/golang.org/x/arch/arm/armasm
cmd/vendor/golang.org/x/arch/x86/x86asm
regexp/syntax
regexp
text/tabwriter
io/ioutil
archive/tar
hash/crc32
archive/zip
compress/bzip2
compress/gzip
compress/lzw
container/heap
container/list
container/ring
context
crypto
crypto/subtle
crypto/cipher
crypto/aes
crypto/des
math/rand
math/big
crypto/dsa
crypto/elliptic
crypto/sha512
encoding/asn1
crypto/ecdsa
crypto/hmac
crypto/md5
internal/syscall/unix
crypto/rand
crypto/rc4
crypto/rsa
crypto/sha1
crypto/sha256
crypto/x509/pkix
encoding/hex
encoding/base64
encoding/pem
internal/nettrace
internal/singleflight
go/token
go/scanner
go/ast
go/parser
go/printer
os/exec
database/sql/driver
database/sql
encoding
encoding/ascii85
encoding/base32
encoding/csv
encoding/gob
unicode/utf16
encoding/json
encoding/xml
vendor/golang_org/x/net/http2/hpack
vendor/golang_org/x/net/lex/httplex
mime
mime/quotedprintable
net/http/internal
net/url
text/template/parse
# text/template/parse
duplicate 00000 (<autogenerated>:72)    GLOBL   go.typelink.*"".StringNode(SB), $4
compile: symbol go.typelink.*"".StringNode listed multiple times
go/constant
go/format
go/types
# go/types
duplicate 00000 (/mnt/sda2/Development/go/src/go/types/api.go:1)        GLOBL  go.typelink.*"".operand(SB), $4
compile: symbol go.typelink.*"".operand listed multiple times
text/scanner
hash/crc64
hash/fnv
html
image/color
image
image/color/palette
image/internal/imageutil
image/draw
image/gif
image/jpeg
image/png
index/suffixarray
internal/syscall/windows/sysdll
runtime/debug
runtime/pprof
runtime/trace
testing
internal/testenv
internal/trace
math/cmplx
net/internal/socktest
os/signal
runtime/race
testing/iotest
testing/quick
cmd/internal/obj/arm
cmd/internal/obj/arm64
cmd/internal/obj/mips
cmd/internal/obj/ppc64
cmd/internal/obj/s390x
cmd/internal/obj/x86
cmd/asm/internal/arch
cmd/asm/internal/flags
cmd/asm/internal/lex
cmd/asm/internal/asm
cmd/internal/bio
cmd/asm
cmd/compile/internal/big
cmd/compile/internal/ssa
cmd/internal/gcprog
cmd/compile/internal/gc
cmd/compile/internal/amd64
cmd/compile/internal/arm
cmd/compile/internal/arm64
cmd/compile/internal/mips64
cmd/compile/internal/ppc64
cmd/compile/internal/s390x
cmd/compile/internal/x86
cmd/compile
cmd/compile/internal/test
cmd/dist
cmd/fix
cmd/gofmt
cmd/internal/pprof/profile
cmd/internal/pprof/plugin
cmd/internal/pprof/svg
cmd/internal/pprof/tempfile
cmd/internal/pprof/symbolizer
cmd/internal/pprof/symbolz
cmd/pack
cmd/vet/internal/cfg
cmd/vet/internal/whitelist
cmd/yacc
[root@DNS-323]# cd ../bin
[root@DNS-323]# ls
gofmt

Dave Cheney

unread,
Oct 19, 2016, 10:49:54 PM10/19/16
to kost...@gmail.com, golang-dev

Compilation failed. This could be a compiler bug or it could be a problem in your environment. You will need at least 512mb of ram (others disagree with this value, and believe it can be lower with the addition of swap).

For the most pleasant experience I recommend you cross compile your application from another machine,

env GOOS=linux GOARCH=arm GOARM=5 go build -o yourprogram import/path/of/your/program


--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Константин Смирнов

unread,
Oct 20, 2016, 3:14:38 AM10/20/16
to golang-dev, kost...@gmail.com
Dave Cheney, thanks for so prompt reply!

I install Debian x64 on VmWare on PC.
I download go1.7.3.linux-amd64.tar.gz and unpack in folder /usr/localgo1.4.linux-amd64.tar.gz - in /root/go1.4 and go1.7.3.src.tar.gz - in /root/Development
Launched compilation (with GOOS=linux GOARCH=arm GOARM=5) and received the following errors.
The bin folder wasn't even created.
And, at first, it was for some reason compiled for Linux/amd64, and compilation for Linux/arm began only then.

log:
root@debianVM:~/Development/go/src# env GOOS=linux GOARCH=arm GOARM=5 ./all.bash

##### Building Go bootstrap tool.
cmd/dist ##### Building Go toolchain using /root/go1.4.
bootstrap/link ##### Building go_bootstrap for host, linux/amd64.
runtime/internal/sys
runtime/internal/atomic
runtime

encoding
errors
internal/race
internal/syscall/windows/sysdll
math
sort
sync/atomic
unicode
unicode/utf16
unicode/utf8
sync
container/heap
internal/singleflight
io
syscall
bytes
hash
strings
hash/adler32
bufio
path
strconv
internal/syscall/windows
internal/syscall/windows/registry
time
reflect
encoding/base64
crypto
regexp/syntax
crypto/sha1
os
regexp
os/signal
path/filepath
io/ioutil
encoding/binary
fmt
context
flag
go/token
log
net/url
text/template/parse
compress/flate
encoding/json
debug/dwarf
os/exec
go/scanner
go/ast
compress/zlib
text/template
debug/macho
debug/elf
go/parser
go/doc
go/build
cmd/go
runtime (linux/arm) ##### Building packages and commands for host, linux/amd64.
compress/flate
hash
hash/adler32
compress/zlib
debug/elf
debug/gosym
debug/macho
debug/pe

debug/plan9obj
cmd/vendor/golang.org/x/arch/arm/armasm
cmd/vendor/golang.org/x/arch/x86/x86asm
regexp/syntax
regexp
text/tabwriter
cmd/internal/objfile
cmd/addr2line
cmd/cgo
runtime/cgo
net
crypto/x509
crypto/tls

database/sql/driver
database/sql
encoding
encoding/ascii85
encoding/base32
encoding/csv
encoding/gob
unicode/utf16
encoding/json
encoding/xml
vendor/golang_org/x/net/http2/hpack
vendor/golang_org/x/net/lex/httplex
mime
mime/quotedprintable
net/textproto
mime/multipart
net/http/httptrace
net/http/internal
net/url
net/http
expvar
text/template/parse
text/template
go/doc
go/build
go/constant
go/format
go/types
text/scanner
go/internal/gccgoimporter
go/internal/gcimporter
go/importer
hash/crc64
hash/fnv
html
html/template

image/color
image
image/color/palette
image/internal/imageutil
image/draw
image/gif
image/jpeg
image/png
index/suffixarray
internal/syscall/windows/sysdll
runtime/debug
runtime/pprof
runtime/trace
testing
internal/testenv
internal/trace
log/syslog
math/cmplx
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/http/pprof
net/internal/socktest
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
os/signal
os/user
cmd/cover
cmd/dist
cmd/doc
cmd/fix
cmd/go
cmd/gofmt
cmd/internal/pprof/profile
cmd/internal/pprof/plugin
cmd/internal/pprof/report
cmd/internal/pprof/svg
cmd/internal/pprof/tempfile
cmd/internal/pprof/commands
cmd/internal/pprof/driver
cmd/internal/pprof/fetch
cmd/internal/pprof/symbolizer
cmd/internal/pprof/symbolz
cmd/link/internal/ld
cmd/link/internal/amd64
cmd/link/internal/arm
cmd/link/internal/arm64
cmd/link/internal/mips64
cmd/link/internal/ppc64
cmd/link/internal/s390x
cmd/link/internal/x86
cmd/link
cmd/nm
cmd/objdump
cmd/pack
cmd/pprof
cmd/trace
cmd/vet/internal/cfg
cmd/vet/internal/whitelist
cmd/vet
cmd/yacc ##### Building packages and commands for linux/arm.
compress/flate
hash
hash/adler32
compress/zlib
debug/elf
debug/gosym
debug/macho
debug/pe

debug/plan9obj
cmd/vendor/golang.org/x/arch/arm/armasm
cmd/vendor/golang.org/x/arch/x86/x86asm
regexp/syntax
regexp
text/tabwriter
cmd/internal/objfile
cmd/addr2line
net
crypto/x509
crypto/tls

database/sql/driver
database/sql
encoding
encoding/ascii85
encoding/base32
encoding/csv
encoding/gob
unicode/utf16
encoding/json
encoding/xml
vendor/golang_org/x/net/http2/hpack
vendor/golang_org/x/net/lex/httplex
mime
mime/quotedprintable
net/textproto
mime/multipart
net/http/httptrace
net/http/internal
net/url
net/http
expvar
go/token
go/scanner
go/ast
text/template/parse
text/template
go/doc
go/parser
go/build
go/constant
go/printer
go/format
go/types
os/exec
text/scanner
go/internal/gccgoimporter
go/internal/gcimporter
go/importer
hash/crc64
hash/fnv
html
html/template

image/color
image
image/color/palette
image/internal/imageutil
image/draw
image/gif
image/jpeg
image/png
index/suffixarray
internal/syscall/windows/sysdll
runtime/debug
runtime/pprof
runtime/trace
testing
internal/testenv
internal/trace
log/syslog
math/cmplx
net/http/cgi
net/http/cookiejar
net/http/fcgi
net/http/httptest
net/http/httputil
net/http/pprof
net/internal/socktest
net/mail
net/rpc
net/rpc/jsonrpc
net/smtp
os/signal
os/user

runtime/race
testing/iotest
testing/quick
cmd/internal/obj/arm
cmd/internal/obj/arm64
cmd/internal/obj/mips
cmd/internal/obj/ppc64
cmd/internal/obj/s390x
cmd/internal/obj/x86
cmd/asm/internal/arch
cmd/asm/internal/flags
cmd/asm/internal/lex
cmd/asm/internal/asm
cmd/internal/bio
cmd/asm
cmd/cgo

cmd/compile/internal/big
cmd/compile/internal/ssa
cmd/internal/gcprog
cmd/compile/internal/gc
cmd/compile/internal/amd64
cmd/compile/internal/arm
cmd/compile/internal/arm64
cmd/compile/internal/mips64
cmd/compile/internal/ppc64
cmd/compile/internal/s390x
cmd/compile/internal/x86
cmd/compile
cmd/compile/internal/test
cmd/cover
cmd/dist
cmd/doc
cmd/fix
cmd/go
cmd/gofmt
cmd/internal/pprof/profile
cmd/internal/pprof/plugin
cmd/internal/pprof/report
cmd/internal/pprof/svg
cmd/internal/pprof/tempfile
cmd/internal/pprof/commands
cmd/internal/pprof/driver
cmd/internal/pprof/fetch
cmd/internal/pprof/symbolizer
cmd/internal/pprof/symbolz
cmd/link/internal/ld
cmd/link/internal/amd64
cmd/link/internal/arm
cmd/link/internal/arm64
cmd/link/internal/mips64
cmd/link/internal/ppc64
cmd/link/internal/s390x
cmd/link/internal/x86
cmd/link
cmd/nm
cmd/objdump
cmd/pack
cmd/pprof
cmd/trace
cmd/vet/internal/cfg
cmd/vet/internal/whitelist
cmd/vet
cmd/yacc ##### Testing packages.
fork/exec /tmp/go-build248497182/archive/tar/_test/tar.test: exec format error
FAIL archive/tar 0.029s
fork/exec /tmp/go-build248497182/archive/zip/_test/zip.test: exec format error
FAIL archive/zip 0.016s
fork/exec /tmp/go-build248497182/bufio/_test/bufio.test: exec format error
FAIL bufio 0.016s
fork/exec /tmp/go-build248497182/bytes/_test/bytes.test: exec format error
FAIL bytes 0.016s
fork/exec /tmp/go-build248497182/compress/bzip2/_test/bzip2.test: exec format error
FAIL compress/bzip2 0.016s
fork/exec /tmp/go-build248497182/compress/flate/_test/flate.test: exec format error
FAIL compress/flate 0.016s
fork/exec /tmp/go-build248497182/compress/gzip/_test/gzip.test: exec format error
FAIL compress/gzip 0.016s
fork/exec /tmp/go-build248497182/compress/lzw/_test/lzw.test: exec format error
FAIL compress/lzw 0.018s
fork/exec /tmp/go-build248497182/compress/zlib/_test/zlib.test: exec format error
FAIL compress/zlib 0.016s
fork/exec /tmp/go-build248497182/container/heap/_test/heap.test: exec format error
FAIL container/heap 0.016s
fork/exec /tmp/go-build248497182/container/list/_test/list.test: exec format error
FAIL container/list 0.016s
fork/exec /tmp/go-build248497182/container/ring/_test/ring.test: exec format error
FAIL container/ring 0.016s
fork/exec /tmp/go-build248497182/context/_test/context.test: exec format error
FAIL context 0.016s
fork/exec /tmp/go-build248497182/crypto/aes/_test/aes.test: exec format error
FAIL crypto/aes 0.016s
fork/exec /tmp/go-build248497182/crypto/cipher/_test/cipher.test: exec format error
FAIL crypto/cipher 0.016s
fork/exec /tmp/go-build248497182/crypto/des/_test/des.test: exec format error
FAIL crypto/des 0.016s
fork/exec /tmp/go-build248497182/crypto/dsa/_test/dsa.test: exec format error
FAIL crypto/dsa 0.016s
fork/exec /tmp/go-build248497182/crypto/ecdsa/_test/ecdsa.test: exec format error
FAIL crypto/ecdsa 0.016s
fork/exec /tmp/go-build248497182/crypto/elliptic/_test/elliptic.test: exec format error
FAIL crypto/elliptic 0.017s
fork/exec /tmp/go-build248497182/crypto/hmac/_test/hmac.test: exec format error
FAIL crypto/hmac 0.016s
fork/exec /tmp/go-build248497182/crypto/md5/_test/md5.test: exec format error
FAIL crypto/md5 0.016s
fork/exec /tmp/go-build248497182/crypto/rand/_test/rand.test: exec format error
FAIL crypto/rand 0.016s
fork/exec /tmp/go-build248497182/crypto/rc4/_test/rc4.test: exec format error
FAIL crypto/rc4 0.016s
fork/exec /tmp/go-build248497182/crypto/rsa/_test/rsa.test: exec format error
FAIL crypto/rsa 0.016s
fork/exec /tmp/go-build248497182/crypto/sha1/_test/sha1.test: exec format error
FAIL crypto/sha1 0.020s
fork/exec /tmp/go-build248497182/crypto/sha256/_test/sha256.test: exec format error
FAIL crypto/sha256 0.016s
fork/exec /tmp/go-build248497182/crypto/sha512/_test/sha512.test: exec format error
FAIL crypto/sha512 0.016s
fork/exec /tmp/go-build248497182/crypto/subtle/_test/subtle.test: exec format error
FAIL crypto/subtle 0.016s
fork/exec /tmp/go-build248497182/crypto/tls/_test/tls.test: exec format error
FAIL crypto/tls 0.016s
fork/exec /tmp/go-build248497182/crypto/x509/_test/x509.test: exec format error
FAIL crypto/x509 0.016s
fork/exec /tmp/go-build248497182/database/sql/_test/sql.test: exec format error
FAIL database/sql 0.016s
fork/exec /tmp/go-build248497182/database/sql/driver/_test/driver.test: exec format error
FAIL database/sql/driver 0.016s
fork/exec /tmp/go-build248497182/debug/dwarf/_test/dwarf.test: exec format error
FAIL debug/dwarf 0.017s
fork/exec /tmp/go-build248497182/debug/elf/_test/elf.test: exec format error
FAIL debug/elf 0.016s
fork/exec /tmp/go-build248497182/debug/gosym/_test/gosym.test: exec format error
FAIL debug/gosym 0.016s
fork/exec /tmp/go-build248497182/debug/macho/_test/macho.test: exec format error
FAIL debug/macho 0.016s
fork/exec /tmp/go-build248497182/debug/pe/_test/pe.test: exec format error
FAIL debug/pe 0.016s
fork/exec /tmp/go-build248497182/debug/plan9obj/_test/plan9obj.test: exec format error
FAIL debug/plan9obj 0.016s
fork/exec /tmp/go-build248497182/encoding/ascii85/_test/ascii85.test: exec format error
FAIL encoding/ascii85 0.016s
fork/exec /tmp/go-build248497182/encoding/asn1/_test/asn1.test: exec format error
FAIL encoding/asn1 0.017s
fork/exec /tmp/go-build248497182/encoding/base32/_test/base32.test: exec format error
FAIL encoding/base32 0.016s
fork/exec /tmp/go-build248497182/encoding/base64/_test/base64.test: exec format error
FAIL encoding/base64 0.016s
fork/exec /tmp/go-build248497182/encoding/binary/_test/binary.test: exec format error
FAIL encoding/binary 0.016s
fork/exec /tmp/go-build248497182/encoding/csv/_test/csv.test: exec format error
FAIL encoding/csv 0.016s
fork/exec /tmp/go-build248497182/encoding/gob/_test/gob.test: exec format error
FAIL encoding/gob 0.016s
fork/exec /tmp/go-build248497182/encoding/hex/_test/hex.test: exec format error
FAIL encoding/hex 0.015s
fork/exec /tmp/go-build248497182/encoding/json/_test/json.test: exec format error
FAIL encoding/json 0.017s
fork/exec /tmp/go-build248497182/encoding/pem/_test/pem.test: exec format error
FAIL encoding/pem 0.016s
fork/exec /tmp/go-build248497182/encoding/xml/_test/xml.test: exec format error
FAIL encoding/xml 0.016s
fork/exec /tmp/go-build248497182/errors/_test/errors.test: exec format error
FAIL errors 0.015s
fork/exec /tmp/go-build248497182/expvar/_test/expvar.test: exec format error
FAIL expvar 0.016s
fork/exec /tmp/go-build248497182/flag/_test/flag.test: exec format error
FAIL flag 0.016s
fork/exec /tmp/go-build248497182/fmt/_test/fmt.test: exec format error
FAIL fmt 0.017s
fork/exec /tmp/go-build248497182/go/ast/_test/ast.test: exec format error
FAIL go/ast 0.016s
fork/exec /tmp/go-build248497182/go/build/_test/build.test: exec format error
FAIL go/build 0.016s
fork/exec /tmp/go-build248497182/go/constant/_test/constant.test: exec format error
FAIL go/constant 0.016s
fork/exec /tmp/go-build248497182/go/doc/_test/doc.test: exec format error
FAIL go/doc 0.016s
fork/exec /tmp/go-build248497182/go/format/_test/format.test: exec format error
FAIL go/format 0.016s
fork/exec /tmp/go-build248497182/go/internal/gccgoimporter/_test/gccgoimporter.test: exec format error
FAIL go/internal/gccgoimporter 0.020s
fork/exec /tmp/go-build248497182/go/internal/gcimporter/_test/gcimporter.test: exec format error
FAIL go/internal/gcimporter 0.018s
fork/exec /tmp/go-build248497182/go/parser/_test/parser.test: exec format error
FAIL go/parser 0.016s
fork/exec /tmp/go-build248497182/go/printer/_test/printer.test: exec format error
FAIL go/printer 0.016s
fork/exec /tmp/go-build248497182/go/scanner/_test/scanner.test: exec format error
FAIL go/scanner 0.016s
fork/exec /tmp/go-build248497182/go/token/_test/token.test: exec format error
FAIL go/token 0.016s
fork/exec /tmp/go-build248497182/go/types/_test/types.test: exec format error
FAIL go/types 0.019s
fork/exec /tmp/go-build248497182/hash/adler32/_test/adler32.test: exec format error
FAIL hash/adler32 0.017s
fork/exec /tmp/go-build248497182/hash/crc32/_test/crc32.test: exec format error
FAIL hash/crc32 0.020s
fork/exec /tmp/go-build248497182/hash/crc64/_test/crc64.test: exec format error
FAIL hash/crc64 0.019s
fork/exec /tmp/go-build248497182/hash/fnv/_test/fnv.test: exec format error
FAIL hash/fnv 0.016s
fork/exec /tmp/go-build248497182/html/_test/html.test: exec format error
FAIL html 0.019s
fork/exec /tmp/go-build248497182/html/template/_test/template.test: exec format error
FAIL html/template 0.016s
fork/exec /tmp/go-build248497182/image/_test/image.test: exec format error
FAIL image 0.024s
fork/exec /tmp/go-build248497182/image/color/_test/color.test: exec format error
FAIL image/color 0.017s
fork/exec /tmp/go-build248497182/image/draw/_test/draw.test: exec format error
FAIL image/draw 0.016s
fork/exec /tmp/go-build248497182/image/gif/_test/gif.test: exec format error
FAIL image/gif 0.016s
fork/exec /tmp/go-build248497182/image/jpeg/_test/jpeg.test: exec format error
FAIL image/jpeg 0.016s
fork/exec /tmp/go-build248497182/image/png/_test/png.test: exec format error
FAIL image/png 0.016s
fork/exec /tmp/go-build248497182/index/suffixarray/_test/suffixarray.test: exec format error
FAIL index/suffixarray 0.016s
fork/exec /tmp/go-build248497182/internal/singleflight/_test/singleflight.test: exec format error
FAIL internal/singleflight 0.016s
fork/exec /tmp/go-build248497182/internal/trace/_test/trace.test: exec format error
FAIL internal/trace 0.024s
fork/exec /tmp/go-build248497182/io/_test/io.test: exec format error
FAIL io 0.015s
fork/exec /tmp/go-build248497182/io/ioutil/_test/ioutil.test: exec format error
FAIL io/ioutil 0.016s
fork/exec /tmp/go-build248497182/log/_test/log.test: exec format error
FAIL log 0.018s
fork/exec /tmp/go-build248497182/log/syslog/_test/syslog.test: exec format error
FAIL log/syslog 0.016s
fork/exec /tmp/go-build248497182/math/_test/math.test: exec format error
FAIL math 0.016s
fork/exec /tmp/go-build248497182/math/big/_test/big.test: exec format error
FAIL math/big 0.032s
fork/exec /tmp/go-build248497182/math/cmplx/_test/cmplx.test: exec format error
FAIL math/cmplx 0.018s
fork/exec /tmp/go-build248497182/math/rand/_test/rand.test: exec format error
FAIL math/rand 0.018s
fork/exec /tmp/go-build248497182/mime/_test/mime.test: exec format error
FAIL mime 0.016s
fork/exec /tmp/go-build248497182/mime/multipart/_test/multipart.test: exec format error
FAIL mime/multipart 0.016s
fork/exec /tmp/go-build248497182/mime/quotedprintable/_test/quotedprintable.test: exec format error
FAIL mime/quotedprintable 0.018s
fork/exec /tmp/go-build248497182/net/_test/net.test: exec format error
FAIL net 0.017s
fork/exec /tmp/go-build248497182/net/http/_test/http.test: exec format error
FAIL net/http 0.017s
fork/exec /tmp/go-build248497182/net/http/cgi/_test/cgi.test: exec format error
FAIL net/http/cgi 0.017s
fork/exec /tmp/go-build248497182/net/http/cookiejar/_test/cookiejar.test: exec format error
FAIL net/http/cookiejar 0.017s
fork/exec /tmp/go-build248497182/net/http/fcgi/_test/fcgi.test: exec format error
FAIL net/http/fcgi 0.019s
fork/exec /tmp/go-build248497182/net/http/httptest/_test/httptest.test: exec format error
FAIL net/http/httptest 0.016s
fork/exec /tmp/go-build248497182/net/http/httptrace/_test/httptrace.test: exec format error
FAIL net/http/httptrace 0.016s
fork/exec /tmp/go-build248497182/net/http/httputil/_test/httputil.test: exec format error
FAIL net/http/httputil 0.036s
fork/exec /tmp/go-build248497182/net/http/internal/_test/internal.test: exec format error
FAIL net/http/internal 0.016s
fork/exec /tmp/go-build248497182/net/internal/socktest/_test/socktest.test: exec format error
FAIL net/internal/socktest 0.018s
fork/exec /tmp/go-build248497182/net/mail/_test/mail.test: exec format error
FAIL net/mail 0.017s
fork/exec /tmp/go-build248497182/net/rpc/_test/rpc.test: exec format error
FAIL net/rpc 0.018s
fork/exec /tmp/go-build248497182/net/rpc/jsonrpc/_test/jsonrpc.test: exec format error
FAIL net/rpc/jsonrpc 0.016s
fork/exec /tmp/go-build248497182/net/smtp/_test/smtp.test: exec format error
FAIL net/smtp 0.016s
fork/exec /tmp/go-build248497182/net/textproto/_test/textproto.test: exec format error
FAIL net/textproto 0.018s
fork/exec /tmp/go-build248497182/net/url/_test/url.test: exec format error
FAIL net/url 0.016s
fork/exec /tmp/go-build248497182/os/_test/os.test: exec format error
FAIL os 0.017s
fork/exec /tmp/go-build248497182/os/exec/_test/exec.test: exec format error
FAIL os/exec 0.020s
fork/exec /tmp/go-build248497182/os/signal/_test/signal.test: exec format error
FAIL os/signal 0.016s
fork/exec /tmp/go-build248497182/os/user/_test/user.test: exec format error
FAIL os/user 0.016s
fork/exec /tmp/go-build248497182/path/_test/path.test: exec format error
FAIL path 0.019s
fork/exec /tmp/go-build248497182/path/filepath/_test/filepath.test: exec format error
FAIL path/filepath 0.019s
fork/exec /tmp/go-build248497182/reflect/_test/reflect.test: exec format error
FAIL reflect 0.018s
fork/exec /tmp/go-build248497182/regexp/_test/regexp.test: exec format error
FAIL regexp 0.016s
fork/exec /tmp/go-build248497182/regexp/syntax/_test/syntax.test: exec format error
FAIL regexp/syntax 0.016s
fork/exec /tmp/go-build248497182/runtime/_test/runtime.test: exec format error
FAIL runtime 0.016s
fork/exec /tmp/go-build248497182/runtime/debug/_test/debug.test: exec format error
FAIL runtime/debug 0.016s
fork/exec /tmp/go-build248497182/runtime/internal/atomic/_test/atomic.test: exec format error
FAIL runtime/internal/atomic 0.016s
fork/exec /tmp/go-build248497182/runtime/internal/sys/_test/sys.test: exec format error
FAIL runtime/internal/sys 0.016s
fork/exec /tmp/go-build248497182/runtime/pprof/_test/pprof.test: exec format error
FAIL runtime/pprof 0.016s
fork/exec /tmp/go-build248497182/runtime/trace/_test/trace.test: exec format error
FAIL runtime/trace 0.016s
fork/exec /tmp/go-build248497182/sort/_test/sort.test: exec format error
FAIL sort 0.017s
fork/exec /tmp/go-build248497182/strconv/_test/strconv.test: exec format error
FAIL strconv 0.016s
fork/exec /tmp/go-build248497182/strings/_test/strings.test: exec format error
FAIL strings 0.016s
fork/exec /tmp/go-build248497182/sync/_test/sync.test: exec format error
FAIL sync 0.016s
fork/exec /tmp/go-build248497182/sync/atomic/_test/atomic.test: exec format error
FAIL sync/atomic 0.016s
fork/exec /tmp/go-build248497182/syscall/_test/syscall.test: exec format error
FAIL syscall 0.016s
fork/exec /tmp/go-build248497182/testing/_test/testing.test: exec format error
FAIL testing 0.016s
fork/exec /tmp/go-build248497182/testing/quick/_test/quick.test: exec format error
FAIL testing/quick 0.016s
fork/exec /tmp/go-build248497182/text/scanner/_test/scanner.test: exec format error
FAIL text/scanner 0.016s
fork/exec /tmp/go-build248497182/text/tabwriter/_test/tabwriter.test: exec format error
FAIL text/tabwriter 0.016s
fork/exec /tmp/go-build248497182/text/template/_test/template.test: exec format error
FAIL text/template 0.016s
fork/exec /tmp/go-build248497182/text/template/parse/_test/parse.test: exec format error
FAIL text/template/parse 0.018s
fork/exec /tmp/go-build248497182/time/_test/time.test: exec format error
FAIL time 0.016s
fork/exec /tmp/go-build248497182/unicode/_test/unicode.test: exec format error
FAIL unicode 0.017s
fork/exec /tmp/go-build248497182/unicode/utf16/_test/utf16.test: exec format error
FAIL unicode/utf16 0.016s
fork/exec /tmp/go-build248497182/unicode/utf8/_test/utf8.test: exec format error
FAIL unicode/utf8 0.016s
fork/exec /tmp/go-build248497182/vendor/golang_org/x/net/http2/hpack/_test/hpack.test: exec format error
FAIL vendor/golang_org/x/net/http2/hpack 0.016s
fork/exec /tmp/go-build248497182/vendor/golang_org/x/net/lex/httplex/_test/httplex.test: exec format error
FAIL vendor/golang_org/x/net/lex/httplex 0.016s
fork/exec /tmp/go-build248497182/cmd/addr2line/_test/addr2line.test: exec format error
FAIL cmd/addr2line 0.016s
fork/exec /tmp/go-build248497182/cmd/asm/internal/asm/_test/asm.test: exec format error
FAIL cmd/asm/internal/asm 0.018s
fork/exec /tmp/go-build248497182/cmd/asm/internal/lex/_test/lex.test: exec format error
FAIL cmd/asm/internal/lex 0.016s
fork/exec /tmp/go-build248497182/cmd/compile/internal/big/_test/big.test: exec format error
FAIL cmd/compile/internal/big 0.028s
fork/exec /tmp/go-build248497182/cmd/compile/internal/gc/_test/gc.test: exec format error
FAIL cmd/compile/internal/gc 0.022s
fork/exec /tmp/go-build248497182/cmd/compile/internal/ssa/_test/ssa.test: exec format error
FAIL cmd/compile/internal/ssa 0.016s
fork/exec /tmp/go-build248497182/cmd/compile/internal/test/_test/test.test: exec format error
FAIL cmd/compile/internal/test 0.016s
fork/exec /tmp/go-build248497182/cmd/cover/_test/cover.test: exec format error
FAIL cmd/cover 0.015s
fork/exec /tmp/go-build248497182/cmd/doc/_test/doc.test: exec format error
FAIL cmd/doc 0.016s
fork/exec /tmp/go-build248497182/cmd/fix/_test/fix.test: exec format error
FAIL cmd/fix 0.016s
fork/exec /tmp/go-build248497182/cmd/go/_test/go.test: exec format error
FAIL cmd/go 0.016s
fork/exec /tmp/go-build248497182/cmd/gofmt/_test/gofmt.test: exec format error
FAIL cmd/gofmt 0.016s
fork/exec /tmp/go-build248497182/cmd/internal/goobj/_test/goobj.test: exec format error
FAIL cmd/internal/goobj 0.016s
fork/exec /tmp/go-build248497182/cmd/internal/obj/_test/obj.test: exec format error
FAIL cmd/internal/obj 0.016s
fork/exec /tmp/go-build248497182/cmd/internal/obj/x86/_test/x86.test: exec format error
FAIL cmd/internal/obj/x86 0.016s
fork/exec /tmp/go-build248497182/cmd/internal/pprof/profile/_test/profile.test: exec format error
FAIL cmd/internal/pprof/profile 0.016s
fork/exec /tmp/go-build248497182/cmd/link/_test/link.test: exec format error
FAIL cmd/link 0.016s
fork/exec /tmp/go-build248497182/cmd/nm/_test/nm.test: exec format error
FAIL cmd/nm 0.015s
fork/exec /tmp/go-build248497182/cmd/objdump/_test/objdump.test: exec format error
FAIL cmd/objdump 0.016s
fork/exec /tmp/go-build248497182/cmd/pack/_test/pack.test: exec format error
FAIL cmd/pack 0.016s
fork/exec /tmp/go-build248497182/cmd/vendor/golang.org/x/arch/arm/armasm/_test/armasm.test: exec format error
FAIL cmd/vendor/golang.org/x/arch/arm/armasm 0.016s
fork/exec /tmp/go-build248497182/cmd/vendor/golang.org/x/arch/x86/x86asm/_test/x86asm.test: exec format error
FAIL cmd/vendor/golang.org/x/arch/x86/x86asm 0.017s
fork/exec /tmp/go-build248497182/cmd/vet/_test/vet.test: exec format error
FAIL cmd/vet 0.016s
fork/exec /tmp/go-build248497182/cmd/vet/internal/cfg/_test/cfg.test: exec format error
FAIL cmd/vet/internal/cfg 0.016s
2016/10/20 09:50:48 Failed: exit status 1
root@debianVM:~/Development/go/src#



четверг, 20 октября 2016 г., 5:49:54 UTC+3 пользователь Dave Cheney написал:

Dave Cheney

unread,
Oct 20, 2016, 3:20:43 AM10/20/16
to Константин Смирнов, golang-dev

You are doing too much work. Follow exactly the instructions I gave in my first message and you will be able to cross compile a binary to run on your arm5 system.

Константин Смирнов

unread,
Oct 20, 2016, 4:02:57 AM10/20/16
to golang-dev, kost...@gmail.com
I understood, thanks! It really works. The compiler launched on the working computer from Windows x64, I compile for ARMv5 and I flood on a samba directly on DNS-323 device.
Many thanks!

четверг, 20 октября 2016 г., 10:20:43 UTC+3 пользователь Dave Cheney написал:
Reply all
Reply to author
Forward
0 new messages