Fixed
Created: Jun 2, 2016
Updated: Feb 11, 2019
Resolved Date: Jul 23, 2017
Found In Version: 7.0.0.16
Fix Version: 7.0.0.26
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace
log-
------
DEBUG: Executing shell function do_compile
# Building C bootstrap tool.
cmd/dist
# Building compilers and Go bootstrap tool for host, linux/amd64.
lib9
libbio
liblink
misc/pprof
cmd/cc
cmd/gc
cmd/6l
cmd/6a
cmd/6c
cmd/6g
pkg/runtime
pkg/errors
pkg/sync/atomic
pkg/sync
pkg/io
pkg/unicode
pkg/unicode/utf8
pkg/unicode/utf16
pkg/bytes
pkg/math
pkg/strings
pkg/strconv
pkg/bufio
pkg/sort
pkg/container/heap
pkg/encoding/base64
pkg/syscall
pkg/time
pkg/os
pkg/reflect
pkg/fmt
pkg/encoding
pkg/encoding/json
pkg/flag
pkg/path/filepath
pkg/path
pkg/io/ioutil
pkg/log
pkg/regexp/syntax
pkg/regexp
pkg/go/token
pkg/go/scanner
pkg/go/ast
pkg/go/parser
pkg/os/exec
pkg/os/signal
pkg/net/url
pkg/text/template/parse
pkg/text/template
pkg/go/doc
pkg/go/build
cmd/go
# Building packages and commands for linux/amd64.
runtime
errors
sync/atomic
unicode
unicode/utf8
math
sort
encoding
unicode/utf16
container/list
crypto/subtle
container/ring
image/color
runtime/race
sync
image/color/palette
container/heap
io
syscall
hash
crypto/cipher
hash/crc32
crypto/hmac
hash/adler32
hash/crc64
hash/fnv
bytes
strings
bufio
text/tabwriter
path
html
time
compress/bzip2
strconv
math/rand
math/cmplx
reflect
crypto
encoding/base64
regexp/syntax
net/url
crypto/aes
crypto/rc4
encoding/ascii85
encoding/base32
image
crypto/md5
crypto/sha1
crypto/sha256
crypto/sha512
os
encoding/pem
image/draw
image/jpeg
path/filepath
os/signal
regexp
io/ioutil
os/exec
encoding/binary
fmt
crypto/des
index/suffixarray
debug/dwarf
debug/gosym
debug/plan9obj
flag
log
go/token
encoding/json
encoding/xml
text/template/parse
compress/flate
math/big
encoding/hex
mime
runtime/pprof
archive/tar
compress/lzw
database/sql/driver
encoding/csv
encoding/gob
runtime/debug
text/scanner
cmd/pack
testing/iotest
go/scanner
image/gif
database/sql
testing/quick
testing
go/ast
compress/gzip
archive/zip
compress/zlib
image/png
debug/elf
debug/macho
debug/pe
text/template
crypto/elliptic
crypto/rand
crypto/dsa
encoding/asn1
crypto/rsa
cmd/addr2line
cmd/nm
cmd/objdump
crypto/ecdsa
crypto/x509/pkix
go/parser
go/printer
go/doc
html/template
cmd/cgo
go/format
cmd/gofmt
cmd/fix
cmd/yacc
go/build
runtime/cgo
# runtime/cgo
/wrlinux/70/builds/build-opv/bitbake_build/tmp/sysroots/x86_64-linux/toolchain-sdk/sysroots/x86_64-windriversdk-linux/usr/bin/x86_64-windriver-linux/../../libexec/x86_64-windriver-linux/gcc/x86_64-windriver-linux/4.9.1/ld: cannot find crtbegin.o: No such file or directory
collect2: error: ld returned 1 exit status
WARNING: /wrlinux/70/builds/build-opv/bitbake_build/tmp/work/x86_64-wrs-linux/go-cross-1.3-x86_64/1.3-r0/temp/do_compile/run.do_compile.15753:1 exit 2 from
./make.bash
ERROR: Function failed: do_compile (log file is located at /wrlinux/70/builds/build-opv/bitbake_build/tmp/work/x86_64-wrs-linux/go-cross-1.3-x86_64/1.3-r0/temp/do_compile/log.do_compile.15753)
------
build with below commands-
$ configure --enable-board=intel-x86-64 --enable-kernel=ovp --enable-rootfs=ovp-ovirt-engine --enable-addons=wr-ovp,wr-ovp-ovirt --enable-internet-download=yes --enable-jobs=8 --enable-parallel-pkgbuilds=8
$ make -C build go-cross-1.3-x86_64