Skip to content

Instantly share code, notes, and snippets.

@akehoyayoi
Last active December 20, 2016 04:50
Show Gist options
  • Save akehoyayoi/9b9e948b3418516eb63419d54ceb0159 to your computer and use it in GitHub Desktop.
Save akehoyayoi/9b9e948b3418516eb63419d54ceb0159 to your computer and use it in GitHub Desktop.
gvmでv1.4がinstallできない時の対処方法 ref: http://qiita.com/akehoyayoi@github/items/1046fb0290c976b7ad0d
gvm install go1.4
gvm use go1.4
gvm install go1.5
# Building C bootstrap tool.
cmd/dist
# Building compilers and Go bootstrap tool for host, darwin/amd64.
lib9
libbio
liblink
cmd/cc
cmd/gc
cmd/6l
cmd/6a
cmd/6c
~/.gvm/gos/go1.4/src/cmd/6c/txt.c:995:28: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
~/.gvm/gos/go1.4/src/cmd/6c/txt.c:1045:28: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]
go tool dist: FAILED: clang -Wall -Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces -Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment -Wno-missing-field-initializers -Werror -fno-common -ggdb -pipe -Wuninitialized -O2 -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -mmacosx-version-min=10.6 -c -m64 -I ~/.gvm/gos/go1.4/include -I ~/.gvm/gos/go1.4/src/cmd/6c -o ~/.gvm/gos/go1.4/pkg/obj/cmd/6c/txt.o ~/.gvm/gos/go1.4/src/cmd/6c/txt.c
gvm install go1.4 -B
gvm use go1.4
gvm install go1.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment