Hi,

I have problems with building Go toolchain (Go1.4.3) on my older 
OpenBSD/386 machine. Any idea how to make this works?

Thanks.

Henry

 

Here is the build output:


# ./make.bash                                        
> # Building C bootstrap tool.
> cmd/dist
>
> # Building compilers and Go bootstrap tool for host, openbsd/386.
> lib9
> libbio
> liblink
> cmd/cc
> cmd/gc
> cmd/8l
> /var/tmp/go-cbuild-zPiKbU/dwarf.o: In function `defptrto':
> /home/henry/Downloads/go/src/cmd/8l/../ld/dwarf.c:1108: warning: warning: 
> strcpy() is almost always misused, please use strlcpy()
> /home/henry/Downloads/go/pkg/obj/openbsd_386/liblink.a(list8.o): In 
> function `Dconv':
> /home/henry/Downloads/go/src/liblink/list8.c:208: warning: warning: 
> strcat() is almost always misused, please use strlcat()
> cmd/8a
> /var/tmp/go-cbuild-zPiKbU/lex.o: In function `macexpand':
> /home/henry/Downloads/go/src/cmd/8a/../cc/macbody:399: warning: warning: 
> strcpy() is almost always misused, please use strlcpy()
> /var/tmp/go-cbuild-zPiKbU/lex.o: In function `macinc':
> /home/henry/Downloads/go/src/cmd/8a/../cc/macbody:580: warning: warning: 
> strcat() is almost always misused, please use strlcat()
> cmd/8c
> /home/henry/Downloads/go/pkg/obj/openbsd_386/libcc.a(lex.o): In function 
> `slookup':
> /home/henry/Downloads/go/src/cmd/cc/lex.c:426: warning: warning: strcpy() 
> is almost always misused, please use strlcpy()
> /home/henry/Downloads/go/pkg/obj/openbsd_386/libcc.a(lex.o): In function 
> `Bconv':
> /home/henry/Downloads/go/src/cmd/cc/lex.c:1529: warning: warning: strcat() 
> is almost always misused, please use strlcat()
> cmd/8g
> /var/tmp/go-cbuild-zPiKbU/gobj.o: In function `dgostringptr':
> /home/henry/Downloads/go/src/cmd/8g/gobj.c:214: warning: warning: strcpy() 
> is almost always misused, please use strlcpy()
> /home/henry/Downloads/go/pkg/obj/openbsd_386/libgc.a(lex.o): In function 
> `_yylex':
> /home/henry/Downloads/go/src/cmd/gc/lex.c:1431: warning: warning: strcat() 
> is almost always misused, please use strlcat()
> runtime
> errors
> sync/atomic
> sync
> io
> unicode
> unicode/utf8
> unicode/utf16
> bytes
> math
> strings
> strconv
> bufio
> sort
> container/heap
> encoding/base64
> syscall
> time
> os
> reflect
> fmt
> encoding
> encoding/json
> flag
> path/filepath
> path
> io/ioutil
> log
> regexp/syntax
> regexp
> go/token
> go/scanner
> go/ast
> go/parser
> os/exec
> os/signal
> net/url
> text/template/parse
> text/template
> go/doc
> go/build
> cmd/go
>
> # Building packages and commands for openbsd/386.
> runtime
> ./make.bash: line 174: 99548 Illegal instruction     (core dumped) 
> CC=$CC_FOR_TARGET "$GOTOOLDIR"/go_bootstrap install $GO_FLAGS -ccflags 
> "$GO_CCFLAGS" -gcflags "$GO_GCFLAGS" -ldflags "$GO_LDFLAGS" -v std
> # 
>
>

-- 
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.

Reply via email to