Bootstrap is now ok, but lang/go fails. Full log below, but the
core of it is here:

##### Building packages and commands for openbsd/386.
runtime/internal/sys
./make.bash: line 166: 13151 Illegal instruction     (core dumped) 
CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags 
"$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std cmd


There's not much to be had from pointing gdb at the core,

warning: Unexpected size of section `.reg2/31987' in core file.
Core was generated by `go_bootstrap'.
Program terminated with signal SIGILL, Illegal instruction.

warning: Unexpected size of section `.reg2/31987' in core file.
#0  runtime.sigtramp () at /usr/local/go/src/runtime/sys_openbsd_386.s:224
224     /usr/local/go/src/runtime/sys_openbsd_386.s: No such file or directory.

...

>>> Building on localhost under lang/go
         BDEPENDS = [shells/bash;lang/go-bootstrap]
         DIST = [lang/go:go1.6.src.tar.gz]
         FULLPKGNAME = go-1.6p0
(Junk lock obtained for localhost at 1463131428)
>>> Running depends in lang/go at 1463131428
   last junk was in lang/php/5.5
/usr/sbin/pkg_add -aI -Dunsigned -Drepair bash-4.3.42p0 go-bootstrap-1.4.3p1
was: /usr/sbin/pkg_add -aI -Dunsigned -Drepair bash-4.3.42p0 
go-bootstrap-1.4.3p1
/usr/sbin/pkg_add -aI -Dunsigned -Drepair bash-4.3.42p0 go-bootstrap-1.4.3p1
>>> Running show-prepare-results in lang/go at 1463131436
===> lang/go
===> go-1.6p0 depends on: go-bootstrap-* -> go-bootstrap-1.4.3p1
===> go-1.6p0 depends on: bash-* -> bash-4.3.42p0
===>  Verifying specs:  c m pthread
===>  found c.87.0 m.9.0 pthread.22.0
bash-4.3.42p0
go-bootstrap-1.4.3p1
(Junk lock released for localhost at 1463131436)
distfiles size=12613308
>>> Running patch in lang/go at 1463131436
===> lang/go
===>  Checking files for go-1.6p0
`/usr/ports/distfiles/go1.6.src.tar.gz' is up to date.
>> (SHA256) go1.6.src.tar.gz: OK
===>  Extracting for go-1.6p0
===>  Patching for go-1.6p0
>>> Running configure in lang/go at 1463131438
===> lang/go
===>  Configuring for go-1.6p0
>>> Running build in lang/go at 1463131438
===> lang/go
===>  Building for go-1.6p0
##### Building Go bootstrap tool.
cmd/dist

##### Building Go toolchain using /usr/local/go/bootstrap.
bootstrap/internal/obj
bootstrap/asm/internal/flags
bootstrap/compile/internal/big
bootstrap/internal/obj/arm
bootstrap/internal/obj/arm64
bootstrap/internal/obj/mips
bootstrap/internal/obj/ppc64
bootstrap/internal/obj/x86
bootstrap/asm/internal/lex
bootstrap/asm/internal/arch
bootstrap/internal/gcprog
bootstrap/compile/internal/gc
bootstrap/asm/internal/asm
bootstrap/asm
bootstrap/link/internal/ld
bootstrap/link/internal/amd64
bootstrap/link/internal/arm
bootstrap/link/internal/arm64
bootstrap/link/internal/mips64
bootstrap/link/internal/ppc64
bootstrap/link/internal/x86
bootstrap/link
bootstrap/compile/internal/amd64
bootstrap/compile/internal/arm
bootstrap/compile/internal/arm64
bootstrap/compile/internal/mips64
bootstrap/compile/internal/ppc64
bootstrap/compile/internal/x86
bootstrap/compile

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

##### Building packages and commands for openbsd/386.
runtime/internal/sys
./make.bash: line 166: 13151 Illegal instruction     (core dumped) 
CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -gcflags 
"$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std cmd
*** Error 132 in lang/go (Makefile:63 'do-build': @cd 
/usr/obj/ports/go-1.6/go/src &&  CC="cc"  CXX="c++"  
GOROOT=/usr/obj/ports/go-1.6/go  ...)
*** Error 1 in lang/go (/usr/ports/infrastructure/mk/bsd.port.mk:2668 
'/usr/obj/ports/go-1.6/build-i386/.build_done')
*** Error 1 in lang/go (/usr/ports/infrastructure/mk/bsd.port.mk:2394 'build')
===> Exiting lang/go with an error
*** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:147 'build')
Error: job failed 256

Reply via email to