1.4.2源码编译时输出以下错误,哪位知道原因吗?
```
#Building C bootstrap tool.
cmd/dist
#Building compilers and Go bootstrap tool for host, linux/amd64.
lib9
cc1: error: unrecognized command line option "-Wno-missing-field-initializers"
cc1: error: unrecognized command line option "-Wno-missing-field-initializers"
cc1: error: unrecognized command line option "-Wno-missing-field-initializers"
cc1: error: unrecognized command line option "-Wno-missing-field-initializers"
go tool dist: FAILED: gcc -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 -fmessage-length=0 -c -m64 -I /home/users/heliuxing/go/include -DPLAN9PORT -I /home/users/heliuxing/go/src/lib9 -o $WORK/_exits.o /home/users/heliuxing/go/src/lib9/_exits.c
go tool dist: FAILED: gcc -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 -fmessage-length=0 -c -m64 -I /home/users/heliuxing/go/include -DPLAN9PORT -I /home/users/heliuxing/go/src/lib9 -o $WORK/_p9dir.o /home/users/heliuxing/go/src/lib9/_p9dir.c
go tool dist: FAILED: gcc -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 -fmessage-length=0 -c -m64 -I /home/users/heliuxing/go/include -DPLAN9PORT -I /home/users/heliuxing/go/src/lib9 -o $WORK/atoi.o /home/users/heliuxing/go/src/lib9/atoi.c
go tool dist: FAILED: gcc -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 -fmessage-length=0 -c -m64 -I /home/users/heliuxing/go/include -DPLAN9PORT -I /home/users/heliuxing/go/src/lib9 -o $WORK/await.o /home/users/heliuxing/go/src/lib9/await.c
```
你 Linux 版本是多少?
要求:Linux 2.6.23 or later with glibc, CentOS/RHEL 5.x not supported
#1
更多评论
Linux version 2.6.32_1-15-0-0 (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Fri Sep 19 15:37:59 CST 2014
#2