{"action":"created","issue":{"url":"https://api.github.com/repos/laher/goxc/issues/56","labels_url":"https://api.github.com/repos/laher/goxc/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/laher/goxc/issues/56/comments","events_url":"https://api.github.com/repos/laher/goxc/issues/56/events","html_url":"https://github.com/laher/goxc/issues/56","id":52876266,"number":56,"title":"go build runtime: windows/386 must be bootstrapped using make.bat","user":{"login":"jingweno","id":169064,"avatar_url":"https://avatars.githubusercontent.com/u/169064?v=3","gravatar_id":"","url":"https://api.github.com/users/jingweno","html_url":"https://github.com/jingweno","followers_url":"https://api.github.com/users/jingweno/followers","following_url":"https://api.github.com/users/jingweno/following{/other_user}","gists_url":"https://api.github.com/users/jingweno/gists{/gist_id}","starred_url":"https://api.github.com/users/jingweno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jingweno/subscriptions","organizations_url":"https://api.github.com/users/jingweno/orgs","repos_url":"https://api.github.com/users/jingweno/repos","events_url":"https://api.github.com/users/jingweno/events{/privacy}","received_events_url":"https://api.github.com/users/jingweno/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-26T01:21:03Z","updated_at":"2015-01-02T21:01:02Z","closed_at":null,"body":"I'm getting issues like below when trying to build 32 bit and 64 bit binaries on a 64 bit Windows:\r\n\r\n```\r\nStderr: go build runtime: windows/386 must be bootstrapped using make.bat\r\n```\r\n\r\nI'm on Go 1.4."},"comment":{"url":"https://api.github.com/repos/laher/goxc/issues/comments/68561893","html_url":"https://github.com/laher/goxc/issues/56#issuecomment-68561893","issue_url":"https://api.github.com/repos/laher/goxc/issues/56","id":68561893,"user":{"login":"jingweno","id":169064,"avatar_url":"https://avatars.githubusercontent.com/u/169064?v=3","gravatar_id":"","url":"https://api.github.com/users/jingweno","html_url":"https://github.com/jingweno","followers_url":"https://api.github.com/users/jingweno/followers","following_url":"https://api.github.com/users/jingweno/following{/other_user}","gists_url":"https://api.github.com/users/jingweno/gists{/gist_id}","starred_url":"https://api.github.com/users/jingweno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jingweno/subscriptions","organizations_url":"https://api.github.com/users/jingweno/orgs","repos_url":"https://api.github.com/users/jingweno/repos","events_url":"https://api.github.com/users/jingweno/events{/privacy}","received_events_url":"https://api.github.com/users/jingweno/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T21:01:02Z","updated_at":"2015-01-02T21:01:02Z","body":"I'm getting the same compilation error on a windows/386 VM \r\n\r\n```\r\nInstalled Go for windows/386 in C:\\Users\\IEUser\\go\r\nInstalled commands in C:\\Users\\IEUser\\go\\bin\r\n# Building C bootstrap tool.\r\ncmd/dist\r\n\r\n# Building compilers and Go bootstrap tool.\r\nlib9\r\nlibbio\r\nliblink\r\nmisc/pprof\r\ncmd/cc\r\ncmd/gc\r\ncmd/8l\r\ncmd/6l\r\nIn file included from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:32:0,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\dwarf.c:15:\r\nC:\\Users\\IEUser\\go\\include/libc.h:313:8: error: redefinition of 'struct timespec'\r\n struct timespec {\r\n        ^\r\nIn file included from c:\\mingw\\include\\unistd.h:95:0,\r\n                 from C:\\Users\\IEUser\\go\\include/u.h:62,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:31,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\dwarf.c:15:\r\nc:\\mingw\\include\\parts\\time.h:65:8: note: originally defined here\r\n struct timespec\r\n        ^\r\nIn file included from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:32:0,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\dwarf.c:15:\r\nC:\\Users\\IEUser\\go\\include/libc.h:321:12: error: conflicting types for 'nanosleep'\r\n extern int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);\r\n            ^\r\nIn file included from C:\\Users\\IEUser\\go\\include/u.h:62:0,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:31,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\dwarf.c:15:\r\nc:\\mingw\\include\\unistd.h:109:5: note: previous definition of 'nanosleep' was here\r\n int nanosleep( const struct timespec *period, struct timespec *residual )\r\n     ^\r\nIn file included from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:32:0,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\decodesym.c:5:\r\nC:\\Users\\IEUser\\go\\include/libc.h:313:8: error: redefinition of 'struct timespec'\r\n struct timespec {\r\n        ^\r\nIn file included from c:\\mingw\\include\\unistd.h:95:0,\r\n                 from C:\\Users\\IEUser\\go\\include/u.h:62,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:31,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\decodesym.c:5:\r\nc:\\mingw\\include\\parts\\time.h:65:8: note: originally defined here\r\n struct timespec\r\n        ^\r\nIn file included from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:32:0,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\decodesym.c:5:\r\nC:\\Users\\IEUser\\go\\include/libc.h:321:12: error: conflicting types for 'nanosleep'\r\n extern int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);\r\n            ^\r\nIn file included from C:\\Users\\IEUser\\go\\include/u.h:62:0,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:31,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\decodesym.c:5:\r\nc:\\mingw\\include\\unistd.h:109:5: note: previous definition of 'nanosleep' was here\r\n int nanosleep( const struct timespec *period, struct timespec *residual )\r\n     ^\r\nIn file included from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:32:0,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\data.c:33:\r\nC:\\Users\\IEUser\\go\\include/libc.h:313:8: error: redefinition of 'struct timespec'\r\n struct timespec {\r\n        ^\r\nIn file included from c:\\mingw\\include\\unistd.h:95:0,\r\n                 from C:\\Users\\IEUser\\go\\include/u.h:62,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:31,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\data.c:33:\r\nc:\\mingw\\include\\parts\\time.h:65:8: note: originally defined here\r\n struct timespec\r\n        ^\r\ngo tool dist: FAILED: gcc -Wall -Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces -Wno-parenthe\r\nses -Wno-unknown-pragmas -Wno-switch -Wno-comment -Wno-missing-field-initializers -Werror -fno-common -ggdb -pipe -Wunin\r\nitialized -O2 -fmessage-length=0 -c -m32 -I C:\\Users\\IEUser\\go\\include -I C:\\Users\\IEUser\\go\\src\\cmd\\6l -o C:\\Users\\IEUs\r\ner\\AppData\\Local\\Temp\\go4CB4.tmp\\decodesym.o C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\decodesym.c\r\nIn file included from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:32:0,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\data.c:33:\r\nC:\\Users\\IEUser\\go\\include/libc.h:321:12: error: conflicting types for 'nanosleep'\r\n extern int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);\r\n            ^\r\nIn file included from C:\\Users\\IEUser\\go\\include/u.h:62:0,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:31,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\data.c:33:\r\nc:\\mingw\\include\\unistd.h:109:5: note: previous definition of 'nanosleep' was here\r\n int nanosleep( const struct timespec *period, struct timespec *residual )\r\n     ^\r\nIn file included from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:32:0,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\elf.c:5:\r\nC:\\Users\\IEUser\\go\\include/libc.h:313:8: error: redefinition of 'struct timespec'\r\n struct timespec {\r\n        ^\r\nIn file included from c:\\mingw\\include\\unistd.h:95:0,\r\n                 from C:\\Users\\IEUser\\go\\include/u.h:62,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:31,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\elf.c:5:\r\nc:\\mingw\\include\\parts\\time.h:65:8: note: originally defined here\r\n struct timespec\r\n        ^\r\nIn file included from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:32:0,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\elf.c:5:\r\nC:\\Users\\IEUser\\go\\include/libc.h:321:12: error: conflicting types for 'nanosleep'\r\n extern int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);\r\n            ^\r\nIn file included from C:\\Users\\IEUser\\go\\include/u.h:62:0,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l/l.h:31,\r\n                 from C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\elf.c:5:\r\nc:\\mingw\\include\\unistd.h:109:5: note: previous definition of 'nanosleep' was here\r\n int nanosleep( const struct timespec *period, struct timespec *residual )\r\n     ^\r\ngo tool dist: FAILED: gcc -Wall -Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces -Wno-parenthe\r\nses -Wno-unknown-pragmas -Wno-switch -Wno-comment -Wno-missing-field-initializers -Werror -fno-common -ggdb -pipe -Wunin\r\nitialized -O2 -fmessage-length=0 -c -m32 -I C:\\Users\\IEUser\\go\\include -I C:\\Users\\IEUser\\go\\src\\cmd\\6l -o C:\\Users\\IEUs\r\ner\\AppData\\Local\\Temp\\go4CB4.tmp\\dwarf.o C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\dwarf.c\r\ngo tool dist: FAILED: gcc -Wall -Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces -Wno-parenthe\r\nses -Wno-unknown-pragmas -Wno-switch -Wno-comment -Wno-missing-field-initializers -Werror -fno-common -ggdb -pipe -Wunin\r\nitialized -O2 -fmessage-length=0 -c -m32 -I C:\\Users\\IEUser\\go\\include -I C:\\Users\\IEUser\\go\\src\\cmd\\6l -o C:\\Users\\IEUs\r\ner\\AppData\\Local\\Temp\\go4CB4.tmp\\data.o C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\data.c\r\ngo tool dist: FAILED: gcc -Wall -Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces -Wno-parenthe\r\nses -Wno-unknown-pragmas -Wno-switch -Wno-comment -Wno-missing-field-initializers -Werror -fno-common -ggdb -pipe -Wunin\r\nitialized -O2 -fmessage-length=0 -c -m32 -I C:\\Users\\IEUser\\go\\include -I C:\\Users\\IEUser\\go\\src\\cmd\\6l -o C:\\Users\\IEUs\r\ner\\AppData\\Local\\Temp\\go4CB4.tmp\\elf.o C:\\Users\\IEUser\\go\\src\\cmd\\6l\\..\\ld\\elf.c\r\n[goxc:toolchain] 2015/01/02 12:59:36 Task toolchain succeeded\r\n```"}}