{"action":"created","issue":{"url":"https://api.github.com/repos/moovweb/gvm/issues/217","repository_url":"https://api.github.com/repos/moovweb/gvm","labels_url":"https://api.github.com/repos/moovweb/gvm/issues/217/labels{/name}","comments_url":"https://api.github.com/repos/moovweb/gvm/issues/217/comments","events_url":"https://api.github.com/repos/moovweb/gvm/issues/217/events","html_url":"https://github.com/moovweb/gvm/issues/217","id":172324102,"number":217,"title":"go1.4 compile error in Mac OS 10.11","user":{"login":"mcandre","id":5316,"avatar_url":"https://avatars.githubusercontent.com/u/5316?v=3","gravatar_id":"","url":"https://api.github.com/users/mcandre","html_url":"https://github.com/mcandre","followers_url":"https://api.github.com/users/mcandre/followers","following_url":"https://api.github.com/users/mcandre/following{/other_user}","gists_url":"https://api.github.com/users/mcandre/gists{/gist_id}","starred_url":"https://api.github.com/users/mcandre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcandre/subscriptions","organizations_url":"https://api.github.com/users/mcandre/orgs","repos_url":"https://api.github.com/users/mcandre/repos","events_url":"https://api.github.com/users/mcandre/events{/privacy}","received_events_url":"https://api.github.com/users/mcandre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-21T14:40:18Z","updated_at":"2016-09-17T19:23:15Z","closed_at":null,"body":"When I try to install Go 1.4 via gvm, I get a compile error.\r\n\r\n# Trace\r\n\r\n```\r\n$ gvm install go1.4\r\nInstalling go1.4...\r\n * Compiling...\r\nERROR: Failed to compile. Check the logs at /Users/andrew/.gvm/logs/go-go1.4-compile.log\r\nERROR: Failed to use installed version\r\n\r\n$ cat /Users/andrew/.gvm/logs/go-go1.4-compile.log\r\n# Building C bootstrap tool.\r\ncmd/dist\r\n\r\n# Building compilers and Go bootstrap tool for host, darwin/amd64.\r\nlib9\r\nlibbio\r\nliblink\r\ncmd/cc\r\ncmd/gc\r\ncmd/6l\r\ncmd/6a\r\ncmd/6c\r\n/Users/andrew/.gvm/gos/go1.4/src/cmd/6c/txt.c:995:28: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]\r\n/Users/andrew/.gvm/gos/go1.4/src/cmd/6c/txt.c:1045:28: error: shifting a negative signed value is undefined [-Werror,-Wshift-negative-value]\r\ngo 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 /Users/andrew/.gvm/gos/go1.4/include -I /Users/andrew/.gvm/gos/go1.4/src/cmd/6c -o /Users/andrew/.gvm/gos/go1.4/pkg/obj/cmd/6c/txt.o /Users/andrew/.gvm/gos/go1.4/src/cmd/6c/txt.c\r\n```\r\n\r\n# System\r\n\r\n```\r\n$ gvm version\r\nGo Version Manager v1.0.22 installed at /Users/andrew/.gvm\r\n\r\n$ clang --version\r\nApple LLVM version 7.3.0 (clang-703.0.31)\r\nTarget: x86_64-apple-darwin15.6.0\r\nThread model: posix\r\nInstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin\r\n\r\n$ system_profiler SPSoftwareDataType | grep 'System Version'\r\n      System Version: OS X 10.11.6 (15G31)\r\n```\r\n\r\n# Workaround\r\n\r\n```\r\n$ gvm install go1.4 --binary\r\n```"},"comment":{"url":"https://api.github.com/repos/moovweb/gvm/issues/comments/247800360","html_url":"https://github.com/moovweb/gvm/issues/217#issuecomment-247800360","issue_url":"https://api.github.com/repos/moovweb/gvm/issues/217","id":247800360,"user":{"login":"mcandre","id":5316,"avatar_url":"https://avatars.githubusercontent.com/u/5316?v=3","gravatar_id":"","url":"https://api.github.com/users/mcandre","html_url":"https://github.com/mcandre","followers_url":"https://api.github.com/users/mcandre/followers","following_url":"https://api.github.com/users/mcandre/following{/other_user}","gists_url":"https://api.github.com/users/mcandre/gists{/gist_id}","starred_url":"https://api.github.com/users/mcandre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcandre/subscriptions","organizations_url":"https://api.github.com/users/mcandre/orgs","repos_url":"https://api.github.com/users/mcandre/repos","events_url":"https://api.github.com/users/mcandre/events{/privacy}","received_events_url":"https://api.github.com/users/mcandre/received_events","type":"User","site_admin":false},"created_at":"2016-09-17T19:23:15Z","updated_at":"2016-09-17T19:23:15Z","body":"@mindworker Yep, the binary option works around the issue on my machine."}}
{"actor":{"display_login":"mcandre"}}