by odysseus9672:
What does 'go version' print?
The last version I successfully built:
go version devel +1a0714819799 Thu Mar 06 00:09:09 2014 +1100 darwin/amd64
What steps reproduce the problem?
If possible, include a link to a program on play.golang.org.
cd /usr/local/go/src
hg pull
hg update default
./all.bash
What happened?
# Building compilers and Go bootstrap tool for host, darwin/amd64.
lib9
cc1: warnings being treated as errors
cc1: warning: -Wuninitialized is not supported without -O
cc1: warnings being treated as errors
cc1: warning: -Wuninitialized is not supported without -O
cc1: warnings being treated as errors
cc1: warning: -Wuninitialized is not supported without -O
go tool dist: FAILED: cc -I/usr/local/scisoft/include/ -Wall -Wstrict-prototypes -Wextra
-Wunused -Wuninitialized -Wno-sign-compare -Wno-missing-braces -Wno-parentheses
-Wno-unknown-pragmas -Wno-switch -Wno-comment -Wno-missing-field-initializers -Werror
-fno-common -ggdb -pipe -fmessage-length=0 -mmacosx-version-min=10.6 -c -m64 -I
/usr/local/go/include -DPLAN9PORT -I /usr/local/go/src/lib9 -o
/usr/local/go/pkg/obj/lib9/atoi.o /usr/local/go/src/lib9/atoi.c
What should have happened instead?
The Go distribution should have built.
Please provide any additional information below.
xcodebuild -version
Xcode 3.2.6
Component versions: DevToolsCore-1809.0; DevToolsSupport-1806.0
BuildVersion: 10M2518
by odysseus9672: